List Applications

get

/decision/api/v1/applications

Retrieves a list of active applications that contain a decision model. The list of applications retrieved include both decision applications, and process applications with a local decision. A successful response includes the application identifiers (applicationId).

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Operation Successful
Body ()
Root Schema : Applications
Title: Applications
Match All
Show Source
Nested Schema : Applications-allOf[1]
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Application
Title: Application
Match All
Show Source
Nested Schema : Application-allOf[1]
Type: object
Show Source

400 Response

Bad request
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source

401 Response

Unauthorized
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source

500 Response

Internal error
Body ()
Root Schema : ErrorMessage
Type: object
Title: ErrorMessage
Defines ErrorMessage
Show Source
Back to Top

Examples

Example: Get list of all applications

The following example shows how to get list of all applications by submitting a GET request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.

curl -X 'GET' \   'https://oracle.com/decision/api/v1/applications' \   -H 'accept:
      application/json'

Example Format of 200 Operation Successful Response

{
  "links": [
    {
      "href": "string",
      "hreflang": "string",
      "length": 0,
      "rel": "string",
      "title": "string",
      "type": "string",
      "mediaType": "string",
      "message": "string",
      "code": 600
    }
  ],
  "items": [
    {
      "links": [
        {
          "href": "string",
          "hreflang": "string",
          "length": 0,
          "rel": "string",
          "title": "string",
          "type": "string",
          "mediaType": "string",
          "message": "string",
          "code": 600
        }
      ],
      "applicationId": "string"
    }
  ]
}

Example Format of Bad Request Response

{
  "errorCode": "string",
  "status": 0,
  "message": "string",
  "details": "string",
  "cause": "string",
  "opcRequestId": "string"
}
Back to Top