Conflicts

URL:
https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/conflicts
Methods:
POST
Required Capability:
ArcGIS Advanced Editing user type extension license
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 branch, 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
{
  "conflicts" : [
    {
      "layerId": long,
      "updateUpdateConflicts": [
        {
          "branchVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 3,
                . . .
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ]
            }
          },
          "ancestorVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 3,
                . . .
              "SHAPE.STLength()": 132.5
            },
            "geometry": {
              "hasZ": true,
              "hasM": true,
              "paths": [
                . . .
              ]
            }
          },
          "defaultVersion": {
            "attributes": {
              "OBJECTID": 581,
              "SUBTYPE": 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> ]
  }
}

Example usage

The example below returns the conflicts 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
 "conflicts": [
  {
   "layerId": 0,
   "updateUpdateConflicts": [
    {
     "branchVersion": {
      "attributes": {
       "objectid": 1,
       "buildingid": "1",
       "facilitykey": "Building M",
       "shortname": "M",
       "bldgarea": 1768.9923984,
       "accesstype": "Employee",
       "condition": "Excellent",
       "ownedby": 1,
       "maintby": 1,
       "lastupdate": 1308068821000,
       "lasteditor": "Esri",
       "shortname1": null,
       "bldgtype": null,
       "globalid": "{126BE255-1E01-44B6-A957-1104EB11D9BF}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": "publisher1",
       "last_edited_date": 1638822851000,
       "st_area(shape)": 1768.98881048752605,
       "st_length(shape)": 178.404835533569781
      },
      "geometry": {
       "hasZ": true,
       "rings": [
        [
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ],
         [
          6801251.53254577518,
          1839874.88253468275,
          0
         ],
         [
          6801251.751377359,
          1839845.12439210713,
          0
         ],
         [
          6801192.30431777239,
          1839844.69722759724,
          0
         ],
         [
          6801192.09598486125,
          1839874.45569826663,
          0
         ],
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ]
        ]
       ]
      }
     },
     "ancestorVersion": {
      "attributes": {
       "objectid": 1,
       "buildingid": "1",
       "facilitykey": "Building N",
       "shortname": "N",
       "bldgarea": 1768.9923984,
       "accesstype": "Employee",
       "condition": "Excellent",
       "ownedby": 1,
       "maintby": 1,
       "lastupdate": 1308068821000,
       "lasteditor": "Esri",
       "shortname1": null,
       "bldgtype": null,
       "globalid": "{126BE255-1E01-44B6-A957-1104EB11D9BF}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": "publisher1",
       "last_edited_date": 1633042076000,
       "st_area(shape)": 1768.98881048752605,
       "st_length(shape)": 178.404835533569781
      },
      "geometry": {
       "hasZ": true,
       "rings": [
        [
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ],
         [
          6801251.53254577518,
          1839874.88253468275,
          0
         ],
         [
          6801251.751377359,
          1839845.12439210713,
          0
         ],
         [
          6801192.30431777239,
          1839844.69722759724,
          0
         ],
         [
          6801192.09598486125,
          1839874.45569826663,
          0
         ],
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ]
        ]
       ]
      }
     },
     "defaultVersion": {
      "attributes": {
       "objectid": 1,
       "buildingid": "1",
       "facilitykey": "Building O",
       "shortname": "O",
       "bldgarea": 1768.9923984,
       "accesstype": "Employee",
       "condition": "Excellent",
       "ownedby": 1,
       "maintby": 1,
       "lastupdate": 1308068821000,
       "lasteditor": "Esri",
       "shortname1": null,
       "bldgtype": null,
       "globalid": "{126BE255-1E01-44B6-A957-1104EB11D9BF}",
       "created_user": null,
       "created_date": null,
       "last_edited_user": "publisher1",
       "last_edited_date": 1638822829000,
       "st_area(shape)": 1768.98881048752605,
       "st_length(shape)": 178.404835533569781
      },
      "geometry": {
       "hasZ": true,
       "rings": [
        [
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ],
         [
          6801251.53254577518,
          1839874.88253468275,
          0
         ],
         [
          6801251.751377359,
          1839845.12439210713,
          0
         ],
         [
          6801192.30431777239,
          1839844.69722759724,
          0
         ],
         [
          6801192.09598486125,
          1839874.45569826663,
          0
         ],
         [
          6801192.1862077713,
          1839874.45668251812,
          0
         ]
        ]
       ]
      }
     },
     "note": "",
     "isInspected": false
    }
   ]
  }
 ],
 "success": true
}

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