/[webhookID]: Webhook

URL:
https://[root]/portals/[portalID]/webhooks/[webhookID]
Methods:
GET
Operations:
Activate Webhook, Deactivate Webhook, Delete Webhook, Update Webhook
Child Resources:
Notification Status
Version Introduced:
10.7

Example usage

The following is a sample ArcGIS Enterprise request URL used to access an individual webhook resource:

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

Description

The resource for an individual wbehook. This resource provides access to the Update Webhook, Delete Webhook, and Deactivate Webhook operations, as well as the Notification Status resource page.

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
20
21
{
  "id": "35f930b31df64b62873127613d047a1b",
  "accountId": "0123456789ABCDEF",
  "payloadUrl": "https://app.logic.azure.com:443/workflows/b688528a36e246279dc050f936e5ebd4/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=nHP-LBo9x-nSgMi11DSDuwRIUiJr-8yKGCy7OYaT_ow",
  "secret": "",
  "isActive": true,
  "name": "Microsoft Flow",
  "config": {
    "deactivationPolicy": {
      "numberOfFailures": 5,
      "daysInPast": 5
    }
  },
  "ownerId": "86ccfe86be2d490a8507eaea82749dc6",

  "created": 1548289054928,
  "modified": 1548289054928,
  "events": [
    "/items"
  ]
}

JSON Response example for ArcGIS Notebook Server

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
21
22
23
24
25
26
{
  "id": "35f930b31df64b62873127613d047a1b",
  "accountId": "0123456789ABCDEF",
  "payloadUrl": "https://app.logic.azure.com:443/workflows/b688528a36e246279dc050f936e5ebd4/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=nHP-LBo9x-nSgMi11DSDuwRIUiJr-8yKGCy7OYaT_ow",
  "secret": "",
  "isActive": true,
  "name": "Microsoft Flow",
  "config": {
    "deactivationPolicy": {
      "numberOfFailures": 5,
      "daysInPast": 5
    },
    "properties": {
     "federatedServer": {
  	   "serverId": "t4IGVvF82xlnxjLT",
  	   "ItemId": "9a401d61f15a740baa81ab0616dc222",
  	   "tokenTypeToSend": "user",
  	   "tokenExpirationTimeMinutes": "10"}}
  },
  "ownerId": "86ccfe86be2d490a8507eaea82749dc6",
  "created": 1548289054928,
  "modified": 1548289054928,
  "events": [
    "/items"
  ]
}

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