Overview
This web service updates a single project time baseline based on a detailed project time baseline detail structure (PwsProjectTimeBaselineDetail). The service returns the identity of the project time baseline (PwsProjectTimeBaselineRef) that has been updated. If the FullDetailFlag is set to 'true', the full detailed project cost baseline element (PwsProjectTimeBaselineElement) will also be returned in the response.
Request Format
- PwsUpdateProjectTimeBaseline
- serviceRequest: PwsUpdateProjectTimeBaselineRq
- RequestId: Int32
- SessionTicket: String
- BaselineBucketsClearFlag: Boolean
- DescriptionClearFlag: Boolean
- EngagementTimestamp: String
- ExternalSystemIdentifierClearFlag: Boolean (50)
- FullDetailFlag: Boolean
- NewExternalSystemIdentifier: String (50)
- ProjectTimeBaseline: PwsProjectTimeBaselineDetail
- StealEngagementLockFlag: Boolean
- serviceRequest: PwsUpdateProjectTimeBaselineRq
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 | AUL1Tsqbhar4SWXC5j9T+w== | |
BaselineBucketsClearFlag | Boolean | No | false | If set to 'true', the baseline buckets are reset to 0 | false |
DescriptionClearFlag | Boolean | No | false | If set to 'true', the baseline description is cleared | 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. | ||
ExternalSystemIdentifierClearFlag | Boolean (50) | No | false | If set to 'true', the external system identifier is cleared | false |
FullDetailFlag | Boolean | No | false | If set to true, include full detailed project time baseline element (PwsProjectTimeBaselineElement) in response | false |
NewExternalSystemIdentifier | String (50) | No | The external system identifier is a unique identifier for a project cost baseline (may be null, but once set can only be updated to a different, non-null value) | TB-A | |
ProjectTimeBaseline | Yes | This structure contains the complete set of information about a project time baseline. | |||
StealEngagementLockFlag | Boolean | No | false | If set to 'true', any locks on the engagement 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
- PwsUpdateProjectTimeBaselineResponse
- PwsUpdateProjectTimeBaselineResult: PwsUpdateProjectTimeBaselineRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- EngagementLockStolenFromUserIdentity: PwsUserRef
- EngagementTimestamp: String
- ProjectTimeBaseline: PwsProjectTimeBaselineElement
- ProjectTimeBaselineIdentity: PwsProjectTimeBaselineRef
- PwsUpdateProjectTimeBaselineResult: PwsUpdateProjectTimeBaselineRs
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-01T19:53:10.2230806Z |
EngagementLockStolenFromUserIdentity | If a lock is stolen in the process of updating an engagement, this identifies the user from which the lock was stolen from | ||
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 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. | AAAAAA64KwI= |
ProjectTimeBaseline | This structure contains the complete set of information about a project time baseline (less any subordinate entities) | ||
ProjectTimeBaselineIdentity | This structure represents the unique key fields associated with identifying a project time baseline |
Response Usage Example(s)
PwsUpdateProjectTimeBaseline - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
34000 | InvalidValueForProjectTimeBaselineBasis | The value specified for time baseline basis is invalid. Valid values are T for Task Plan, R for Resource Requests, P for Previous Resource Requests, S for Scheduled Resources, A for Approved And Current Requested, B for Approved And Current Booked, and for None. |
34002 | InvalidValueForProjectTimeBaselineDimension | The value specified for time baseline dimension is invalid. Valid values are M for Rate Type, K for Task Type, D for Resource Department, T for Resource Title, R for Role, S for Resource, and N for None. |
54923 | SpecifiedProjectTimeBaselineNotFound | Specified project time baseline was not found. |
54961 | ProjectTimeBaselineRefRequired | A project time baseline must be specified. |