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;
- }
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.