ArcGIS REST API

Delete Forward Edits

  • URL:http://<versionmanagementservice-url>/deleteForwardEdits(POST only)
  • Version Introduced:10.6

Description

If the input moment does not match a specific moment (a moment corresponding to an edit operation), the call will return an error. The client app must correctly manage the edit session's edit operations moments (for example, the undo/redo stack) and not blindly pass in a timestamp that could mistakenly delete all the forward moments. Thus, the input moment must be equal to a moment in which an edit operation for the version was applied. The call will also fail if the session does not have a write lock on the version.

Request Parameters

ParameterDetails
f

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

Values: json

sessionID

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

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

moment

Description: Moment representing the new tail of the version; all forward moments will be trimmed.

JSON Response Syntax

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