Overview
This web service deletes a version (PwsDocumentVersionRef) of a specified document (PwsDocumentRef).
Request Format
- PwsDeleteDocumentVersion
- serviceRequest: PwsDeleteDocumentVersionRq
- RequestId: Int32
- SessionTicket: String
- DocumentIdentity: PwsDocumentRef
- DocumentVersionIdentity: PwsDocumentVersionRef
- OverrideLockFlag: Boolean
- serviceRequest: PwsDeleteDocumentVersionRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No |
| Click here for more information. |
|
SessionTicket | String | Yes |
| Click here for more information. |
|
DocumentIdentity | Yes |
| This is the identity of the document to be deleted |
| |
DocumentVersionIdentity | Yes |
| This is the identity of the document version to be deleted |
| |
OverrideLockFlag | Boolean | No | false | If set to 'true', the document will be deleted even if it is locked / checked out by another user |
|
Request Usage Example(s)
Response Format
- PwsDeleteDocumentVersionResponse
- PwsDeleteDocumentVersionResult: PwsDeleteDocumentVersionRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- PwsDeleteDocumentVersionResult: PwsDeleteDocumentVersionRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. |
| |
ResponseId | Int32 | Click here for more information | 0 |
Status | Click here for more information | Ok | |
ServerTimestampUtc | DateTime | Click here for more information | 2018-02-05T20:08:05.1331353Z |