Restore Rows

URL:
https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/restoreRows
Methods:
POST
Required Capability:
ArcGIS Advanced Editing user type extension license
Version Introduced:
10.8

Description

The restoreRows operation allows the client to restore rows from the common ancestor version. This operation should only be called if there is a need to restore rows from Delete-Update conflicts that were identified during the previous reconcile operation.

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}

rows (Required)

An array of the rows to be restored.

Syntax:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[

   {

      "layerId":<layerId>,

      "objectIds":[

            <objectId>

      ]

   }

]

Example rows parameter:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
[
  {
     "layerId":3,
     "objectIds":[1,4,5,8]
  },
  {
     "layerId":5,
     "objectIds":[1,4,5,9,16,35]
  }
]

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
   “moment” : <datetime>,
   “success” : <true | false>,
   “error” : { // only if success is false
      “extendedCode” : <HRESULT>,
      “message” : “<error message>”,
      “details” : [ <detail> ]
   }
}

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