Inspect Conflicts

URL:
https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/inspectConflicts
Methods:
POST
Required Capability:
ArcGIS Advanced Editing user type extension license
Version Introduced:
10.6

Description

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

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

Request parameters

ParameterDetails

f

Specifies the output format of the response. The default response format is html.

Values: html | json | pjson

sessionId (Required)

The client-generated session ID (GUID).

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

setInspected (Optional)

Specifies whether the inspected status for conflicts will be set (true). The default boolean value is true.

Values: true | false

inspectAll (Optional)

Specifies whether all conflicts will be inspected (true). The default boolean value is false.

Values: true | false

conflicts (Optional)

Specifies the conflicts that will be inspected (removed) from the conflict set.

Syntax:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
[
 {
   "layerId" : <layerId>,
   "features" : [
     {
       "objectId" : <objectId>,
       "note" : string
     }
   ]
 }
]

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
format=json
sessionId={E07A8A6F-9412-4049-A9E5-92267019F366}
setInspected=true
conflicts=
[
 {
  "layerId": 100,
		"features": [
			{
				"objectId": 3738,
				"note": "Reviewed this conflict"
			}
		]
	}
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.