InsertRecord for Cases without a matching Contact ID
Hi there,
I will be inserting/updating Cases that are linked to a Contact.
However sometimes I will insert Cases where the Contact is actually new.
In the current WebForm, if a Case's email does not match a contact, then a new Contact is created, otherwise it is linked to the matching Contact.
I'd like to mimic that functionality with the API.
So as it is now, if I include the ContactID with the Cases insert it will link them.
Can you recommend the best way to also create a new contact?
Can I simply include Name, Email etc in the Case insert? Will Zoho automagically create the new contact?
Or will I be required to do an API insert for the contact, grab the ID, then insert the case (which is a pain!)
Thank you,
David