Skip To Content

Webhooks

  • URL:https://<system-url>/webhooks
  • Required Capability:Administrator
  • Version Introduced:11.0

Description

ArcGIS Mission Server has a webhooks resource to monitor the webhooks created for Missions. Each mission created by a user has a respective webhook. This webhook is used by ArcGIS Mission Server to provide realtime awareness about events happening in the portal. Webhooks can be synchronized if ever there is a perceived problem with the Mission and it's synchronization with the portal.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json

Example usage

Below is a sample request URL for the webhooks resource:

https://machine.domain.com/webadaptor/admin/system/webadaptor?f=json

JSON Response example

{"results": [
    {
        "accountId": "0123456789ABCDEF",
        "created": 1653336055806,
        "name": "afa50410d40448d6ba09429645caff40",
        "modified": 1653336055806,
        "id": "f7f671bb4a9a49a3a279fb372e6a8f44",
        "isActive": true,
        "ownerId": "9a0640f554c94f068270a7365f183f69",
        "config": {
            "deactivationPolicy": {
                "daysInPast": 5,
                "numberOfFailures": 5
            },
            "properties": {"federatedServer": {
                "tokenExpirationTimeMinutes": 10,
                "portalUsername": "myusername",
                "tokenTypeToSend": "owner",
                "serverFunction": "missionserver"
            }}
        },
        "targetSystem": "missionserver",
        "events": [
            "/groups/0fa34450a12d4d5c9cfe71b8880076a7",
            "/items/837e60a099ed411993b4ee510e9b4acf",
            "/items/afa50410d40448d6ba09429645caff40",
            "/items/ecec6546269e48038d9981cd00514b03"
        ],
        "payloadUrl": "https://machine.domain.com/webadaptor/rest/events/portal"
    }
]}