This web service inserts or updates a single project cost baseline based on a detailed cost baseline structure (PwsProjectCostBaselineDetail). The service returns the identity (PwsClientRef) of the client that has been inserted or updated. The caller can optionally request that the full client detail (PwsClientElement) be included in the response.
Request Format
- PwsCreateProjectCostBaseline
- serviceRequest: PwsCreateProjectCostBaselineRq
- RequestId: Int32
- SessionTicket: String
- ActualsCutoffDate: DateTime
- Basis: String
- Dimension: String
- EngagementTimestamp: String
- FullDetailFlag: Boolean
- IntervalCount: Int32
- ProjectCostBaseline: PwsProjectCostBaselineDetail
- ProjectIdentity: PwsProjectRef
- StartDate: DateTime
- StealEngagementLockFlag: Boolean
- TimePhase: String
- serviceRequest: PwsCreateProjectCostBaselineRq
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. | ||
ActualsCutoffDate | DateTime | No | The actuals cut off date for the cost budget baseline | ||
Basis | String | Yes | The cost baseline basis: "N" for none "P" for project cost plan | ||
Dimension | String | Yes | The cost baseline dimension: "N" for none "E" for expense type "G" for expense type group | ||
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 PwsGetEngagement (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. | ||
FullDetailFlag | Boolean | Yes | If set to 'true', the full detailed project cost baseline element will be included in the response | ||
IntervalCount | Int32 | Yes | The interval count or number of buckets of the cost baseline | ||
ProjectCostBaseline | Yes | Details of the project cost baseline that was updated or saved. Click PwsProjectCostBaselineDetail for more information. | |||
ProjectIdentity | Yes | The project associated with the cost budget baseline | |||
StartDate | DateTime | Yes | The overall start date of the project cost budget baseline | ||
StealEngagementLockFlag | Boolean | Yes | 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 | |
TimePhase | String | Yes | The time phase associated with the cost budget baseline: "N" for none "D" for daily "W" for weekly "H" for hourly "M" for monthly "Q" for quarterly "Y" for yearly |