Google apps script and Zoho API

Google apps script and Zoho API

Hello,
i want create a leads with Google apps Script and my code make ERROR 4600 (problem with XmlData), but i don't know why ? could you help me thanks

  1. function test() {
  2. var url = 'https://crm.zoho.com/crm/private/json/Leads/insertRecords';
  3. var xmlData = '<Leads><row no="1"><FL val="Company">Your Company</FL><FL val="First Name">Hannah</FL><FL val="Last Name">Smith</FL><FL val="Email">testing@testing.com</FL></row></Leads>';
  4. var options =
  5.   {
  6.      'authtoken' : 'aaaa',
  7.      'scope' : 'crmapi',
  8.      'newFormat' : '1',
  9.      'xmlData' : xmlData
  10.   }
  11. var result=UrlFetchApp.fetch(url,options);

  12. var output = Utilities.jsonParse(result.getContentText());
  13. Logger.log(output);
  14. }