Overview
This web service deletes a specified project cost baseline (PwsProjectCostBaselineRef). The service will return the identity of the deleted project cost baseline (PwsProjectCostBaselineRef).
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 PwsGetEngagement. This will cause the request to fail if any change has been made between invocations of PwsGetEngagement and PwsDeleteProjectCostBaseline. | ||
ProjectCostBaselineIdentity | Yes | The identity of the project cost baseline to be deleted. | |||
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 whom the lock was stolen. | ||
EngagementTimestamp | String | This is a Base64 encoded timestamp optionally used 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 |
---|---|---|
54588 | NoPermissionToDeleteProjectBaseline | You do not have appropriate permission to delete this project baseline. |
54644 | CannotDeleteActiveProjectBaseline | Active project baselines cannot be deleted. |
54879 | SpecifiedProjectCostBaselineNotFound | Specified project cost baseline was not found. |
54883 | ProjectCostBaselineRefRequired | A project cost baseline must be specified. |