- URL:
- https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/reconcile
- Methods:
POST
- Required Capability:
- ArcGIS Advanced Editing user type extension license
- Version Introduced:
- 10.6
Description
Use the reconcile
operation to reconcile a branch version with the default version. This operation detects differences between the branch version and the default version and flags them as conflicts. The reconcile
operation requires that you are the only user currently editing the version and remain so throughout the reconcile process until you save or post your edits. You must have full permissions to all the feature classes that have been modified in the version being edited.
The reconcile
operation is supported both synchronously and asynchronously.
Review the read and edit session requirements for version resource operations.
Request parameters
Parameter | Details |
---|---|
| Specifies the output format of the response. The default response format is Values: |
| The client-generated sessionId (GUID). Syntax : |
| Specifies whether the reconcile will be aborted if conflicts are detected ( Values: |
| Specifies whether the conditions required for conflicts to occur will be defined by object (row) or attribute (column). The default is This parameter was introduced at ArcGIS Enterprise 10.8.1. Values: |
| Specifies whether a post of the current version will be included following the reconcile ( Values: |
| Specifies whether the request will be processed asynchronously. If Values: This parameter was introduced at ArcGIS Enterprise 10.9.1. |
JSON Response syntax
JSON response (when async = false):
{
"hasConflicts" : <true | false>,
"moment" : <datetime>,
"didPost" : <true | false>,
"success" : <true | false>,
"error" : { // only if success is false
"extendedCode" : <HRESULT>,
"message" : <error message>,
"details" : [ <detail> ]
}
}
JSON response (when async = true):
{
"statusUrl" : <url>
}
JSON response to the status URL (when pending or in progress):
{
"status" : "<Pending | InProgress>",
"submissionTime" : <datetime>,
"lastUpdatedTime" : <datetime>
}
Example usage
Reconcile a named version with the default version using the reconcile
operation. Conflicts are defined by setting the conflict
parameter to b
. The optional parameters abort
and with
are both set to true
.
Request URL and parameters:
https:
f=json
sessionId={638ed440-b81f-406c-bd5d-757c91dbfd70}
abortIfConflicts=true
conflictDetection=byAttribute
withPost=true
async=false
JSON response:
{
"hasConflicts": false,
"moment": 1582135929926,
"didPost": true,
"success": true
}