Retrieve Monitoring Data for Integrations

get

/ic/api/integration/v1/monitoring/integrations

Retrieves a list of integrations along with respective count for total, processed, succeeded, errored and aborted messages within the specified time window.

Request

Supported Media Types
Query Parameters
  • Number of integrations to fetch.
  • Start index for pagination support. Default value is 0.
  • Valid values:

    • 'name': Results will be ordered by Integration name.
    • 'time': Results will be ordered by last updated time.

    Example:

    To order the records by name

    orderBy='name'
  • Filter parameters.

    • timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD. Default value is 1h.
    • status: CONFIGURED, ACTIVATION_INPROGRESS, FAILEDACTIVATION, ACTIVATED, ALL. Default value is ACTIVATED.
    • startdate: Custom time range start date/time in UTC format for filtering integrations.
    • enddate: Custom time range end date/time in UTC format for filtering integrations.
    • name: Integration name - Both complete and partial name search is supported.
    • style: Style of integration
      • 'freeform_mapmydata' - App Driven Orchestration
      • 'freeform_scheduled' - Scheduled Orchestration
      • 'template_mapmydata' - Basic Routing
      • 'template_subscribetooic' - Subscribe to OIC
      • 'template_publishtooic' - Publish to OIC

    Example:

    {timewindow:'2d', status:'CONFIGURED', style:'freeform_scheduled'}
  • Type of records to return.
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : MonitoringIntegrationsRs
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : MonitoringIntegrationBaseRs
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 activated and integrations 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 monitoring data for all activated integrations

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

Example: Get monitoring data for all activated integrations for the past day

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

Example: Get monitoring data for all activated integrations by integration name in alphabetical order

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

Example: Paginate through returned results

Pagination is done with limit and offset. In this example, we list integrations 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/integrations

Example: Combine parameters - get monitoring data for the past day by integration name in alphabetical order

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={timewindow: '1d'}" -d "orderBy=name" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/integrations
Back to Top