Retrieve Integration Instances

get

/ic/api/integration/v1/monitoring/instances

Retrieve information about integration instances for the past hour ordered by last updated time.

Request

Supported Media Types
Query Parameters
  • Limit query results to a few fields. Valid values are runId, id and all.
  • Use with the offset parameter for paginating through the returned results. The limit is the maximum number of items to return at one time. For example, offset=3&limit=16 indicates to list results starting at the 4th item, and the list will contain 16 items.
  • Use with the limit parameter for paginating through the returned results. The offset is the starting point from which to return records. Default value is 0. For example, offset=3&limit=16 indicates to list results at the 4th item, and the list will contain 16 items.
  • Filter parameters.

    • timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD. Default value is 1h.
    • code: Integration identifier.
    • version: Integration version.
    • status: Status of the integration instance. Valid values are COMPLETED, FAILED and ABORTED.
    • startdate: Custom time range start date/time in UTC format for filtering instances.
    • enddate: Custom time range end date/time in UTC format for filtering instances.
    • primaryValue: Value of the primary business identifier.
    • secondaryValue: Value of secondary business identifier.
    • tertiaryValue: Value of tertiary business identifier.
    • businessIDValue: Search for any of the business identifier values - primary, secondary or tertiary.
    • jobid: Recovery job identifier corresponding to bulk resubmission of errored integration instances.
    • runId: Run identifier of the scheduled integration instance.
    • requestId: Applies only to scheduled orchestrations. ID of the request that triggered the integration instance.
    • id: Integration instance identifier
    • parentInstanceId: Integration instance identifier of a parent integration to search for locally invoked child integration instances.

    Example:

    {timewindow:'1h', id:'118', status:'FAILED', code:'ERROR', version:'01.00.0000', requestId:'2432', jobid:'18'}
Back to Top

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 : TrackingDataRs
Type: object
Show Source

400 Response

Malformed parameters

500 Response

Server error
Back to Top

Examples

The following examples show how to retrieve monitoring details about integration instances by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Get details about all integration instances

curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances

Example: Get details about all integration instances for the integration with the code SC2RNSYNC in uppercase or lowercase for the past 3 days

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={code : 'SC2RNSYNC', timewindow : '3d'}" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances

Example: Get details about the scheduled orchestration instance triggered by the specified request ID

Applies only to scheduled orchestrations.

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={requestId: '1234', timewindow : '3d'}" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances

Example: Paginate through returned results

Pagination is done with limit and offset. In this example, we list integration instances starting at the fourth item. The list contains 16 items.

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -d "offset=3&limit=16" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances

Example: Limit results to runId field only

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -d "fields=runId'" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances

Example: Combine Parameters

To combine query parameters, use q with the --data-urlencode option. The other parameters can be added after the -d option.

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={code : 'SC2RNSYNC', timewindow : '3d'}" -d "offset=3&limit=16" -d "fields=id" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/instances
Back to Top