Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 9
Next »
Overview
This web service inserts or updates a single client based on a detailed contract line item structure (PwsContractLineItemDetail). The service returns the identity (PwsContractLineItemRef) of the client that has been inserted or updated.
- PwsSaveContractLineItem
- 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 | PwsContractLineItemDetail | Yes |
| The detailed contract line item information to be inserted or updated. Click here for more information. |
|
EngagementCurrencyIdentity | PwsCurrencyRef | 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)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
<soapenv:Header/>
<soapenv:Body>
<pws:PwsSaveContractLineItem>
<pws:serviceRequest>
<req:RequestId>1</req:RequestId>
<req:SessionTicket>AdDMw48w49OxnEUPGUuMSw==</req:SessionTicket>
<sch:ContractLineItem>
<com:ContractLineItemName>Phase 2</com:ContractLineItemName>
<com:EngagementIdentity>
<com:EngagementCode>P001320</com:EngagementCode>
</com:EngagementIdentity>
<com:HoldbackAmount>5000</com:HoldbackAmount>
<com:HoldbackType>A</com:HoldbackType>
<com:MaxTimeContractAmount>50000</com:MaxTimeContractAmount>
<com:MinTimeContractAmount>50000</com:MinTimeContractAmount>
<com:RevenueEarnedByDate>2017-06-30T00:00:00.000Z</com:RevenueEarnedByDate>
<com:RevenueRecognitionMethod>P</com:RevenueRecognitionMethod>
<com:ContractTypeIdentity>
<com:ContractTypeName>Fixed Price Plus Expenses</com:ContractTypeName>
</com:ContractTypeIdentity>
<com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag>
<com:ModelContractedHoursAndOveragesFlag>false</com:ModelContractedHoursAndOveragesFlag>
<com:PurchaseOrderNumber>WS1320-P1</com:PurchaseOrderNumber>
</sch:ContractLineItem>
<sch:EngagementCurrencyIdentity>
<com:CurrencyCode>USD</com:CurrencyCode>
</sch:EngagementCurrencyIdentity>
<sch:StealLockFlag>true</sch:StealLockFlag>
<sch:ContractTypeClearFlag>false</sch:ContractTypeClearFlag>
<sch:OverageProjectClearFlag>false</sch:OverageProjectClearFlag>
</pws:serviceRequest>
</pws:PwsSaveContractLineItem>
</soapenv:Body>
</soapenv:Envelope>
- PwsSaveContractLineItemResponse
- PwsSaveContractLineItemResult: PwsSaveContractLineItemRs
Element | Data Type | Description | Sample Data |
---|
Messages | PwsMessage | 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 | PwsContractLineItemRef | 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 | PwsUserRef | 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)
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PwsSaveContractLineItemResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<PwsSaveContractLineItemResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
<Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-22T15:02:41.6835065Z</ServerTimestampUtc>
<a:ContractLineItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ContractLineItemCode>P001320-CL2</b:ContractLineItemCode>
<b:ContractLineItemId i:nil="true"/>
<b:ContractLineItemUid>1152921504607083624</b:ContractLineItemUid>
</a:ContractLineItemIdentity>
<a:EngagementTimestamp>AAAAAA9/RYg=</a:EngagementTimestamp>
<a:LockStolenFromUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UserDisplayName>Betty Smith</b:UserDisplayName>
<b:UserId i:nil="true"/>
<b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
<b:UserUid>1152921504607011056</b:UserUid>
</a:LockStolenFromUserIdentity>
</PwsSaveContractLineItemResult>
</PwsSaveContractLineItemResponse>
</s:Body>
</s:Envelope>