Skip To Content ArcGIS for Developers Sign In Dashboard

Webhooks - Payloads (Feature Service)

Description

Each event type has a specific payload format with the relevant event information. In addition to the information relevant to each event, all event webhook payloads include information about layer and the feature service which the event occurred on.

Example Usage

Below are samples of event type specific payload.

JSON Response Example

FeaturesCreated

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "FeaturesCreated",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

FeaturesUpdated

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "FeaturesUpdated",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

FeaturesDeleted

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "FeaturesDeleted",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

FeaturesEdited

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "FeaturesEdited",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

AttachmentsCreated

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "AttachmentsCreated",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

AttachmentsUpdated

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "AttachementsUpdated",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

AttachmentsDeleted

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "AttachementsDeleted",
	"orgId": "myorgId"
	"changesUrl": "https://olserver/services/myService/FeatureService/extractChanges?serverGens=[1122, 1124]"
}

JSON Response Example

LayerSchemaChanged

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "LayerSchemaChanged",
}

JSON Response Example

LayerDefinitionChanged

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "LayerDefinitionChanged",
}

JSON Response Example

FeatureServiceDefinitionChanged

{
	"layerId":0,
	"serviceName": "myService",
	"changeType": "FeatureServiceDefinitionChanged",
}