Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This web service removes older version of a Projector document.  If there is only one version exists, the web service is a no-op.  the version number is provided, the versions that are older than the specified version are purged.  Otherwise, any version older than the current version, if exists, is purged. 

Request Format

Panel
titlePwsPurgeDocument Request

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

PwsDocumentRef

Yes


The document whose versions are to be purged. Click here for more information.


VersionNumber

Int16

No

The current version number

Document versions lower than the version number specified is purged. If not specified, the current version number is used as default.

2

Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<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>2</doc:VersionNumber>
         </pws:serviceRequest>
      </pws:PwsPurgeDocument>
   </soapenv:Body>
</soapenv:Envelope>

...