When supplying property values, include required columns (except for those with default values or set automatically by the data store). The following screen shows a POST request in Postman to create an ACCOUNT entity in a Salesforce data store. To formulate the request:
The header Content-Type has the value application/json.
The URL includes:
The service root, <myserver>:<port>/api/odata4.
The Data Source definition name, sfds.
The plural entity name, ACCOUNTS.
The body includes:
Fields that were copied from the response of a GET request that fetched a single account record.
No value was supplied for ROWID, the primary key, because Salesforce generates the value automatically.
The following lines in the response show that the new record was successfully created:
For more details on creating records and an example in JSON format, see HTTP POST (create)