Creating, editing, and deleting records
- Last Updated: April 14, 2020
- 1 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
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-userand theddcloud-datasource-passwordheaders. - 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.