Creating, editing, and deleting records with OData Version 2
- Last Updated: March 6, 2025
- 1 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
Create records using the POST method.
Update and delete records using the POST method with the custom header, X-HTTP-Method, with a value of MERGE or 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 in either Atom Pub or JSON
format. Use the Content-Type header to specify the
format as one of the following:
application/atom+xmlapplication/atom+xml;charset=UTF-8application/jsonapplication/json;charset=UTF-8