Endpoint
/api/v2/tenants/{tenantId}/integrations/activity

Details the payload activities

Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

Query Parameters
pageNo
integer

{pageNo}

pageSize
integer

{pageSize}

isDescendingOrder
boolean

{true/false}

sortName
string

{field}

queryString
string

{queryString}

intgMode
string

Integration mode. This specifies the inbound or outbound configuration of integration.

startTime
string

Get the integration activities within a date range. - startTime indicates from date.

endTime
string

Get the integration activities within a date range. - endTime indicates to date.

installedintgId
string

Installed integration Id. To get the integration activity of a particular installed integration, provide the installed integration Id in the query parameter string.

status
string

Status of integration

Responses

OK

descendingOrder
boolean

nextPage
boolean

pageNo
integer

pageSize
integer

results
array

results.installedintgId
results.intgMode
results.intgName
results.processedTime
results.reqPayload
results.requestUrl
results.resPayload
results.resourceId
results.resourceType
results.status
results.statusMessage
totalPages
integer

totalResults
integer

{
  "descendingOrder": false,
  "nextPage": false,
  "pageNo": 1,
  "pageSize": 100,
  "results": [
    {
      "installedintgId": "INTG-bb6dcbe3-6477-42d0-8b33-4b354ad53fe3",
      "intgMode": "INBOUND",
      "intgName": "SERVICENOW",
      "processedTime": 1488970355393,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T16:00:00%200530%2BendTime:2017-03-08T17:00:00%200530%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dcbe3-6477-42d0-8b33-4b387ad53fe3",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488970300924,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200530%2BendTime:2017-03-08T05:00:00%200530%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dcbe3-6477-42d0-8b33-4b854ed53fe3",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488970299546,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200530%2BendTime:2017-03-08T05:00:00%200530%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dcbe3-6477-429o-8b33-4fe451ad54df7",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488970263464,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200000%2BendTime:2017-03-08T05:00:00%200000%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb3efce3-6477-42d0-5c42-5c767ad54hd3",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488970237096,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200530%2BendTime:2017-03-08T05:00:00%200530%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dcbe3-6477-42d0-9ec3-6rc76dc59fc5",
      "intgMode": "INBOUND",
      "intgName": "FRESHSERVICE",
      "processedTime": 1488970235663,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200530%2BendTime:2017-03-08T05:00:00%200530%2BIntgMode:INBOUND",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb3edbe3-6477-42d0-8c56-4c532df25cf5",
      "intgMode": "INBOUND",
      "intgName": "JIRA",
      "processedTime": 1488970153650,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T04:00:00%200530%2BendTime:2017-03-08T05:00:00%200530",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dcbe3-6599-42d0-8c33-4b811ae5673r",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488969867751,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T12:00:00%200530%2BendTime:2017-03-08T12:30:00%200530",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bg5fcbe3-6477-42d0-4c33-4b45re313r4r",
      "intgMode": "INBOUND",
      "intgName": "JIRA",
      "processedTime": 1488969866264,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T12:00:00%200530%2BendTime:2017-03-08T12:30:00%200530",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-bb6dbed3-4325-52do-5b33-4dc22bc45ge5",
      "intgMode": "INBOUND",
      "intgName": "CUSTOM",
      "processedTime": 1488969822870,
      "reqPayload": "",
      "requestUrl": "https://\u003capi-url\u003e/api/v2/tenants/client_9/intg/activity/intgActivity?queryString=startTime:2017-03-08T12:00:00%200530%2BendTime:2017-03-08T12:30:00%200530",
      "resPayload": "{\"pageSize\":0,\"nextPage\":false,\"descendingOrder\":false}",
      "resourceId": "",
      "resourceType": "",
      "status": "SUCCESS",
      "statusMessage": "Processed successfully"
    }
  ],
  "totalPages": 1,
  "totalResults": 10
}
{
  "descendingOrder": false,
  "nextPage": true,
  "nextPageNo": 2,
  "pageNo": 1,
  "pageSize": 10,
  "results": [
    {
      "installedintgId": "INTG-e26429c2-7f1a-4cd6-a714-851365e2bdae",
      "intgMode": "INBOUND",
      "intgName": "",
      "processedTime": 1488961814334,
      "reqPayload": "{\"serviceName\":\"CPU\",\"device\":{\"hostName\":\"Think-pad\",\"resourceUUID\":\"DEV0000011767\",\"providerUUID\":\"11767\",\"systemUUID\":\"11767\",\"macAddress\":\"2E:8B:EB:32:7A:F9\",\"ipAddress\":\"192.156.255.251\"},\"subject\":\"Test API Alert sensu 2\",\"alertTime\":\"2014-11-05 11:26:00\",\"currentState\":\"OK\",\"app\":\"NEWRELIC\",\"alertType\":\"Maintenance\",\"component\":\"C\",\"description\":\"api calls\",\"monitorName\":\"test\"}",
      "requestUrl": "https://192.168.56.121/api/v2/tenants/client_9/alert",
      "resPayload": "",
      "resourceId": "",
      "resourceType": "ALERT",
      "status": "COMPLETE",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-e26429c2-7f1a-4cd6-a714-851365e2bdae",
      "intgMode": "INBOUND",
      "intgName": "",
      "processedTime": 1488961772629,
      "reqPayload": "{\"serviceName\":\"CPU\",\"device\":{\"hostName\":\"Think-pad\",\"resourceUUID\":\"DEV0000011767\",\"providerUUID\":\"11767\",\"systemUUID\":\"11767\",\"macAddress\":\"2E:8B:EB:32:7A:F9\",\"ipAddress\":\"192.156.255.251\"},\"subject\":\"Test API Alert sensu 1\",\"alertTime\":\"2014-11-05 11:26:00\",\"currentState\":\"CRITICAL\",\"app\":\"NEWRELIC\",\"alertType\":\"Maintenance\",\"component\":\"C\",\"description\":\"api calls\",\"monitorName\":\"test\"}",
      "requestUrl": "https://192.168.56.121/api/v2/tenants/client_9/alert",
      "resPayload": "",
      "resourceId": "",
      "resourceType": "ALERT",
      "status": "COMPLETE",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-e26429c2-7f1a-4cd6-a714-851365e2bdae",
      "intgMode": "INBOUND",
      "intgName": "",
      "processedTime": 1488961738352,
      "reqPayload": "{\"serviceName\":\"CPU\",\"device\":{\"hostName\":\"Think-pad\",\"resourceUUID\":\"DEV0000011767\",\"providerUUID\":\"11767\",\"systemUUID\":\"11767\",\"macAddress\":\"2E:8B:EB:32:7A:F9\",\"ipAddress\":\"192.156.255.250\"},\"subject\":\"Test API Alert sensu 1\",\"alertTime\":\"2014-11-05 11:26:00\",\"currentState\":\"CRITICAL\",\"app\":\"NEWRELIC\",\"alertType\":\"Maintenance\",\"component\":\"C\",\"description\":\"api calls\",\"monitorName\":\"test\"}",
      "requestUrl": "https://192.168.56.121/api/v2/tenants/client_9/alert",
      "resPayload": "",
      "resourceId": "",
      "resourceType": "ALERT",
      "status": "COMPLETE",
      "statusMessage": "Processed successfully"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488892849283,
      "reqPayload": "test tkt ",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000347",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Incident processed COMPLETE"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488799767447,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488799765657,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488799763713,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488799761865,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488798121233,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    },
    {
      "installedintgId": "INTG-b2e9808e-7457-469f-b6a1-c76393facfe8",
      "intgMode": "INBOUND",
      "intgName": "test",
      "processedTime": 1488798117365,
      "reqPayload": "test from api 6",
      "requestUrl": "",
      "resPayload": "",
      "resourceId": "INC0000000346",
      "resourceType": "INCIDENT",
      "status": "COMPLETE",
      "statusMessage": "Response Updated"
    }
  ],
  "totalPages": 4,
  "totalResults": 31
}