Overview
This web service deletes a specified contract line item (PwsContractLineItemRef). 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
- PwsDeleteContractLineItem
- serviceRequest: PwsDeleteContractLineItemRq
- RequestId: Int32
- SessionTicket: String
- ContractLineItemIdentity: PwsContractLineItemRef
- EngagementTimestamp: String
- StealLockFlag: Boolean **deprecated**
- 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 | |||
EngagementTimestamp | String | **deprecated** | |||
StealLockFlag | Boolean | **deprecated** |
Request Usage Example(s)
Response Format
- PwsDeleteContractLineItemResponse
- PwsDeleteContractLineItemResult: PwsDeleteContractLineItemRs
- Messages: PwsMessage[]
- ResponseId: Int32
- RequestStatus: RequestStatus
- ServerTimestampUtc: DateTime
- ContractLineItemIdentity: PwsContractLineItemRef
- EngagementTimestamp: String **deprecated**
- LockStolenFromUserIdentity: PwsUserRef **deprecated**
- 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 | **deprecated** | |
LockStolenFromUserIdentity | **deprecated** |
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. |