Overview
This web service deletes a specified contract line item milestone (PwsContractLineItemMilestoneRef). The service will return the identity of the deleted contract line item milestone (PwsContractLineItemMilestoneRef).
Request Format
- PwsDeleteContractLineItemMilestone
- serviceRequest: PwsDeleteContractLineItemMilestoneRq
- RequestId: Int32
- SessionTicket: String
- ContractLineItemMilestoneIdentity: PwsContractLineItemMilestoneRef
- EngagementTimestamp: String **deprecated**
- StealLockFlag: Boolean **deprecated**
- ContractLineItemTimestamp: String
- LocksToSteal: PwsEntityLockSummary[1.100]
- ProjectorLockSetId: Int32
- serviceRequest: PwsDeleteContractLineItemMilestoneRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information | 1 | ||
String | Yes | Click here for more information | AdDMw48w49OxnEUPGUuMSw== | ||
ContractLineItemMilestoneIdentity | Yes | This is the identity of the contract line item milestone to be deleted | |||
EngagementTimestamp | String | **deprecated** | |||
StealLockFlag | Boolean | **deprecated** | |||
ContractLineItemTimestamp | String | No | This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value. | AAAAABFFCOw= | |
LocksToSteal | PwsEntityLockSummary | No | The detailed information of the locks that are to be stolen. If not specified, the request will fail if any requested locks are already held. If specified, the information supplied must exactly match the current state of existing locks or the attempt to steal the existing locks will fail. Typically, this service is invoked with LocksToSteal empty or null. If there are existing locks, they will be returned in the LockHolders member of PwsFault. This data can then be sent, as is, back to the server in a second invocation of this service, as LocksToSteal, if the caller desires to steal the locks. | ||
ProjectorLockSetId | Int32 | No | A projector lock set id is an identifier for a group of one or more locks held as a unit. If the session ticket owner for this request is also the holder of a lock in this set, the response will succeed. |
Request Usage Example(s)
Response Format
- PwsDeleteContractLineItemMilestoneResponse
- PwsDeleteContractLineItemMilestoneResult: PwsDeleteContractLineItemMilestoneRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ContractLineItemMilestoneIdentity: PwsContractLineItemMilestoneRef
- EngagementTimestamp: String **deprecated**
- LockStolenFromUserIdentity: PwsUserRef **deprecated**
- ContractLineItemTimestamp: String
- StolenLocks: PwsEntityLockSummary
- PwsDeleteContractLineItemMilestoneResult: PwsDeleteContractLineItemMilestoneRs
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. | 1 |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2018-01-22T20:26:16.4306882Z | |
ContractLineItemMilestoneIdentity | The identity of the deleted contract line item milestone | ||
EngagementTimestamp | String | **deprecated** | |
LockStolenFromUserIdentity | **deprecated** | ||
ContractLineItemTimestamp | String | This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value. | AAAAABFFCOw= |
StolenLocks | PwsEntityLockSummary | This structure contains information about the locks that were stolen in order to complete this request, Will be included only when LocksToSteal is specified in the request. |
Response Usage Example(s)
PwsDeleteContractLineItemMilestone - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
Error Number | ErrorCode | ErrorText |
---|---|---|
105 | AtLeastOneItemNotFound | At least one requested item was not found. The remaining items, if any, were returned. |
50469 | EntityAlreadyLocked | One or more existing locks prevent acquisition of requested lock. |
50472 | LockReleased | Lock xxxxx of type P has been released. |
50473 | InvalidLock | Invalid lock specified. |
54233 | NoPermissionToDeleteContractLineItem | You do not have permission to delete this contract line item. |
54247 | CannotDeleteInvoicedOrAchievedMilestones | A contract line item milestone may not be deleted if it contains invoiced or achieved milestones. |
54260 | ContractLineItemMilestoneNotFound | Specified contract line item milestone not found. |