... "All Documents", and the file upload field is called "Document File":
//
// now upload updated file
v_Endpoint = "https://creator.zoho.com/api/v2.1"+zoho.appuri+"report/All_Documents/"+v_ZC_DocumentRecordID+"/Document_File/upload";
r_Upload ...
... comments/history) - also marks as sent
m_Params = Map();
// recipients is a list of emails unlike contact persons in invoice request
m_Params.put("to_mail_ids",l_ZB_InvoiceRecipients);
v_Endpoint ...
... get all active users in CRM
m_UserMapping = Map();
v_Endpoint = "https://www.zohoapis.eu/crm/v4/users?type=ActiveUsers";
r_Users = invokeurl
[
url :v_Endpoint
type :GET
connection:"zcrm"
];
l_UserUpdates ...
... as well as from the system as it contains bank details. You can skip this step if you're not bothered about storing this file on the system. Note that if you use the endpoint to delete the attachment ...
... = Map();
for each index v_AddressIndex1 in l_CrmBillingAddress
{
m_BooksBillingAddress.put(l_BooksAddress.get(v_AddressIndex1),r_QuoteDetails.get(l_CrmBillingAddress.get(v_AddressIndex1)));
}
v_EndpointBillin ...
... each r_Tax in r_Taxes.get("taxes")
{
m_Taxes.put(r_Tax.get("tax_percentage").toString(),r_Tax.get("tax_id"));
}
}
l_DebugMessages.add("ZB Taxes: " + m_Taxes);
//
// set chart of accounts to use
v_Endpoint ...
... 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()
...
... get access token (you will need your own function here as documented in my article
v_AccessToken = standalone.fn_eBay_GetAccessToken();
//
v_TradingAPIVersion = 967;
v_Endpoint = "https://api.ebay.com/ws/api.dll";
//
// ...
... at the moment, and the endpoint will depend on your datacenter (eg. COM or EU), and lastly the connection "joel_books" is my connection to ZohoBooks:
//
// declare ID of item in Zoho Inventory
v_InventoryId ...
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.