Create CounterParty Zoho Contract Sample Code

Create CounterParty Zoho Contract Sample Code

Hello Sample Code Create a CounterParty

  1. userlist = List();
  2. usermap = Map();
  3. usermap.put("displayName", "Piyush Goyal");
  4. usermap.put("emailId", "piyushgoyal@yopmail.com");
  5. usermap.put("jobTitle","test");
  6. usermap.put("phoneNumber","8955484428");
  7. userlist.add(usermap);

  8. mp = Map();
  9. mp.put("name", "Piyush Goyal Test API 2");
  10. mp.put("city", "Alwar");
  11. mp.put("country", "IN");
  12. mp.put("state", "RJ");
  13. mp.put("buildingNumber","");
  14. mp.put("address", "Bhartpur");
  15. mp.put("zipCode", "321606");
  16. mp.put("website", "");
  17. mp.put("counterPartyType", "customer");
  18. mp.put("users",userlist);
  19. CounterPartyDataCreate = invokeurl
  20. [
  21. url: "https://contracts.zoho.com/api/v1/counterparties"
  22. type: POST
  23. parameters: mp.toString()
  24. connection: "zohocontract"
  25. ];
  26. 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

      • Sticky Posts

      • Adding signature fields in your contract template

        When you send a contract document for the signing process, you have to insert the signature fields into your contract document by dragging and dropping them for each signer. It won't be effort-intensive for contracts that have fewer pages or signers.
      • Contract creation for Accounts and Vendors in CRM integration

        One of the most sought feature requests in our Zoho CRM integration is the ability to request contracts for other modules such as Accounts and Vendors. Even though we have considered it on our priority list, we felt it would be helpful for our valuable
      • Mapping Billing Country Field to Your Contract Template Field

        In Zoho CRM, while configuring Counterparty Fields Mapping to map counterparty information in your contract type, the field 'Billing Country' doesn't have the support to be mapped due to field type mismatch. Because the Billing Country field in Zoho CRM
      • Bulk Import Counterparty Data

        Currently, as the feature to bulk import counterparty data is not available, here is a solution using our APIs that would be useful for our customers. For example, Zoho CRM customers can import their Accounts as counterparties in Zoho Contracts. Using