REST API - getCaseReferencesx

The table summarizes the REST API - getCaseReferencesx.

Request

Format
GET <baseurl>/globaldata/dataview/id/<dataviewID>/getcasereferences
Path parameters dataviewID: The unique identifier of the dataview.
Body viewSpecification. Contains the parameters in the ViewSpecification element (from the BusinessDataServices schema). See Defining Dataview Conditions .

Response

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

Example

Request
GET <baseurl>/globaldata/dataview/id/2/getcasereferences
Body
<xml-fragment>

<specification>

<caseClassDetails>

<caseClass>com.example.gddemo.Car</caseClass>

<majorVersion>2</majorVersion>

</caseClassDetails>

<name>Budget Cars</name>

<description>Cars with budget features</description>

</specification>

</xml-fragment>
Response
{

"xml-fragment":

{

"caseReference":

[

"BDS-2-com.example.gddemo.Car-33-0",

"BDS-2-com.example.gddemo.Car-42-0",

"BDS-2-com.example.gddemo.Car-44-0"

],

"hasMoreResults": false

}

}