REST API - listCaseAction

The table summarizes the REST API - listCaseAction.

Request

Request
GET <baseurl>/caseaction/list/<casereference>
Path parameters casereference: Can be obtained using getCaseReferencesForDataView.

Response

JSON Returns a JSON representation of the contents of a listCaseActionResponse element.
XML Returns the contents of a listCaseActionResponse element (from the BusinessService schema).

Example

Request
GET <baseurl>/caseaction/list/BDS-1-com.example.claimsbusinessdata.Claim-1-0
Response
{
  "xml-fragment": {
    "startPosition": "0",
    "endPosition": "2",
    "totalItems": "2",
    "caseCategory": [
      {
        "caseActionTemplate": {
          "-caseClassName": "com.example.claimsbusinessdata.Claim",
          "-hasFormalParameters": "true",
          "-moduleName": "/Car-Claims-Application/Process Packages/CaseServices.xpdl",
          "-processName": "ClaimViewCaseData",
          "-version": "1.0.0.20141015170644573",
          "-caseRefParamName": "ClaimRef",
          "-caseActionName": "Claim-View Case Data",
          "caseState": "LOADED"
        }
      },
      {
        "caseActionTemplate": {
          "-caseClassName": "com.example.claimsbusinessdata.Claim",
          "-hasFormalParameters": "true",
          "-moduleName": "/Car-Claims-Application/Process Packages/CaseServices.xpdl",
          "-processName": "ClaimUpdateCaseData",
          "-version": "1.0.0.20141015170644573",
          "-caseRefParamName": "ClaimRef",
          "-caseActionName": "Claim-Update Case Data",
          "caseState": "AWAITINGDISPATCH"
        }
      }
    ]
  }
}