Creating a record in Zoho CRM with Zoho Creator's deluge script?
Hi,
I've a paid account at Zoho Creator registered with one email address and I service another account (different email address) with Zoho CRM (free edition).
I need to be able to create a record with my Zoho Creator in the other account's Zoho CRM.
I figured out that since I have two different accounts (one for Zoho Creator and the other for Zoho CRM), I can't just use the simple method where authentication is done by the account holder which would normally be the same for both accounts and instead I've to authenticate like a third party app. Right?
I generated an AUTHTOKEN in the ZOHO CRM account and used it in the method call from the Zoho Creator account using this code:
url = "https://crm.zoho.com/crm/private/xml/Leads/insertRecords?newFormat=1&authtoken=08c48dbc6b7d76a81738726838d53&scope=crmapi&xmlData=";
xmlData = map();
xmlData.put("Company", "AAAA");
xmlData.put("Last Name", "AAAA");
xmlData.put("Phone", "245345345");
xmlData.put("Email", "testing@test.cz");
response = postUrl(url, xmlData);
where I'm getting this error message:
"4600 Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter."
I'm stuck. Please could you point me the right direction and show me where the problem is?
Thank you in advance
-Peter