Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview


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

Request Format


PwsDeleteResourceRq
  • 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)


Example 01
<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

Response Usage Example(s)

PwsDeleteResource - Common Errors and Warnings


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.
  • No labels