...
This web service deletes a specified resource. The service will return the identity of the resource that was deleted.
Request Format
Panel | ||
---|---|---|
| ||
|
Request Elements
Element | Data Type | Required? | Default | Description |
---|---|---|---|---|
RequestId | Int32 |
|
|
|
SessionTicket | String |
|
|
|
PurgeFutureResourceHistoryFlag | Boolean |
|
|
|
ResourceIdentity |
|
|
| |
ResourceTimestamp | String |
|
|
|
TerminationDateIfInUse | DateTime |
|
|
|
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: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
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
54059 | EngagementNotSpecified | A specified engagement identity was incomplete. Each engagement identity must specify either an engagement id, and engagement uid or an engagement code. |
54061 | EngagementNotFound | The specified engagement does not exist. |