You are here

public function RestClientInterface::objectRead in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectRead()
  2. 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectRead()

Return a fullly loaded Salesforce object.

Parameters

string $name: Object type name, E.g., Contact, Account.

string $id: Salesforce id of the object.

Return value

\Drupal\salesforce\SObject Object of the requested Salesforce object.

1 method overrides RestClientInterface::objectRead()
RestClient::objectRead in src/Rest/RestClient.php
Return a fullly loaded Salesforce object.

File

src/Rest/RestClientInterface.php, line 512

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function objectRead($name, $id);