REST API - deleteByRef - Single Case Data Object

The REST API - deleteByRef operation deletes a single case data object, identified by its case reference in a path parameter.

Request

Format
DELETE <baseurl>/globaldata/ref/<casereference>/deletebyref
Path parameters caseReference. The reference to the case object. Whenever a case object is created, a unique case reference is also created. Providing the case reference, provides access to the case data object. You can obtain case references using findAllCases .

Response

JSON Returns a JSON representation of the contents of a DeleteCaseByRefResponse element.
XML Returns the contents of a DeleteCaseByRefResponse element (from the BusinessDataServices schema)

Example

Request
DELETE <baseurl>/globaldata/ref/BDS-2-com.example.gddemo.Customer-60-0/deletebyref
Response
{
       "xml-fragment": ""
}