/[webhookID]/notificationStatus: Notification Status

URL:
https://[root]/portals/[portalID]/webhooks/[webhookID]/notificationStatus
Methods:
GET
Version Introduced:
10.7

Example usage

The following is a sample ArcGIS Enterprise POST request for the notificationStatus resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/webhooks/7c001f61f51e440baa81ab0616dc4143/notificationStatus?f=pjson

Description

The notificationStatus resource page displays information pertaining to trigger events associated with the specified organization webhook. This response can be used to monitor the webhook, as it returns the details of any delivered payloads such as the time the webhook was triggered, the response received from the payload URL, and the delivered payload data.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{

  "WebhookStatus": [
    {
      "id": "7c001f61f51e440baa81ab0616dc4143",
      "isInvoked": true,
      "invokedTimestamp": "2019-01-23 14:26:44.644",
      "responseText": "{\"success\":\"true\"}",
      "payload": "{\"info\":{\"webhookId\":\"7c001f61f51e440baa81ab0616dc4143\",\"webhookName\":\"Webhook Test\",\"portalURL\":\"https://portal.com/portalWA/\",\"when\":1548282404622},\"events\":[{\"userId\":\"86ccfe86be2d490a8507eaea82749dc6\",\"username\":\"admin\",\"when\":1548282404620,\"operation\":\"share\",\"source\":\"item\",\"id\":\"d1e9a46a0b844e46a2d9ae6b581d0c3c\",\"properties\":{\"sharedToGroups\":\"[Organization]\"}}]}"
    },
    {
      "id": "7c001f61f51e440baa81ab0616dc4143",
      "isInvoked": true,
      "invokedTimestamp": "2019-01-23 14:26:37.132",
      "responseText": "{\"success\":\"true\"}",
      "payload": "{\"info\":{\"webhookId\":\"7c001f61f51e440baa81ab0616dc4143\",\"webhookName\":\"Webhook Test\",\"portalURL\":\"https://portal.com/portalWA/\",\"when\":1548282396697},\"events\":[{\"userId\":\"86ccfe86be2d490a8507eaea82749dc6\",\"username\":\"admin\",\"when\":1548282396682,\"operation\":\"share\",\"source\":\"item\",\"id\":\"d1e9a46a0b844e46a2d9ae6b581d0c3c\",\"properties\":{\"sharedToGroups\":\"[Everyone]\"}}]}"
    }
  ]
}

Sample payload structure

Below is a sample payload included in the notificationStatus JSON response, formatted for readability. The payload will follow a similar JSON schema with information that is relevant to the event.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
...
"payload": {
  "info": {
    "webhookID": "d2273e07339840e0b8a836fce564478b",
    "webhookName": "Group monitoring",
    "portalURL": "https://machineURL/portal",
    "when": 1543192196521
  },
  "events": [
    {
      "userId": "7a54f8cea29c404cbebf739cf1108653",
      "username": "admin",
      "when": 1543192196310,
      "operation": "update",
      "source": "group",
      "id": "173dd04b69134bdf99c5000aad0b6298",
      "properties": {}
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.