Leads, Accounts, Contacts, Users API and JSON/JSONP
Leads, Accounts, Contacts, Users API and JSON/JSONP
Hi,
I used Urls like
https://crm.zoho.com/crm/private/json/Leads/getRecordById?authtoken=<MyToken>&scope=crmapi&id=<MyID>
and
https://crm.zoho.com/crm/private/json/Leads/getRecordById?authtoken=<MyToken>&scope=crmapi&id=<MyID>&callback=_
https://crm.zoho.com/crm/private/json/Users/getUsers?authtoken=<MyToken>&scope=crmapi&type=AllUsers
and
https://crm.zoho.com/crm/private/json/Users/getUsers?authtoken=<MyToken>&scope=crmapi&type=AllUsers&callback=_
In all cases I get a plain JSON object instead of JSONP which is fine but the content-type is set to application/jsonp.
Content-Type: application/jsonp;charset=utf-8
I would be fine with JSON or JSONP as long as the content-type is also set properly to either application/json or application/jsonp respectively.