Introduction
This API allows you to delete a response record by CG-ID.
Good to know
Caution!
Be careful using this API. It will delete records from the main database – but a copy is kept.
In the event that you mistakenly delete some records, they can be restored, but Professional Services costs may be incurred.
API response format:
Our APIs return data in either JSON or XML format (depending on request by .json or .xml).
About this API
Resource Information
Response formats | JSON (default), XML |
HTTP method | DELETE |
Response family | Transactions |
Header | Authorization: api_key XXXXX |
Resource URL
Europe Production Server: https://api.eu.customergauge.com/v4.1/transactions/response.json
US Production Server: https://api.us.customergauge.com/v4.1/transactions/response.json
Australia Production Server: https://api.au.customergauge.com/v4.1/transactions/response.json
How to call
Parameters
id required | CG-ID Example Values: 12 |
Example Request
To call this API through cURL:
curl -H "Authorization: api_key XXXXX" -X DELETE https://api.eu.customergauge.com/v4.1/transactions/response.json -d id=12
Example Result
Message reported on successful operation:
{ "Data": { "id": 12 } }
Message reported on failed operation:
{ "Error": { "Message": "Record does not exist", "Code": 400002 } }
Not the API you're looking for?
Related APIs:
APIs of the same family:
Similar API families:
Or view: