Versions Compared

Key

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

...

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information

1

SessionTicket

String

Yes

Click here for more information

Click here for more information

AWeOOZxrFCHSwxj9X5YBug==

PurgeFutureResourceHistoryFlag

Boolean

No

false

If set to true, the resource's history record will be purged from the database

true

ResourceIdentity

PwsResourceRef

Yes


The unique key fields associated with identifying a resource


ResourceTimestamp

String

No


This is a Base64 encoded timestamp optionally utilized for resource locking


TerminationDateIfInUse

DateTime

No


The termination date of the resource


...

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>
         </pws:serviceRequest>
      </pws:PwsDeleteResource>
   </soapenv:Body>
</soapenv:Envelope>


Response Format


Panel
titlePwsDeleteResourceRs

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

 The web service response status and message. Click here for more information


ResponseId

Int32

 Click here for more information

1

Status

RequestStatus

 Click here for more information

Ok

ServerTimestampUtc

DateTime

 Click here for more information

2018-10-17T16:39:41.3893819Z

ResourceIdentity

PwsResourceRef

The unique key fields associated with identifying a resource


Timestamp

String

 This is a Base64 encoded timestamp optionally utilized for resource locking.


Response Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsDeleteResourceResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsDeleteResourceResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-10-17T16:39:41.3893819Z</ServerTimestampUtc>
            <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ResourceDisplayName>Temporary Resource</b:ResourceDisplayName>
               <b:ResourceId i:nil="true"/>
               <b:ResourceReferenceSystemId>temporary_resource</b:ResourceReferenceSystemId>
               <b:ResourceUid>1152921504607131540</b:ResourceUid>
            </a:ResourceIdentity>
            <a:Timestamp i:nil="true"/>
         </PwsDeleteResourceResult>
      </PwsDeleteResourceResponse>
   </s:Body>
</s:Envelope>


PwsDeleteResource - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

54059
50024
EngagementNotSpecifiedA 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
EntityNotFoundEntity PwsResourceRef was not found.
50070AccessPermissionDeniedPermission denied.