public function RestClientInterface::objectUpdate in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectUpdate()
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectUpdate()
Update an existing object.
Parameters
string $name: Object type name, E.g., Contact, Account.
string $id: Salesforce id of the object.
array $params: Values of the fields to set for the object.
Return value
null Update() doesn't return any data. Examine HTTP response or Exception.
1 method overrides RestClientInterface::objectUpdate()
- RestClient::objectUpdate in src/
Rest/ RestClient.php - Update an existing object.
File
- src/
Rest/ RestClientInterface.php, line 262
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function objectUpdate($name, $id, array $params);