- URL:
- https://<root>/<serviceName>/VersionManagementServer/versions/<versionGuid>/deleteForwardEdits
- Methods:
POST- Required Capability:
- ArcGIS Advanced Editing user type extension license
- Version Introduced:
- 10.6
Description
The delete operation deletes all forward edits in a specified edit session.
When a client application manages an edit session made of multiple operations and intends to support an undo/redo stack, the time stamps for each edit operation must be carefully managed.
This operation requires the same session ID and organization member that was used for the start operation.
Review the read and edit session requirements for version resource operations.
Request parameters
| Parameter | Details |
|---|---|
| Specifies the output format of the response. The default response format is Values: |
| Specifies the client-generated session ID (GUID). Syntax: Example: |
| Specifies a specific Syntax: Example: |
JSON Response syntax
{
"success" : <true | false>,
"error" : { // only if success is false
"extendedCode" : <HRESULT>,
"message" : <error message>,
"details" : [ <detail> ]
}
}Example usage
During an edit session, the delete operation is called before the stop operation to delete edits from the moment specified forward.
Request URL and parameters:
https:
f=json
sessionId={638ed440-b81f-406c-bd5d-757c91dbfd70}
moment=1691093291637JSON response:
{
"success": true
}