insertRecords multiple records with duplicate check
Hi,
I have a problem on inserting many contact records using the API in one request. I would like to avoid email duplication so I specify duplicateCheck in the request.
- If I use duplicateCheck =1, then if in one of the contacts already exist in Zoho (A contact with the same email found in Zoho), it will stop the execution and throw error and Zoho does not process to the rest of list.
- If I use duplicateCheck=2, then the behavior is quite confusing. Based on my finding:
- if the first record does not exist in Zoho then it will insert ALL RECORDS in the request and ignoring duplicate check at all.
- if the first record already exists in Zoho then only first record is updated and the rest of contacts are not processed.
Does the insertRecords method actually support multiple record inserting with duplicate check?
I can solve it by inserting per-records but as there are thousands of records so I will exceed API request limit if I use per-record method.
Thank you.
Regards,
Nugroho