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
RyanBiesRyanBies 

New Cases via PHP API, Contact Association

I'm not finding sufficient documentation on creating Cases with Contact ID. How do I specify the Contact ID in the sObject?

ex: field 'Subject':
$sObject->fields->Subject='my subject';
RyanBiesRyanBies
Surprisingly difficult to find the answer to this, but here's my rather simple (and obvious) solution to my own question for whoever needs it answered next:

$sObject->fields->ContactId=$EighteenCharacterID;

Message Edited by RyanBies on 02-20-2008 02:04 PM

Message Edited by RyanBies on 02-20-2008 02:04 PM