... within ZohoBooks, we know this is just 1 bill record, still...
for each r_Bill in bills
{
v_BillID = r_Bill.get("bill_id");
}
//
// send attachment request
r_Attachment = invokeurl
[
url: "https://www.zohoapis.com/books/v3/bills/" ...
... ---------------------- QUOTE LINE ITEMS ----------------------
// line items get via api v2.1 or greater
l_BooksLineItems = List();
r_CrmProductLineItems = invokeurl
[
url :"https://www.zohoapis.eu/crm/v2.1/Quotes/ ...
What?
This is a not-so-quick article that queries an eBay order and creates the relevant ZohoInventory item, contact, sales order, package slip, shipment order, invoice, payment records...
Why? ...
... invokeurl (note the Zoho endpoint here will depend on your datacenter; .com / .eu)
r_Coql = invokeurl
[
url :"https://www.zohoapis.eu/crm/v2/coql"
type :POST
parameters:m_Params.toString()
...
... Another REST API CRM function which generates an eBay Access Token for me
r_Response = getUrl("https://www.zohoapis.eu/crm/v2/functions/fn_ebay_getaccesstoken/actions/execute?auth_type=apikey&zapikey=1003.");
if(!isnull(r_Response.toMap().get("details")))
{
if(!isnull(r_Response.toMap().get("details").get("output")))
{
v_AccessToke ...
... = r_Timezone.get("zoneName");
//
// get all the fields on the Lead module
v_Endpoint = "https://www.zohoapis.com/crm/v2/settings/fields?module=Leads";
r_Response = invokeurl
[
url :v_Endpoint
typ ...
What?
A quick article to demonstrate code that creates a task in CRM based on the time logged against an Event/Meeting.
Why?
As developers, we're keep account of our time and we are currently ...
... snippet is a separate function to run (standalone) and will return to you the templates and the field references:
r_Templates = invokeUrl
[
url: "https://zohoapis.com/writer/api/v1/templates"
...
... set the param name to file (this is important)
r_CreatorPhoto.setParamName("file");
//
// upload the photo to CRM (and prevent workflows from running)
v_Endpoint2 = "https://www.zohoapis.com/crm/v2/Products/" ...
... list to stop or prevent these from triggering.
m_Data.put("trigger",[]);
//
// send via REST API v2.1 on EU datacenter
r_CreateCrmQuote = invokeurl
[
url :"https://www.zohoapis.eu/crm/v2.1/Quotes"
type ...
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.