Select to view content in your preferred language

Extract Changes on a Feature Service (10.8 and 10.8.1)

1688
1
08-25-2020 01:41 AM
SKW_UK
by
Occasional Contributor

Hi all,

We are looking to utilise extracts changes using the REST API for integration with an external system, and have followe the API documentation below:

Extract Changes (Feature Service)—ArcGIS REST API | ArcGIS for Developers 

However, to do this we need to be able to retrieve the serverGen for the different layers we are trying to extract the changes for.

Adding the following to the Feature Service URL as per the guide above, does not return the layerServerGens Object:

https://fqdn/arcgis/rest/services/Water/WaterNetwork/FeatureServer?f=pjson&returnUpdates=true

This behaviour is the same on 10.8 and 10.8.1

Is there any other method available to get the layerServerGens object?

Thanks,

Steve

0 Kudos
1 Reply
NickNuebel
Occasional Contributor

Hey Steve,

I haven't experimented with extracting serverGens from services themselves, but I know that the layer resource does have them ( if change tracking is enabled). What works for me is getting the service properties, then iterating over the layers and getting their properties.

Nick

0 Kudos