ArcGIS REST API

Conflicts

  • URL:http://<versionmanagementservice-url>/conflicts
  • Version Introduced:10.6

Description

The Conflicts operation allows you to view the conflicts by layer and type (update-update, update-delete, delete-update) that were identified during the last Reconcile operation. The features that are in conflicts will also be returned as they existed in the branch, ancestor, and default versions.

Request Parameters

ParameterDetails
f

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

Values: json

sessionId

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

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

JSON Response Example

{
  "conflicts" : [
    {
      "layerId": long,
      "updateUpdateConflicts": [
        {
          "branchVersion": {
            "attributes": {
              "OBJECTID": 581,
              "ASSETGROUP": 3,
              "ASSETTYPE": 2
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ]
            }
          },
          "ancestorVersion": {
            "attributes": {
              "OBJECTID": 581,
              "ASSETGROUP": 3,
              "ASSETTYPE": 1,
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ]
            }
          },
          "defaultVersion": {
            "attributes": {
              "OBJECTID": 581,
              "ASSETGROUP": 3,
              "ASSETTYPE": 3,
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ]
            }
          },
          "note" : "notes",
          "isInspected" : <true | false>
        }
      ],
      "updateDeleteConflicts": [
        {
          "branchVersion": {
              . . .
          },
          "ancestorVersion": {
              . . .
          },
          "note" : "notes",
          "isInspected" : <true | false>
        }
      ],
	     "deleteUpdateConflicts": [{
        {
          "ancestorVersion": {
              . . .
          },
          "defaultVersion": {
              . . .
          },
          "note" : "notes",
          "isInspected" : <true | false>
        }
      ]
    }
  ],
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}