Create example
- Last Updated: April 14, 2020
- 1 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
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-Typehas the valueapplication/json. - The URL includes:
- The service root,
<myserver>:<port>/api/odata4. - The Data Source
definition name,
sfds. - The plural entity name,
ACCOUNTS.
- The service root,
- The body includes:
- Fields that were copied from the response of a
GETrequest that fetched a single account record. - No value was supplied for
ROWID, the primary key, because Salesforce generates the value automatically.
- Fields that were copied from the response of a

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)