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-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 in either Atom Pub or JSON format. Use the Content-Type header to specify the format as one of the following:

  • application/atom+xml
  • application/atom+xml;charset=UTF-8
  • application/json
  • application/json;charset=UTF-8