- URL: https://<version-url>/deleteForwardEdits(POST only)
- Version Introduced:10.6
Description
The DeleteForwardEdits operation allows you to trim all forward moments within a given 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. The time stamps of edit operations are the only valid inputs for the moment parameter, as all other time stamps will yield an error. The call will also fail if the session does not have a write lock on the version.
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} |
moment | Description: Moment representing the new tail of the version; all forward moments will be trimmed. Note:This only applies to uncommitted edit operations. |
JSON Response syntax
{
"success" : <true | false>,
"error" : { // only if success is false
"extendedCode" : <HRESULT>,
"message" : <error message>,
"details" : [ <detail> ]
}
}