Versions Compared

Key

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

...

This web service deletes a specified resource. The service will return the identity of the resource that was deleted.

Request Format


Panel
titlePwsDeleteResourceRq
  • PwsDeleteResourceRq

Request Elements


Element

Data Type

Required?

Default

Description

RequestId

Int32

 

 

 

SessionTicket

String

 

 

 

PurgeFutureResourceHistoryFlag

Boolean

 

 

 

ResourceIdentity

PwsResourceRef

 

 

 

ResourceTimestamp

String

 

 

 

TerminationDateIfInUse

DateTime

 

 

 

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:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsDeleteResource>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AWeOOZxrFCHSwxj9X5YBug==</req:SessionTicket>
            <req:PurgeFutureResourceHistoryFlag>true</req:PurgeFutureResourceHistoryFlag>
            <req:ResourceIdentity>
               <com:ResourceReferenceSystemId>temporary_resource</com:ResourceReferenceSystemId>
            </req:ResourceIdentity>
            <!--req:ResourceTimestamp>?</req:ResourceTimestamp-->
            <!--req:TerminationDateIfInUse>?</req:TerminationDateIfInUse-->
         </pws:serviceRequest>
      </pws:PwsDeleteResource>
   </soapenv:Body>
</soapenv:Envelope>


Response Format

Response Elements

...


ErrorNumber

ErrorCode

ErrorText

54059EngagementNotSpecifiedA specified engagement identity was incomplete. Each engagement identity must specify either an engagement id, and engagement uid or an engagement code.
54061EngagementNotFoundThe specified engagement does not exist.