Overview
This web service inserts or updates a single project task role based on a detailed project role structure (PwsProjectTaskRoleDetail). The service returns the identity (PwsProjectTaskRoleDetail) of the project Task role that has been inserted or updated.
Request Format
- PwsSaveProjectTaskRole
- serviceRequest: PwsSaveProjectTaskRoleRq
- RequestId: Int32
- SessionTicket: String
- EngagementTimestamp: String
- ProjectTaskRole: PwsProjectTaskRoleDetail
- StealLockFlag: Boolean
- serviceRequest: PwsSaveProjectTaskRoleRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | Click here for more information. | |||
SessionTicket | String | Click here for more information. | AZ2QD+hg1Hm7vSa7Y3Lm3w== | ||
EngagementTimestamp | String | This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned in a prior response. This will cause the request to fail if any change has been made between the two invocations. | AAAAAA+xjsY= | ||
ProjectTaskRole | The complete set of information about the project task role. Click here for more information. | ||||
StealLockFlag | Boolean | If set to 'true', any locks on the project will be stolen if it is currently locked, otherwise, if it is set to 'false' and a lock is in place the service will fail. | true |
Request Usage Example(s)
Response Format
- PwsSaveProjectTaskRoleResponse
- PwsSaveProjectTaskRoleResult: PwsSaveProjectTaskRoleRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ProjectTaskRoleIdentity: PwsProjectTaskRoleRef
- EngagementTimestamp: String
- LockStolenFromUserIdentity: PwsUserRef
- PwsSaveProjectTaskRoleResult: PwsSaveProjectTaskRoleRs
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-03-01T16:44:55.4574017Z |
ProjectTaskRoleIdentity | The identity of the project task role that was just saved. Click here for more information. | ||
EngagementTimestamp | String | This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned in a prior response. This will cause the request to fail if any change has been made between the two invocations. | AAAAAA+xjsY= |
LockStolenFromUserIdentity | If a lock is stolen in the process of updating an engagement, this identifies the user from which the lock was stolen from. Click here for more information. |
Response Usage Example(s)
Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|