Select to view content in your preferred language

Branch Versioning - Not able to obtain differences between two points in time through REST API

561
0
12-13-2023 01:49 PM
Labels (1)
TJ_Houle
New Contributor III

When I try and see the differences between one moment and another using Branched Versioning (through the REST API), I can only see the differences of the latest version that was checked in. I can not see any differences prior to the last version that was checked in.

Workflow:

  1. Edit a feature class in one version. 
  2. Rec and Post the version.
  3. Edit a feature class (can be the same feature class or a different) in another version (could even be the same version name).
  4. Rec and Post the Version.
  5. Try and view differences of the default version via the REST API. 
    1. Start reading
    2. set the from moment to the time prior the time of the first Rec and post (from step 2 above)
    3. get differences: example url:

https://gisserver.com/arcgis/rest/services/editingservice/VersionManagementServer/versions/BH7991JJ-...

sessionid:  7B4B39F113-610D-4A86-BFD9-6894A162210F

fromMoment: "1701473014000"

resultType: objectids

The return set of differences comes back with ONLY the changes from the second Rec and Post (from step 4 above).

Is my process correct for obtaining the differences from multiple rec and posts? 

Is this even possible to retrieve a list of changes between two points in time (historical point and current point in time) using Branch Versioning? The documentation seems to indicate that it can: https://developers.arcgis.com/rest/services-reference/enterprise/differences.htm

We're using ArcGIS Enterprise 10.9.1

Below are the current installed updates on the machine:

  • ArcGIS Data Store        
    • ArcGIS Data Store 10.9.1 Durability Enhancement Patch          
    • ArcGIS Data Store 10.9.1 Log4j Patch          
  • ArcGIS Server        
    • ArcGIS Server 10.9.1 Log4j Patch B          
    • ArcGIS Server 10.9.1 Setup Program Patch          
    • ArcGIS Server 10.9.1 Stale Query Patch          
    • ArcGIS Server 10.9.1 Knowledge Patch 1          
    • ArcGIS Server 10.9.1 Machine Rename Patch B          
    • ArcGIS Server 10.9.1 Utility Network and Data Management Patch 2          
    • ArcGIS Server 10.9.1 Security 2022 Update 1 Patch B          
    • ArcGIS Server 10.9.1 Map and Print Service Patch          
    • ArcGIS Server 10.9.1 Security 2022 Update 2 Patch          
    • ArcGIS Server 10.9.1 Utility Network and Data Management Patch 3          
    • ArcGIS Server 10.9.1 Geocoding Service Quality Patch          
    • ArcGIS Server 10.9.1 Utility Network and Data Management Patch 1          
    • ArcGIS Server 10.9.1 Vehicle Routing Problem Geometry Patch          
she/her/hers
Tags (1)
0 Kudos
0 Replies