Invalid Value Passed in customer_name API
Hello,
I am trying to send data from zoho creator to zoho books, while doing that it throws me an error
{"code":4,"message":"Invalid value passed for Customer Name"}
This is the code:
- void BooksIntegration()
- {
- mapp = Map();
- mapp.put("contact_name","Bhavik");
- dataa = Map();
- dataa.put("data",mapp);
- head = Map();
- head.put("Authorization","Zoho-oauthtoken 1000.xxxx " );
- addRecords = invokeurl
- [
- url :"https://books.zoho.in/api/v3/contacts?organization_id=60002432254"
- type :POST
- parameters:dataa.tostring()
- headers:head
- ];
- info addRecords;
- }