REST API - deleteByRef - Multiple Case Data Objects
The REST API - deleteByRef operation deletes multiple case data objects by case reference. The case references are listed as query parameters so the number of them is limited by path length.
Request
Format | DELETE <baseurl>/globaldata/deletebyref |
Query parameters | caseReference= string . 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 deleteCaseByRefResponseelement. |
XML | Returns the contents of a deleteCaseByRefResponseelement (from the BusinessDataServices schema) |
Example
Request | DELETE <baseurl>/globaldata/deletebyref?caseref=BDS-2-com.example.gddemo.Customer-60-0&caseref=BDS-2-com.example.gddemo.Customer-62-0 |
Response | { "xml-fragment": "" } |