Insert Records API Samples | Online Help - Zoho CRM
Insert Records - Examples
Insert Subforms
Purpose
To insert a new record with subforms in a module
Request URL
https://www.zohoapis.com/crm/v2/Leads
Request Method
POST
Sample Request:
curl "https://www.zohoapis.com/crm/v2/Leads"
-H "Authorization: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52"
-d "@newaccount.json"
-X POST
Copy sample input
Sample Input:
Note:
To add multiple subforms, enter the input data in the following format:
{
“data”: [
{....
Subform_1:[
{sub_form_data},
],...
},
{....
Subform_2:[
{sub_form_data},
],...
}
]
}
- A maximum of 2000 subforms are allowed for each bulk operation.
Copy sample response
Sample Response:
Note:
If there are no JSON objects given within the subform attribute, that subform will be deleted.
Related Articles
Get Records API Samples | Online Help - Zoho CRM
Get Records - Examples The examples used in this section use REST API resources to retrieve, insert, update, and delete records, along with other record-related operations. Get Records from page 1 of the Leads module Purpose To get the list of ...
Using API Key - Serverless Functions
Introduction A severless function within your CRM can be invoked from any third-party application or within the CRM using a webhook. However, generally most of the webhooks do not support OAuth2, save for a few of them. In that case, you can execute ...
Update Records API Samples | Online Help - Zoho CRM
Update Records - Examples Update Leads Sample Request: curl "https://www.zohoapis.com/crm/v2/Leads" -X PUT -d "updatelead.json" -H "-H "Authorization: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52" Note: In the above request, @updatelead.json ...
Users API Samples | Online Help - Zoho CRM
Users APIs - Examples Use the Users APIs, to retrieve the basic information of your available CRM users. Get All users Purpose To retrieve the list of all users in your CRM Account. Request URL https://www.zohoapis.com/crm/v2/users?type=AllUsers ...
Zoho CRM API Help
The Version 1.0 of Zoho CRM APIs are in the End-of-Life period and will be deprecated on Dec 31, 2018. We recommend you to check out the new and better API 2.0. We provide a comprehensive suite of developer resources and web services and help you ...