Create CounterParty Zoho Contract Sample Code
Hello Sample Code Create a CounterParty
- userlist = List();
- usermap = Map();
- usermap.put("displayName", "Piyush Goyal");
- usermap.put("emailId", "piyushgoyal@yopmail.com");
- usermap.put("jobTitle","test");
- usermap.put("phoneNumber","8955484428");
- userlist.add(usermap);
- mp = Map();
- mp.put("name", "Piyush Goyal Test API 2");
- mp.put("city", "Alwar");
- mp.put("country", "IN");
- mp.put("state", "RJ");
- mp.put("buildingNumber","");
- mp.put("address", "Bhartpur");
- mp.put("zipCode", "321606");
- mp.put("website", "");
- mp.put("counterPartyType", "customer");
- mp.put("users",userlist);
- CounterPartyDataCreate = invokeurl
- [
- url: "https://contracts.zoho.com/api/v1/counterparties"
- type: POST
- parameters: mp.toString()
- connection: "zohocontract"
- ];
- info CounterPartyDataCreate ;
if you have any Queries Please post the comment we are here for the Strong Bond on Zoho Community and help for Zoho Development.
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837