Hi all!
I've configured a FeatureService Webhook to track changes being made to a MapService Layer. I've successfully configured the webhook and I'm getting the appropriate responses when features are either added, edited or updated.
However, on the extract changes workflows, according to the REST API Documentation [Here] I could add a fieldsToCompare parameter to my request in order to watch changes for specific attributes. According to the documentation I should get a fieldUpdates array that indicates which fields were modified (if any), however I am nor receiving this element on the final response (after job is completed).
my request parameters at the moment include:
{
"serverGens": [values],
"token": "the_token",
"fieldsToCompare": {
"fields": ["company"]
}
}
The documentation DOES say that in order to support this parameter, the service must include
"supportsFieldsToCompare property, under extractChangesCapabilities, is set as true."
But I don't know where to set this.
I am currently in ArcGIS Enterprise 11.1.
Any help is greatly appreciated, and thanks beforehand!
Did you ever figure this out? I am having the same issue. Thanks!
Unfortunately, no.
Am running into same problem that fieldsToCompare does not return fieldUpdates array for the extractChange endpoint (https://developers.arcgis.com/rest/services-reference/enterprise/extract-changes-feature-service/) on ArcGIS Enterprise 11.3 even though extractChangeCapabilities is set to true.
On the featureServer Url (e.g. https://arcgis-acc.<org>.com/un_edit/rest/services/UtilityNetwork/un_edit/FeatureServer?f=pjson) you can find the capabilities of the server:
"extractChangesCapabilities": { "supportsReturnIdsOnly": true, "supportsReturnExtentOnly": false, "supportsReturnAttachments": true, "supportsLayerQueries": false, "supportsGeometry": false, "supportsFeatureReturn": true, "supportsReturnHasGeometryUpdates": true, "supportsFieldsToCompare": true, "supportsServerGens": true },