Restore Rows

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 last reconcile operation.

Request Parameters

Parameter

Details

f

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

Values: html | json

sessionID

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

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

rows

Description: An array of the rows to be restored; a required parameter.

Syntax:

[ 

   { 

      "layerId":<layerId>, 

      "objectIds":[ 

            <objectId> 

      ] 

   } 

]

Example: "rows":

[
  {
     "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> ] 
   } 
}