public function RestClientInterface::objectReadbyExternalId in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectReadbyExternalId()
- 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectReadbyExternalId()
Return a full loaded Salesforce object from External ID.
Parameters
string $name: Object type name, E.g., Contact, Account.
string $field: Salesforce external id field name.
string $value: Value of external id.
Return value
\Drupal\salesforce\SObject Object of the requested Salesforce object.
1 method overrides RestClientInterface::objectReadbyExternalId()
- RestClient::objectReadbyExternalId in src/
Rest/ RestClient.php - Return a full loaded Salesforce object from External ID.
File
- src/
Rest/ RestClientInterface.php, line 294
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function objectReadbyExternalId($name, $field, $value);