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
- PwsSaveProjectTaskType
- serviceRequest: PwsSaveProjectTaskTypeRq
- RequestId: Int32
- SessionTicket: String
- AllowedProjectRateTypesClearFlag: Boolean
- EngagementTimestamp: String
- ProjectIdentity: PwsProjectRef
- ProjectTaskType: PwsProjectTaskTypeDetail
- StealLockFlag: Boolean
- serviceRequest: PwsSaveProjectTaskTypeRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | ||
AllowedProjectRateTypesClearFlag | Boolean | No | false | If set to 'true', non-default allowed project rate types are cleared. Allowed project rate type supplied in PwsProjectTaskTypeDetail is ignored. | true |
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 in a prior response. This will cause the request to fail if any change has been made between the two invocations. | ||
ProjectIdentity | Yes | The identity of the project for the project task type. Click here for more information. | |||
ProjectTaskType | Yes | The complete set of information for project task type. Click here for more information. | |||
StealLockFlag | Boolean | No | false | 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. | false |
Request Usage Example(s)
Response Format
- PwsSaveProjectTaskTypeResponse
- PwsSaveProjectTaskTypeResult: PwsSaveProjectTaskTypeRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ProjectTaskTypeIdentity: PwsProjectTaskTypeRef
- EngagementTimestamp: String
- LockStolenFromUserIdentity: PwsUserRef
- PwsSaveProjectTaskTypeResult: PwsSaveProjectTaskTypeRs
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 | RequestStatus | Click here for more information. | Ok |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-03-01T17:44:55.4574017Z |
ProjectTaskTypeIdentity | The identity of the project task type 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 |
---|---|---|
15002 | ProjectNotSpecifiedForSaveTaskType | No project was specified for saving project task type. |
54646 | ProjectTaskTypeNameAlreadyInUse | The specified project task type name is already in use. |
54650 | ProjectRateTypeNotFound | The specified default project rate type does not exist. |
55069 | TaskTypePurchaseOrderSpecifiedWhenInheriting | Purchase order number may not be specified when inheriting purchase order number. |