skip to main content
Querying with OData Version 4 : Formulating queries with OData Version 4 : Creating, editing, and deleting records
  

Try Now

Creating, editing, and deleting records

Create records using the POST method. Update records using the PATCH method or the POST method with the custom header, X-HTTP-Method, with a value of patch. Delete records using the DELETE method or the POST method with X-HTTP-Method with a value of DELETE. A request should include:
*Your Hybrid Data Pipeline account credentials.
*If the backend data source credentials are not stored in the Data Source definition, the ddcloud-datasource-user and the ddcloud-datasource-password headers.
*The resource URL appropriate for the operation:
*To create a record, include the plural entity name and supply property values in the body.
*To update a record, include the plural entity name and the primary key value.
*To delete a record, include the plural entity name and the primary key value.
To create or update, supply property values, the Content-Type header must specify one of the following supported content types:
application/json
application/json;charset=UTF-8
If the Content-Type header is not supplied, Hybrid Data Pipeline interprets the body as the JSON format encoded using the UTF-8 character set.
* Create example
* Delete example
* Update example