function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chuckdubdubchuckdubdub 

Associating a case with a contact record w/API

When we use the Web2case forms generated from SF, and when someone submits a case, the contact record for that case will be automatically associated with the contact record, presumably using the email address as a key.
 
However, if I use the API to insert a case, that doesn't happen.  Since the contact name field in the case record is a lookup data type, it isn't clear to me how to make that association. 
 
Any hints would be appreciated!
 
Thanks,
 
Chuck

Message Edited by chuckdubdub on 08-02-2006 10:54 AM

Tran ManTran Man
Retrieve the Contact record via Email if that is the key you are using.  Grab the contactid on that record and set it on the Case you are creating.