I want to import accounts and contacts and link them directly in one API-call.
from my old CRM I get a collection of all accounts and contacts. The relation in my old CRM works with GUID and I know that ZOHO has another way for linking between this two tables.
Actually, I split my collection in two different Zoho record lists an then I insert the 1st list for Accounts and the 2nd list for Contacts with 2 API calls., but I don‘t know how to link them in a correct way.
I understood, that I have to set Contacts.ACCOUNT_NAME with the right ID from Accounts list, but I don‘t know the ids at that point and I don‘t how to get them back from zoho.
And I don‘t know the right syntax for record.AddFieldValue(Contacts.ACCOUNT_NAME, <T>) How to declare T ?
Searching docs and Kb I got no resultat to figure out it. So I would like to get a code example.
Thx for your assistance.
BR
Michael