Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titlePwsDeleteProjectCostBaseline Request

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.

 


EngagementTimestamp

String

No 

 


This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveEngagement(or a prior call to PwsSaveEngagement). This will cause the request to fail if any change has been made between invocations of PwsGetEngagement and PwsSaveEngagement

 


ProjectCostBaselineIdentity

PwsProjectCostBaselineRef

Yes

 


The unique keys used to identify the 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 

 


Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<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:PwsDeleteProjectCostBaseline>
         <pws:serviceRequest>
            <req:SessionTicket>AXQ/wwat2azit9BTwxnZlg==</req:SessionTicket>
            <sch:ProjectCostBaselineIdentity>
               <com:ProjectCostBaselineUid>1152921504607270663</com:ProjectCostBaselineUid>
            </sch:ProjectCostBaselineIdentity>
            <sch:StealEngagementLockFlag>true</sch:StealEngagementLockFlag>
         </pws:serviceRequest>
      </pws:PwsDeleteProjectCostBaseline>
   </soapenv:Body>
</soapenv:Envelope>

...

ErrorNumber

ErrorCode

ErrorText

54644CannotDeleteActiveProjectBaseline

Active project baselines cannot be deleted.