Overview
This web service deletes a specified client (PwsContractLineItemRef). The service will return the identity of the deleted client (PwsContractLineItemRef).
Request Format
- PwsDeleteContractLineItem
- serviceRequest: PwsDeleteContractLineItemRq
- RequestId: Int32
- SessionTicket: String
- ContractLineItemIdentity: PwsContractLineItemRef
- EngagementTimestamp: String
- StealLockFlag: Boolean
- serviceRequest: PwsDeleteContractLineItemRq
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. | ARKG+qjBuMq+YMu7gEYnoA== | |
ContractLineItemIdentity | Yes | This is the identity of the contract line item to be deleted. Click here for more information. | |||
EngagementTimestamp | String | No | This is a Base64 encoded timestamp utilized for engagement locking. For internal use only. | ||
StealLockFlag | 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
- PwsDeleteContractLineItemResponse
- PwsDeleteContractLineItemResult: PwsDeleteContractLineItemRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ContractLineItemIdentity: PwsContractLineItemRef
- EngagementTimestamp: String
- LockStolenFromUserIdentity: PwsUserRef
- PwsDeleteContractLineItemResult: PwsDeleteContractLineItemRs
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-01-23T18:23:31.9905096Z |
ContractLineItemIdentity | The identity of the deleted contract line item | ||
EngagementTimestamp | String | This is a Base64 encoded timestamp utilized for engagement locking. For internal use only. | AAAAAA+AxuM= |
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)
PwsDeleteContractLineItem - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
54233 | NoPermissionToDeleteContractLineItem | You do not have permission to delete this contract line item. |
54235 | ContractLineItemContainsInvoicedOrAchievedMilestones | A contract line item may not be deleted if it contains invoiced or achieved milestones. |
54948 | SpecifiedContractLineItemNotFound | Specified contract line item not found. |
54949 | ContractLineItemMustBeSpecified | A contract line item identity must be specified. |
54962 | ContractLineItemInUse | A contract line item may not be deleted if it has projects related to it. |