URL:
https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/conflicts
Methods:
POST
Required Capability:
Edit privilege (features:user:edit)
Version Introduced:
10.6

Description

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

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}

outSR (Optional)

The output spatial reference.

Syntax: {wkid=<wkid>}

Example: outSR = {wkid=4326}

This parameter was introduced at ArcGIS Enterprise 11.1.

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
  "conflicts" : [
    {
      "layerId": long,
      "updateUpdateConflicts": [
        {
          "branchVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 3,
                . . .
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ],
              "spatialReference": { <spatialReference> }
            }
          },
          "ancestorVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 3,
                . . .
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ],
              "spatialReference": { <spatialReference> }
            }
          },
          "defaultVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 3,
                . . .
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ],
              "spatialReference": { <spatialReference> }
            }
          },
          "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> ]
  }
}

Example usage

The example below returns an update-update conflict on the POP_CLASS attribute for a named version using the conflicts operation.

Request URL and parameters:

Use dark colors for code blocksCopy
1
https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/versions/<versionGuid>/conflicts

JSON response:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
 "conflicts": [
  {
   "layerId": 0,
   "updateUpdateConflicts": [
    {
     "branchVersion": {
      "attributes": {
       "OBJECTID": 3527,
       "CLASS": "Census Designated Place",
       "STFIPS": "37",
       "PLACEFIPS": "3745720",
       "POP_CLASS": 8,
       "POPULATION": 15605,
       "POP2010": 14215,
       "GlobalID": "{C5C090B2-9F8E-412A-A48B-A970CF0DD61C}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": "portaladmin",
       "last_edited_date": 1788548645000
      },
      "geometry": {
       "x": -8665430.68850000016,
       "y": 4068066.71769999713,
       "spatialReference": {
        "wkid": 102100,
        "latestWkid": 3857
       }
      }
     },
     "ancestorVersion": {
      "attributes": {
       "OBJECTID": 3527,
       "CLASS": "Census Designated Place",
       "STFIPS": "37",
       "PLACEFIPS": "3745720",
       "POP_CLASS": 6,
       "POPULATION": 15605,
       "POP2010": 14215,
       "GlobalID": "{C5C090B2-9F8E-412A-A48B-A970CF0DD61C}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": null,
       "last_edited_date": null
      },
      "geometry": {
       "x": -8665430.68850000016,
       "y": 4068066.71769999713,
       "spatialReference": {
        "wkid": 102100,
        "latestWkid": 3857
       }
      }
     },
     "defaultVersion": {
      "attributes": {
       "OBJECTID": 3527,
       "CLASS": "Census Designated Place",
       "STFIPS": "37",
       "PLACEFIPS": "3745720",
       "POP_CLASS": 5,
       "POPULATION": 15605,
       "POP2010": 14215,
       "GlobalID": "{C5C090B2-9F8E-412A-A48B-A970CF0DD61C}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": "portaladmin",
       "last_edited_date": 1788548620000
      },
      "geometry": {
       "x": -8665430.68850000016,
       "y": 4068066.71769999713,
       "spatialReference": {
        "wkid": 102100,
        "latestWkid": 3857
       }
      }
     },
     "note": "",
     "isInspected": false,
     "category": "attribute"
    }
   ]
  }
 ],
 "success": true
}

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