- 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
Parameter | Details |
---|---|
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: Optional parameter to specify conflicts that are being inspected (removed) from the conflict set. Note:Required until the inspectAll parameter is implemented.
|
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"
}
]
}
]