public function RestClientInterface::objectCreate in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectCreate()
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::objectCreate()
Create a new object of the given type.
Parameters
string $name: Object type name, E.g., Contact, Account, etc.
array $params: Values of the fields to set for the object.
Return value
\Drupal\salesforce\SFID The new object's SFID.
1 method overrides RestClientInterface::objectCreate()
- RestClient::objectCreate in src/
Rest/ RestClient.php - Create a new object of the given type.
File
- src/
Rest/ RestClientInterface.php, line 221
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function objectCreate($name, array $params);