...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | Click here for more information. | |||
SessionTicket | String | Click here for more information. | AZ2QD+hg1Hm7vSa7Y3Lm3w== | ||
ProjectRoleIdentity | Yes | ||||
StealLockFlag | Boolean | No | false | false | |
ZeroOutHoursFlag | Boolean | No | false | false | |
EngagementTimestamp | String | No | This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveEngagement(or a prior call to PwsSaveEngagement). This will cause the request to fail if any change has been made between invocations of PwsGetEngagement and PwsSaveEngagement. |
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:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsDeleteProjectRole> <pws:serviceRequest> <req:SessionTicket>AZ2QD+hg1Hm7vSa7Y3Lm3w==</req:SessionTicket> <sch:ProjectRoleIdentity> <com:ExternalSystemIdentifier>Role-301</com:ExternalSystemIdentifier> <com:ProjectRoleUid>1152921504609594607</com:ProjectRoleUid> </sch:ProjectRoleIdentity> <sch:StealLockFlag>true</sch:StealLockFlag> <sch:ZeroOutHoursFlag>true</sch:ZeroOutHoursFlag> </pws:serviceRequest> </pws:PwsDeleteProjectRole> </soapenv:Body> </soapenv:Envelope> |
...
ErrorNumber | ErrorCode | ErrorText | |
---|---|---|---|
10154074 | ClientInactivated | The client could not be deleted and instead it was marked inactiveRoleHasHoursBookedOrRequested | This project role cannot be deleted because it has hours booked or requested to it. |