Overview
This web service removes older version of a Projector document. If there is only one version exists, the web service is a no-op.
Request Format
Panel | ||
---|---|---|
| ||
|
...
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 | |||||
VersionNumber | Int16 | 2 |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:doc="http://projectorpsa.com/DataContracts/Shared/DocumentManagement/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsPurgeDocument> <pws:serviceRequest> <req:SessionTicket>AftyRXSTlnMPzozuKwq0kQ==</req:SessionTicket> <doc:DocumentIdentity> <com:DocumentRefUid>1152921504607634579</com:DocumentRefUid> </doc:DocumentIdentity> <doc:VersionNumber>1<VersionNumber>2</doc:VersionNumber> </pws:serviceRequest> </pws:PwsPurgeDocument> </soapenv:Body> </soapenv:Envelope> |
...
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
21007 | DocumentRequiredForPurgeDocument | A document identity must be specified. |
75199 | DocumentNotFound | Document not found. |