Skip To Content

Activate All

  • URL: https://[root]/services/[ServiceName].[ServiceType]/webhooks/activateAll(POST only)
  • Required Capability:Default administrator role | Feature layer | Geoprocessing
    Nota:

    Users assigned the Geoprocessing privilege will also require the Publish server-based layers privilege to be added to their custom role.

  • Version Introduced:11.1

Description

The activateAll operation restarts all deactivated webhooks for a geoprocessing or feature service. Once reactivated, webhooks will resume delivering payloads when they are next invoked.

Nota:

ArcGIS Enterprise supports organization, feature service, and geoprocessing webhooks. The Directorio de Portal for ArcGIS allows for the creation and management of organization webhooks, whereas the ArcGIS Server Administrative API Directory supports the creation and management of geoprocessing and feature service webhooks. For more information on organization webhooks in ArcGIS Enterprise, see either the ArcGIS Portal Directory API webhook documentation or the Manage webhooks in ArcGIS Enterprise administrative documentation. ArcGIS Online also supports feature service webhooks, which are managed in the ArcGIS Online Administrative Services Directory. To learn more about ArcGIS Online feature service webhooks, see the Web Hooks API documentation.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the activateAll operation, activating all webhooks for a geoprocessing service:


POST /webadaptor/admin/services/myService.GPServer/webhooks/activateAll HTTPS/1.1
Host: machine.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

The following is a sample POST request for the activateAll operation, activating all webhooks for a feature service:


POST /webadaptor/admin/services/myService.FeatureServer/webhooks/activateAll HTTPS/1.1
Host: machine.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response example

{"status": "success"}