Background
I deliver files to my clients via Workdrive external share links.
I create the folder, add the files, create the external share link, then add the link to the invoice in Zoho Books.
I am in the process of simplifying this process with the following steps:
1. (COMPLETE) Create the share folder from CRM Deal Detail view via a button, and store the folder link in the associated deal.
2. (IN PROCESS) Create the external share link for the created Workdrive folder from the CRM Deal Detail View via a button, and store the link in the associated deal.
3. (PENDING #2) Push the share link to Zoho books for the associated invoice.
I cannot find any reference for these parameters to get them setup.
With the expiration date , I am getting a data type mis-match, and for the request user data, I do not know what the syntax or anything should be.
Can anyone give me a reference or point me in the right direction?
Here is how I have my parameter map that is functional for now with the user data set to false for now, and the input fields and expiration date commented out.
//Parameters Map
externalLinkMap = Map();
externalLinkMap.put("resource_id",WorkDriveFolderID);
externalLinkMap.put("link_name",dealName);
externalLinkMap.put("request_user_data",false);
//externalLinkMap.put("input_fields", name, email);
externalLinkMap.put("allow_download",true);
//externalLinkMap.put("expiration_date": expire_date);
externalLinkMap.put("role_id","6");
attributesMap = {"attributes":externalLinkMap,"type":"links"};
dataMap = Map();
dataMap.put("data",attributesMap);
Your help is appreciated