REST API - deleteByID
The table summarizes the REST API - deleteByID.
Request
Format |
DELETE <baseurl>/globaldata/model/<caseType>/<version>/deletebyid |
Path parameters |
|
Body | casePayload: Contains the parameters in the
CasePayloadArrayType element (from the
BusinessDataServices schema).
This contains the case objects to be deleted. The request must include the case identifier and be constructed to match the structure of the case data defined in your business object model. See Obtaining Information From TIBCO Business Studio . |
Example
Request |
DELETE <baseurl>/globaldata/model/com.example.gddemo.Car/2/deletebyid |
Body |
<xml-fragment> <casePayload><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <gddemo:CarElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gddemo="http://example.com/gddemo" xsi:type="gddemo:Car"> <vehicleID>Vehicle1</vehicleID> <vehicleType>CAR</vehicleType> <engine xsi:type="gddemo:Engine"> <model>1.6cc</model> </engine> <model>Vauxhall</model> </gddemo:CarElement></casePayload> </xml-fragment> |
Response |
{ "xml-fragment": "" } |
Copyright © TIBCO Software Inc. All Rights Reserved.