I am trying to call the InsertRecords API method on Accounts from a Creator Deluge script. I continue to get an 'internal exception error' when I test this function. Can anyone see what I am doing wrong?
Any help or pointing the right direction would be appreciated. Thnks
void test.testInsertSellerAsAccount()
{
insertURLstr = "crm.zoho.com/crm/private/xml/Accounts/insertRecords?apikey=" + thisapp.crm.getCRMAPIKey() + "&ticket=" + thisapp.crm.getCRMTicket() + "&newFormat=1";
info insertURLstr;
parameters = map();
xmlData = "<Accounts><row no=\"1\"><FL val=\"Account Name\">397 Lutz</FL></row></Accounts>";
parameters.put("xmlData", xmlData);
returnMap = postUrl(insertURLstr, parameters,false);
responsecode = returnMap.get("responseCode");
info responsecode;
responsetext = returnMap.get("responseText");
info responsetext;
}