Skip To Content
ArcGIS Developers
Dashboard

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 last Reconcile operation. Users can mark the conflicts as being inspected (reviewed); additionally, a note can be associated with the conflict.

Request Parameters

ParameterDetails
f

Description: Optional parameter to specify the output format of the response. The default response format is html.

Values: html | json

sessionId

Description: The client generated session id (guid) ; a required parameter.

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

setInspected

Description: Optional boolean parameter to set (true) or unset (false) the inspected status for conflicts. The default is true.

Values: true | false

inspectAll

Description: Optional boolean parameter to mark all conflicts as being inspected. The default is false.

Values: true | false

Note:

Not currently implemented

conflicts

Description: The conflicts that are being inspected (removed) from the conflict set; this is a required parameter.

[
 { 
   "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 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"
			}
		]
	}
]