Skip To Content

Restore Rows

  • URL: https://<version-url>/restoreRows(POST only)
  • 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 DeleteUpdate conflicts that were identified during the previous reconcile operation.

Revise los requisitos de la sesión de lectura y edición para las operaciones de recurso de versión.

Licencia:
Los miembros de su organización deben tener una licencia asignada para la extensión de tipo de usuario de ArcGIS Advanced Editing para utilizar esta operación.

Request parameters

ParameterDetails
f

The output response format. The default response format is html. This parameter is optional.

Values: html | json

sessionId

The client-generated session ID (GUID). This parameter is required.

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

rows

An array of the rows to be restored. This parameter is required.

Syntax:

[ 

   { 

      "layerId":<layerId>, 

      "objectIds":[ 

            <objectId> 

      ] 

   } 

]

Example rows parameter:


[
  {
     "layerId":3,
     "objectIds":[1,4,5,8]
  },
  {
     "layerId":5,
     "objectIds":[1,4,5,9,16,35]
  }
]

JSON Response syntax


{ 
   “moment” : <datetime>, 
   “success” : <true | false>, 
   “error” : { // only if success is false 
      “extendedCode” : <HRESULT>, 
      “message” : “<error message>”, 
      “details” : [ <detail> ] 
   } 
}