Overview
This web service inserts or updates a single contract line item based on a detailed contract line item structure (PwsContractLineItemDetail). The service returns the identity (PwsContractLineItemRef) of the contract line item that has been inserted or updated.
Request Format
- PwsSaveContractLineItem
- serviceRequest: PwsSaveContractLineItemRq
- RequestId: Int32
- SessionTicket: String
- ContractLineItem: PwsContractLineItemDetail
- EngagementCurrencyIdentity: PwsCurrencyRef
- EngagementTimestamp: String
- StealLockFlag: Boolean
- ContractTypeClearFlag: Boolean
- OverageProjectClearFlag: Boolean
- serviceRequest: PwsSaveContractLineItemRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | AdDMw48w49OxnEUPGUuMSw== | |
ContractLineItem | Yes | The detailed contract line item information to be inserted or updated. Click here for more information. | |||
EngagementCurrencyIdentity | Yes | The currency of the engagement this contract line item resides under. Click here for more information. | |||
EngagementTimestamp | String | No | This is a Base64 encoded timestamp utilized for engagement locking. For internal use only. | ||
StealLockFlag | Boolean | Yes | 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 |
ContractTypeClearFlag | Boolean | Yes | false | If set to 'true', the contract type associated with the contract line item will be set to null | false |
OverageProjectClearFlag | Boolean | Yes | false | If set to 'true', the overage project associated with the contract line item will be set to null | false |
Request Usage Example(s)
Response Format
- PwsSaveContractLineItemResponse
- PwsSaveContractLineItemResult: PwsSaveContractLineItemRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ContractLineItemIdentity: PwsContractLineItemRef
- EngagementTimestamp: String
- LockStolenFromUserIdentity: PwsUserRef
- PwsSaveContractLineItemResult: PwsSaveContractLineItemRs
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 | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information | 2018-01-22T15:02:41.6835065Z |
ContractLineItemIdentity | The unique keys used to identify the contract line item | ||
EngagementTimestamp | String | This is a Base64 encoded timestamp utilized for engagement locking. For internal use only. | AAAAAA9/RYg= |
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)
PwsSaveContractLineItem - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings