Skip To Content

Inspect Conflicts

  • URL: https://<version-url>/inspectConflicts(POST only)
  • Version Introduced:10.6

Description

The inspectConflicts operation allows the client to annotate conflicts from the conflict set that was obtained during the previous Reconcile operation. Users can mark the conflicts as being inspected (reviewed); additionally, a note can be associated with the conflict.

Review the read and edit session requirements for version resource operations.

License:
Organization members must be assigned a license for the ArcGIS Advanced Editing user type extension to use this operation.

Request parameters

ParameterDetails
f

The output response format. The default response format is html. This parameter is optional.

Values: html | json

sessionId

The client-generated session ID (GUID. This parameter is required.

Syntax : sessionId = {3F2504E0-4F89-41D3-9A0C-0305E82C3301}

setInspected

Description: Specifies whether the inspected status for conflicts will be set (true). The default is true. This parameter is a Boolean value and is optional.

Values: true | false

inspectAll

Description: Specifies whether all conflicts will be inspected (true). The default is false. This parameter is a Boolean value and is optional.

Values: true | false

Note:

This parameter is not currently implemented.

conflicts

Description: The conflicts that will be inspected (removed) from the conflict set.

Note:

This parameter is required until the inspectAll parameter is implemented.

[
 { 
   "layerId" : <layerId>,
   "features" : [ 
     {
       "objectId" : <objectId>,
       "note" : string
     } 
   ]
 }
]

JSON Response syntax

{
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}

Example usage

Set the conflicts detected during reconcile as inspected using the inspectConflicts operation.

Request URL and parameters:

https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/versions/496C55E1-86EA-4F06-8FC8-8D5BBCBD7761/inspectConflicts

format=json
sessionId={E07A8A6F-9412-4049-A9E5-92267019F366}
setInspected=true
conflicts=
[	
 {		
  "layerId": 100,
		"features": [
			{
				"objectId": 3738,
				"note": "Reviewed this conflict"
			}
		]
	}
]