I am trying to insert a lead but I get this error:
Unable to process your request. Kindly verify whether you have entered proper method name,parameter and parameter values
This is my Perl code:
my $xmlData = q(
<Leads>
<row no="1"><FL val="SMOWNERID">2000000016714</FL></row>
<FL val="Lead Owner">Scott</FL>
<FL val="Company">XSoft</FL>
<FL val="First Name">Peter</FL>
<FL val="Last Name">John</FL>
</Leads>
);
my $resp = (POST 'http://crm.zoho.com/crm/private/xml/Leads/insertRecords', [
'ticket' => $ticket,
'apikey' => $apikey,
'xmlData' => $xmlData,
'wfTrigger' => 'false',
'duplicateCheck' => 'false',
'isApproval' => 'false',
'newFormat' => 1
]);
my $response_to_discard = $browser->request($resp);
I also created a HTML form with the data hard coded and submitted it that way with the same result.
Any help would be appreciated, thanks!