Overview
This web service updates a single project cost baseline based on a detailed project cost baseline detail structure (PwsProjectCostBaselineDetail). The service returns the identity of the project cost baseline (PwsProjectCostBaselineRef) that has been updated. If the FullDetailFlag is set to 'true', the full detailed project cost baseline element (PwsProjectCostBaselineElement) will also be returned in the response.
Request Format
Panel | ||
---|---|---|
| ||
|
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.
...
AUL1Tsqbhar4SWXC5j9T+w==
...
BaselineBucketsClearFlag
...
Boolean
...
No
...
false
...
If set to 'true', the baseline buckets are reset to 0.
...
false
...
DescriptionClearFlag
...
Boolean
...
No
...
false
...
If set to 'true', the baseline description is cleared.
...
false
...
EngagementTimestamp
...
String
...
No
...
ExternalSystemIdentifierClearFlag
...
Boolean
...
No
...
false
...
If set to 'true', the external system identifier is cleared.
...
false
...
FullDetailFlag
...
Boolean
...
No
...
false
...
If set to true, include full detailed project cost baseline element (PwsProjectCostBaselineElement) in response.
...
true
...
NewExternalSystemIdentifier
...
String (50)
...
No
...
The external system identifier is a unique identifier for a project cost baseline (may be null, but once set can only be updated to a different, non-null value).
...
CB-A
...
ProjectCostBaseline
...
...
Yes
...
false
...
This structure contains the complete set of information about a project cost baseline.
...
StealEngagementLockFlag
...
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.
...
Overview
This web service updates a single project cost baseline based on a detailed project cost baseline detail structure (PwsProjectCostBaselineDetail). The service returns the identity of the project cost baseline (PwsProjectCostBaselineRef) that has been updated. If the FullDetailFlag is set to 'true', the full detailed project cost baseline element (PwsProjectCostBaselineElement) will also be returned in the response.
Request Format
Panel | ||
---|---|---|
| ||
|
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. | AUL1Tsqbhar4SWXC5j9T+w== | |
BaselineBucketsClearFlag | Boolean | No | false | If set to 'true', the baseline buckets are reset to 0. | false |
DescriptionClearFlag | Boolean | No | false | If set to 'true', the baseline description is cleared. | false |
EngagementTimestamp | String | **deprecated** | |||
ExternalSystemIdentifierClearFlag | Boolean | No | false | If set to 'true', the external system identifier is cleared. | false |
FullDetailFlag | Boolean | No | false | If set to true, include full detailed project cost baseline element (PwsProjectCostBaselineElement) in response. | true |
NewExternalSystemIdentifier | String (50) | No | The external system identifier is a unique identifier for a project cost baseline (may be null, but once set can only be updated to a different, non-null value). | CB-A | |
ProjectCostBaseline | Yes | false | This structure contains the complete set of information about a project cost baseline. | ||
StealEngagementLockFlag | Boolean | **deprecated** | |||
LocksToSteal | PwsEntityLockSummary[1.100] | 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. |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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:PwsUpdateProjectCostBaseline> <pws:serviceRequest> <req:SessionTicket>AUL1Tsqbhar4SWXC5j9T+w==</req:SessionTicket> <sch:BaselineBucketsClearFlag>false</sch:BaselineBucketsClearFlag> <sch:DescriptionClearFlag>false</sch:DescriptionClearFlag> <sch:ExternalSystemIdentifierClearFlag>false</sch:ExternalSystemIdentifierClearFlag> <sch:FullDetailFlag>true</sch:FullDetailFlag> <sch:NewExternalSystemIdentifier>CB-A</sch:NewExternalSystemIdentifier> <sch:ProjectCostBaseline> <com:ProjectCostBaselineUid>1152921504607272115</com:ProjectCostBaselineUid> <com:ActiveProjectCostBaselineFlag>true</com:ActiveProjectCostBaselineFlag> <com:CaMetricActiveFlag>true</com:CaMetricActiveFlag> <com:DaMetricActiveFlag>true</com:DaMetricActiveFlag> <com:Description>CB-A Update</com:Description> <com:EaMetricActiveFlag>true</com:EaMetricActiveFlag> <com:PrimaryMetric>C</com:PrimaryMetric> <com:ProjectCostBaselineName>CB-A</com:ProjectCostBaselineName> <com:ProjectCostBaselineBuckets> <com:PwsProjectCostBaselineBucket> <com:ClientAmount>1000</com:ClientAmount> <com:DisbursedAmount>700</com:DisbursedAmount> <com:EndDate>2018-01-31T00:00:00.000Z</com:EndDate> <com:ExpenseAmount>700</com:ExpenseAmount> <com:ExpenseTypeIdentity> <com:ExpenseTypeName>Meals</com:ExpenseTypeName> </com:ExpenseTypeIdentity> <com:StartDate>2018-01-01T00:00:00.000Z</com:StartDate> </com:PwsProjectCostBaselineBucket> </com:ProjectCostBaselineBuckets> </sch:ProjectCostBaseline> <sch:StealEngagementLockFlag>true</sch:StealEngagementLockFlag> </pws:serviceRequest> </pws:PwsUpdateProjectCostBaseline> </soapenv:Body> </soapenv:Envelope> |
...