Overview
This web service deletes a specified project cost baseline (PwsProjectCostBaselineRef). The service will return the identity of the deleted contract line item (PwsContractLineItemRef). Note, contract line items that are associated with one or more projects cannot be deleted.
Request Format
- PwsDeleteProjectCostBaseline
- serviceRequest: PwsDeleteProjectCostBaselineRq
- RequestId: Int32
- SessionTicket: String
- EngagementTimestamp: String
- ProjectCostBaselineIdentity: PwsProjectCostBaselineRef
- StealEngagementLockFlag: Boolean
- serviceRequest: PwsDeleteProjectCostBaselineRq
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. | AXQ/wwat2azit9BTwxnZlg== | |
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. | ||
ProjectCostBaselineIdentity | Yes | The unique keys used to identify the project cost 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
- PwsDeleteProjectCostBaselineResponse
- PwsDeleteProjectCostBaselineResult: PwsDeleteProjectCostBaselineRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- EngagementLockStolenFromUserIdentity: PwsUserRef
- EngagementTimestamp: String
- ProjectCostBaselineIdentity: PwsProjectCostBaselineRef
- PwsDeleteProjectCostBaselineResult: PwsDeleteProjectCostBaselineRs
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. | |
Status | Click here for more information. | ||
ServerTimestampUtc | DateTime | Click here for more information. | |
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 optionally utilized for engagement locking |
Response Usage Example(s)
PwsDeleteProjectCostBaseline - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
54644 | CannotDeleteActiveProjectBaseline | Active project baselines cannot be deleted. |