When using Salesforce SOAP API via PHP, if I have an object that has a search field for an account with a specific field in the account that is configured as an external identifier, I can do the following
$sfBooking->fields['Account__r'] = "<type>Account</type>"
. "<custom_account_id__c>"
. utf8_encode($tboxBooking->client_id)
. "</custom_account_id__c>";
This is very convenient when trying to link records without resorting to using their Salesforce ID.
I am wondering if there is a similar type of abbreviations that I can use when setting the type of writing to objects via the API. To get the record type identifier by first querying the Record Type object, this is the step I would like to cut, if at all possible.
source
share