GET /decision/{decisionId}/operations method

List the operations of a decision service.

Sample method invocation

GET https://<server>/api/v1/decision/{decisionId}/operations

Parameters

Parameter Mandatory/Optional Description
decisionId Mandatory

URL path that uniquely identifies a decision to execute.

This value is concatenated to the base storage URL to form a full download URL for the decision service.

Response status code

Status code Description
200

The execution was successful.

404

The value of decisionId is invalid.

You see the following message in the response body:
"incidentCategory": "Decision not found",

Response body

Value / Schema for status code 200:
{
  "decisionId": "string",
  "operations": [
    "string"
  ]
}
For example:
{
  "decisionId": "/samples/RebookingPassengers/Rebooking-PassengersDecisionService/2.2.1/Rebooking-PassengersDecisionService-2.2.1.jar",
  "operations": [
    "Rebook-all-passengers",
    "Rebook-one-passenger"
  ]
}
Value / Schema for status code 404:
{
  "decisionId": "string",
  "decisionOperation": "string",
  "executionId": "string",
  "output": {},
  "incident": {
    "incidentId": "string",
    "incidentCategory": "string",
    "stackTrace": "string"
  }
}
For example:
{
  "decisionId": "/samples/RebookingPassengers/Rebooking-PassengersDecisionService/2.2.2/Rebooking-PassengersDecisionService-2.2.2.jar",
  "decisionOperation": null,
  "executionId": null,
  "output": null,
  "executionTrace": null,
  "incident": {
    "incidentId": "f5ab8a8b-2d38-4cf4-9c8b-029997431176",
    "incidentCategory": "Decision not found",
    "stackTrace": null
  }
}