Overview
This web service deletes a specified project role (PwsProjectRoleRef) and returns the identity of the deleted project role (PwsProjectRoleRef)
Request Format
- PwsDeleteProjectRole
- serviceRequest: PwsDeleteProjectRoleRq
- RequestId: Int32
- SessionTicket: String
- ProjectRoleIdentity: PwsProjectRoleRef
- StealLockFlag: Boolean **deprecated**
- ZeroOutHoursFlag: Boolean
- EngagementTimestamp: String **deprecated**
- serviceRequest: PwsDeleteProjectRoleRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | Click here for more information. | |||
SessionTicket | String | Yes | Click here for more information. | AZ2QD+hg1Hm7vSa7Y3Lm3w== | |
ProjectRoleIdentity | Yes | This is the identity of the project role to be deleted. Click here for more information. | |||
StealLockFlag | Boolean | **deprecated** | |||
ZeroOutHoursFlag | Boolean | No | false | If set to 'true', requested or allocated hours are cleared before deletion. If it is set to 'false' and there are either requested or allocated hours, the request will fail. | false |
EngagementTimestamp | String | **deprecated** |
Request Usage Example(s)
Response Format
- PwsDeleteProjectRoleResponse
- PwsDeleteProjectRoleResult: PwsDeleteProjectRoleRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ProjectRoleIdentity: PwsProjectRoleRef
- EngagementTimestamp: String **deprecated**
- LockStolenFromUserIdentity: PwsUserRef **deprecated**
- PwsDeleteProjectRoleResult: PwsDeleteProjectRoleRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information | ||
ResponseId | Int32 | Click here for more information. | 0 |
Status | Click here for more information. | Ok | |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-02-28T16:41:27.5122259Z |
ProjectRoleIdentity | This is the identity of the project role that was deleted. Click here for more information. | ||
EngagementTimestamp | String | **deprecated** | AAAAAA+vLyM= |
LockStolenFromUserIdentity | **deprecated** |
Response Usage Example(s)
PwsDeleteProjectRole Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
54074 | RoleHasHoursBookedOrRequested | This project role cannot be deleted because it has hours booked or requested to it. |
54080 | ProjectRoleNotFound | Specified project role does not exist. |