a group by to the query which works (tested with both the keyword 'distinct' and without it with no difference in the response): // // build up COQL query v_CoqlQuery = "select Currency from Quotes where Subject!='' group by Currency"; // // build up...
with ID=0) retrieving 250 per call and using since_id to not list the same one twice. It then outputs a JSON list as a response and the total record count: void API.fn_ShopifyQuery_GetActiveProducts() { m_Header = Map();...
Instead, it's turned into over an hour of figuring this out. So here's a working snippet of code: // test to get the JSON response format r_CallDetails = zoho.crm.getRecordById("Calls",123456789012345678); info r_CallDetails; // // system/application is...
This is an article to document how to use the searchRecords function in CRM and to sort the results response. Why? This is unclear and not always working as coded below since each system (CRM, Creator, Books) seems to interpret this sorting feature...
allow you to change the lead status back to \"" + v_LeadStatus + "\""); m_Output.put("status","error"); } } // // return response return m_Output; Click "Save" and Done! Yields: Additional Note(s): If the user's profile is blank, the rule will not apply...
v_TotalNumberOfPages = l_Pages.size(); // // declare variables to store order details in a JSON or ZohoDeluge Map format m_Response = Map(); l_JsonProducts = List(); // // start preparing CSV file to email for export v_ReportCSV =...
it r_CreateItem = zoho.inventory.createRecord("items",v_BooksOrgID,m_CreateBooksItem,"zinventory"); info "ITEM CREATE RESPONSE FOR " + v_ItemID; info r_CreateItem.get("message"); Error(s) Encountered items with opening stock cannot be deleted, set the...
]; info "------------"; // info "Send Invoice Request:"; // info m_Params; // info v_Endpoint; // info "Send Invoice Response:"; info r_SendInvoice; } // // no need to mark as sent as sending via the above will automatically do that in ZohoBooks. } } }...
// // create the task in CRM r_NewResp = zoho.crm.createRecord("Tasks",m_NewTask, m_Blank, "systemcrm"); // // output response of task creation from CRM info r_NewResp; Step 2: Setup workflow to escalate after 4 days: No code here necessary, this...
// build up request to send m_Header = Map(); m_Header.put("ZANALYTICS-ORGID",v_ZA_OrgID); m_Params = Map(); m_Params.put("responseFormat","json"); // note how criteria column is denoted by double-quotes and a value is by single-quotes....
How? The bit that stumped me was making a call to the Events endpoint as it would just come back with a blank response... The reason it was blank was due to my parameters; the key item to remember is that status is a mandatory field and it can either be...
// // Send the Zoho Sign Template with the pre-filled fields to the desired recipient/ recipients r_SignResponse = zoho.sign.createUsingTemplate(v_TemplateID,m_Parameters); // info r_SignResponse; // // get request and document IDs r_SignTemplate =...
enable an option to round via API with a 10th of a penny/cent or less. After creating or updating the invoice, add in the response line something like the following: //... UPDATE INVOICE r_UpdateBooksInvoice =...
r_DealDetails = ZDK.Apps.CRM.Functions.execute("fn_Deals_RetrievePipeline", {"p_DealID": v_ThisRecordID}); // Parse the response to retrieve just the pipeline value (returned string) var v_DealPipeline = r_DealDetails._details.output; // set all tabs to...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.