REST API - findAllCases

The table summarizes the REST API - findAllCases.

Request

Format
POST <baseurl>/globaldata/model/<caseType>/<version>/find
Path parameters
  • caseType: The case type is the fully qualified name of the case class. For example, com.example.gddemo.Customer. You can obtain this by running getCaseClassInfo .
  • version: The version of the case model. For example, 2 or 2.0.0.

Response

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

Example

Request
GET <baseurl>/globaldata/model/com.example.gddemo.Car/2/find
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"

]

}

}