Get Installed Integration Events

Gets installed integration events.

Path Parameters

  • tenantIdstringrequired

  • installedIntgIdstringrequired

    Unique Identifier of the installed integration

Responses

  • resultsarray

  • totalResultsinteger

  • pageNointeger

  • pageSizeinteger

  • totalPagesinteger

  • nextPageboolean

  • descendingOrderboolean

Response Samples

{
  "results": [
    {
      "id": "INTG-EVENT-debdf8a2-6986-4398-adfc-e50b185d049a",
      "name": "Create event",
      "entity": "INCIDENT",
      "notifier": {
        "baseURI": "www.domain.com"
      },
      "headers": [
        {
          "key": "accept",
          "value": "application/json"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "payload": "{channel=#channelName, attachments=[{fallback=Incident create notification to slack, color=danger, pretext=New incident <$esc.java($utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId))| # $esc.java($incident.uniqueId)> created , author_name=By $esc.java($incident.createdBy.getFullName()), title=$incident.subject, title_link=$utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId), text=$incident.impact, fields=[{title=Priority, value=$incident.priority.name, short=false}], mrkdwn_in=[pretext], footer=OpsRamp, footer_icon=https://www.opsramp.com/wp-content/themes/twentythirteen/images/OpsRamp-Logo-300x300.png}]}"
    },
    {
      "id": "INTG-EVENT-717000e9-bc95-4339-adf7-db7a43db2580",
      "name": "Create event with policy",
      "entity": "INCIDENT",
      "filterCriteria": {
        "id": 140,
        "name": "Create event with policy",
        "matchType": "ALL",
        "rules": [
          {
            "id": 579,
            "key": "Subject",
            "operator": "Contains",
            "value": "test",
            "resourceType": "INCIDENT"
          },
          {
            "id": 580,
            "key": "Description",
            "operator": "Contains",
            "value": "testing",
            "resourceType": "INCIDENT"
          }
        ],
        "actions": []
      },
      "notifier": {
        "baseURI": "www.domain.com"
      },
      "headers": [
        {
          "key": "accept",
          "value": "application/json"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "payload": "{channel=#channelName, attachments=[{fallback=Incident create notification to slack, color=danger, pretext=New incident <$esc.java($utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId))| # $esc.java($incident.uniqueId)> created , author_name=By $esc.java($incident.createdBy.getFullName()), title=$incident.subject, title_link=$utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId), text=$incident.impact, fields=[{title=Priority, value=$incident.priority.name, short=false}], mrkdwn_in=[pretext], footer=OpsRamp, footer_icon=https://www.opsramp.com/wp-content/themes/twentythirteen/images/OpsRamp-Logo-300x300.png}]}"
    },
    {
      "id": "INTG-EVENT-c6d30f9c-2728-4760-ad97-8f3b6f2b6391",
      "name": "Create event with policy and dep updated",
      "entity": "INCIDENT",
      "filterCriteria": {
        "id": 141,
        "name": "Create event with policy and dep",
        "matchType": "ANY",
        "rules": [
          {
            "id": 581,
            "key": "Subject",
            "operator": "Contains",
            "value": "test",
            "resourceType": "INCIDENT"
          },
          {
            "id": 582,
            "key": "Description",
            "operator": "Contains",
            "value": "testing",
            "resourceType": "INCIDENT"
          }
        ],
        "actions": []
      },
      "notifier": {
        "baseURI": "www.domain.com"
      },
      "headers": [
        {
          "key": "accept",
          "value": "application/json"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "payload": "{channel=#channelName, attachments=[{fallback=Incident create notification to slack, color=danger, pretext=New incident <$esc.java($utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId))| # $esc.java($incident.uniqueId)> created , author_name=By $esc.java($incident.createdBy.getFullName()), title=$incident.subject, title_link=$utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId), text=$incident.impact, fields=[{title=Priority, value=$incident.priority.name, short=false}], mrkdwn_in=[pretext], footer=OpsRamp, footer_icon=https://www.opsramp.com/wp-content/themes/twentythirteen/images/OpsRamp-Logo-300x300.png}]}",
      "depEvent": {
        "headers": [
          {
            "key": "accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "payload": "{attach payload}",
        "depEndPointURI": "www.attach.com/test"
      }
    },
    {
      "id": "INTG-EVENT-0e85ed91-35b7-4fe8-a702-45fab935961c",
      "name": "Ticket create event",
      "entity": "INCIDENT",
      "notifier": {
        "baseURI": "https://urportal.com/create/tkt"
      },
      "headers": [
        {
          "key": "Accept",
          "value": "application/json"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "payload": "{\n'subject':'$incident.subject',\n'description':'$incident.impact',\n'priority':'$incident.priority.name'\n}",
      "responseHeaders": [
        {
          "key": "extTicketId",
          "value": "$id"
        },
        {
          "key": "Error Message",
          "value": "$err"
        }
      ],
      "depEvent": {
        "headers": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "payload": "{\n'attach':'$attach.id'\n}",
        "depEndPointURI": "https://urportal.com/create/tkt/attachment",
        "responseHeaders": [
          {
            "key": "id",
            "value": "$attch.id"
          }
        ]
      }
    }
  ],
  "totalResults": 4,
  "pageNo": 1,
  "pageSize": 100,
  "totalPages": 1,
  "nextPage": false,
  "descendingOrder": false
}