Retrieve Instances

get

/icsapis/v2/monitoring/instances

Retrieves a list of flow instances.

Request

Supported Media Types
Query Parameters
  • Filter parameter. code: integration code, version: integration version status: COMPLETED or FAILED, timewindow: 1h, 6h, 1d, 2d, 3d, default is 1h Examples: {code : 'SC2RNSYNC', timewindow : '3d'} {code : 'SC2RNSYNC', status : 'COMPLETED', timewindow : '3d'}

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : instances
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : instance
Type: object
Show Source
Nested Schema : activityStream
Type: array
Show Source
Nested Schema : auditTrail
Type: array
Show Source
Nested Schema : trackings
Type: array
Show Source
Nested Schema : TrackingDataResource
Type: object
Show Source

400 Response

Malformed parameters

500 Response

Server error

Examples

The following example shows how to retrieve monitoring instance logs from an Oracle Integration Cloud Service instance by submitting a GET request on the REST resource using cURL.

cURL Command

curl -k -v -X GET -u username:Password1 -H "Accept:application/json" \
https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances 

Example of Response Body

The following examples shows the response body in JSON format.

Response Sample 1

{
  "items": [
    {
      "id": "133",
      "integrationId": "VB_RNOW_SCH_LARGE_MTOM_FILEATT",
      "integrationVersion": "01.00.0000",
      "isDataAccurate": false,
      "links": [
        {
          "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances/133",
          "rel": "self"
        },
        {
          "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances/133",
          "rel": "canonical"
        }
      ],
      "status": "COMPLETED"
    },
    {
      "id": "132",
      "integrationId": "VB_RNOW_UPLOAD_LARGEFILES_MTOM",
      "integrationVersion": "01.00.0000",
      "isDataAccurate": false,
      "links": [
        {
          "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances/132",
          "rel": "self"
        },
        {
          "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances/132",
          "rel": "canonical"
        }
      ],
      "status": "COMPLETED"
    }
  ],
  "links": [
    {
      "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances",
      "rel": "self"
    },
    {
      "href": "https://integration.us.oraclecloud.com/icsapis/v2/monitoring/instances",
      "rel": "canonical"
    }
  ],
  "totalResults": 2
}