PwsCreateProjectTimeBaseline

Overview


This web service inserts a single project time baseline based on a detailed project time baseline structure (PwsProjectTimeBaselineDetail). A project time baseline is the basis for a budget.  A baseline can be very simple - this project must be completed within 100 hours. Or very complex - this project has three tasks and each task cannot cost the client more than $3,000 every week. This help document guides you through the baseline creation process. The service returns the identity of the project time baseline (PwsProjectTimeBaselineRef) that has been inserted. The caller can optionally request that the full project time baseline detail (PwsProjectTimeBaselineElement) be included in the response. 


Request Format


PwsCreateProjectTimeBaseline Request
  • PwsCreateProjectTimeBaseline
    • serviceRequest: PwsCreateProjectTimeBaselineRq

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


ActualsCutoffDate

DateTime

No


The actuals cutoff date for the project time baseline. This is used when you specify a basis of 'A' or 'B', and specifies the cutoff point after which scheduled (booked or requested) hours are used to populate the budget buckets instead of actuals.


Basis

String

Yes


The project time baseline basis. This is used to determine how to populate the initial baseline buckets. For example, if the basis is specified as 'S', the initial budget values will be set based on the hours currently scheduled on the project (or the financial amounts associated with those hours, depending upon the selected metric(s)). This should be one of:

"T" for task plan

"R" for resource requested hours

"P" for resource previously requested hours

"S" for resource scheduled hours

"A" for approved and currently requested hours

"B" for approved and currently booked hours

"N" for none (buckets specified manually within the ProjectTimeBaseline structure)


Dimension

String

Yes


The project time baseline dimension. The dimension identifies how the budget is to be broken up. For example, a budget with a dimension of 'R' allows for a budget number to be specified for each role on the project. This should be one of:

"M" for rate type

"K" for task type

"D" for resource department

"T" for resource title

"R" for role

"S" for resource

"N" for none


EngagementTimestamp

String

**deprecated**




FullDetailFlag

Boolean

No

false

If set to 'true', the full detailed project time baseline element will be included in the response 


IntervalCount

Int32

**deprecated**




ProjectIdentity

PwsProjectRef

Yes


The project to which the time baseline should be added


ProjectTimeBaseline

PwsProjectTimeBaselineDetail

Yes


Details of the project time baseline to be created. This structure identifies important properties of the baseline, such as the baseline name, which metrics are active and which one is the primary metric. It also contains, when Basis is "N", the individual baseline buckets, broken out by the selected dimension and time phase. 


StartDate

DateTime

**deprecated**




StealEngagementLockFlag

Boolean

**deprecated**




TimePhase

String

Yes


The time phase associated with the project time baseline:

"N" for none

"D" for daily

"W" for weekly

"H" for hourly

"M" for monthly

"Q" for quarterly

"Y" for yearly


LocksToStealPwsEntityLockSummaryNo
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.
ProjectorLockSetIdInt32No
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 request can proceed and will not be blocked by the lock.
RateTaskTimestampStringNo
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.

Request Usage Example(s)


Example 01
<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:PwsCreateProjectTimeBaseline>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>Af2v8Ie/yFiUtqHqc3felw==</req:SessionTicket>
            <sch:ActualsCutoffDate>2018-03-31T00:00:00.000Z</sch:ActualsCutoffDate>
            <sch:Basis>N</sch:Basis>
            <sch:Dimension>S</sch:Dimension>
            <sch:FullDetailFlag>false</sch:FullDetailFlag>
            <sch:IntervalCount>3</sch:IntervalCount>
            <sch:ProjectIdentity>
               <com:ProjectCode>P001407-001</com:ProjectCode>
            </sch:ProjectIdentity>
            <sch:ProjectTimeBaseline>
               <com:ActiveProjectTimeBaselineFlag>true</com:ActiveProjectTimeBaselineFlag>
               <com:BarMetricActiveFlag>true</com:BarMetricActiveFlag>
               <com:ChgMetricActiveFlag>false</com:ChgMetricActiveFlag>
               <com:CrMetricActiveFlag>false</com:CrMetricActiveFlag>
               <com:Description>Billing Adjusted Revenue Baseline</com:Description>
               <com:HrsMetricActiveFlag>false</com:HrsMetricActiveFlag>
               <com:PrimaryMetric>B</com:PrimaryMetric>
               <com:ProjectTimeBaselineName>BAR Baseline</com:ProjectTimeBaselineName>
               <com:RdcMetricActiveFlag>false</com:RdcMetricActiveFlag>
               <com:ProjectTimeBaselineBuckets>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-01-31T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>PS (USA) - 02</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-01-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-02-28T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>PS (USA) - 02</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-02-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-03-31T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>PS (USA) - 02</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-03-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
               </com:ProjectTimeBaselineBuckets>
            </sch:ProjectTimeBaseline>
            <sch:StartDate>2018-01-01T00:00:00.000Z</sch:StartDate>
            <sch:StealEngagementLockFlag>true</sch:StealEngagementLockFlag>
            <sch:TimePhase>M</sch:TimePhase>
         </pws:serviceRequest>
      </pws:PwsCreateProjectTimeBaseline>
   </soapenv:Body>
</soapenv:Envelope>
Example 02 - lock stolen
<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:PwsCreateProjectTimeBaseline>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>Ade8vXDjCIr0kcDpdVTbCw==</req:SessionTicket>
            <sch:ActualsCutoffDate>2018-03-31T00:00:00.000Z</sch:ActualsCutoffDate>
            <sch:Basis>N</sch:Basis>
            <sch:Dimension>S</sch:Dimension>
            <sch:FullDetailFlag>false</sch:FullDetailFlag>
            <sch:IntervalCount>3</sch:IntervalCount>
            <sch:ProjectIdentity>
               <com:ProjectCode>P001125-001</com:ProjectCode>
            </sch:ProjectIdentity>
            <sch:ProjectTimeBaseline>
               <com:ActiveProjectTimeBaselineFlag>true</com:ActiveProjectTimeBaselineFlag>
               <com:BarMetricActiveFlag>true</com:BarMetricActiveFlag>
               <com:ChgMetricActiveFlag>false</com:ChgMetricActiveFlag>
               <com:CrMetricActiveFlag>false</com:CrMetricActiveFlag>
               <com:Description>Billing Adjusted Revenue Baseline</com:Description>
               <com:HrsMetricActiveFlag>false</com:HrsMetricActiveFlag>
               <com:PrimaryMetric>B</com:PrimaryMetric>
               <com:ProjectTimeBaselineName>BAR Baseline-003</com:ProjectTimeBaselineName>
               <com:RdcMetricActiveFlag>false</com:RdcMetricActiveFlag>
               <com:ProjectTimeBaselineBuckets>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-01-31T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>001</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-01-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-02-28T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>002</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-02-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
                  <com:PwsProjectTimeBaselineBucket>
                     <com:BillingAdjustedRevenue>550</com:BillingAdjustedRevenue>
                     <com:EndDate>2018-03-31T00:00:00.000Z</com:EndDate>
                     <com:ResourceIdentity>
                        <com:ResourceReferenceSystemId>003</com:ResourceReferenceSystemId>
                     </com:ResourceIdentity>
                     <com:StartDate>2018-03-01T00:00:00.000Z</com:StartDate>
                  </com:PwsProjectTimeBaselineBucket>
               </com:ProjectTimeBaselineBuckets>
            </sch:ProjectTimeBaseline>
            <sch:StartDate>2018-01-01T00:00:00.000Z</sch:StartDate>
            <sch:StealEngagementLockFlag>false</sch:StealEngagementLockFlag>
            <sch:TimePhase>M</sch:TimePhase>
            <sch:LocksToSteal>
               <!--Zero or more repetitions:-->
               <com:PwsEntityLockSummary>
                  <!--Optional:-->
                  <com:EntityIdentity>
                     <!--Optional:-->
                     <com:EntityCode>P001125-001</com:EntityCode>
                     <com:LockType>P</com:LockType>
                  </com:EntityIdentity>
                  <!--Optional:-->
                  <com:EntityLockSummary>
                     <!--Zero or more repetitions:-->
                     <com:PwsEntityLockSummaryItem>
                        <!--Optional:-->
                        <com:LockCount>1</com:LockCount>
                        <!--Optional:-->
                        <com:LockHolderUserIdentity>
                           <!--Optional:-->
                           <com:UserDisplayName>Krakauer, Larry</com:UserDisplayName>
                        </com:LockHolderUserIdentity>
                        <!--Optional:-->
                        <com:MostRecentLockAcquisitionTimestamp>2018-11-14T20:03:58.873Z</com:MostRecentLockAcquisitionTimestamp>
                     </com:PwsEntityLockSummaryItem>
                  </com:EntityLockSummary>
               </com:PwsEntityLockSummary>
            </sch:LocksToSteal>
         </pws:serviceRequest>
      </pws:PwsCreateProjectTimeBaseline>
   </soapenv:Body>
</soapenv:Envelope>
Example 03 - after deprecating start date and interval
<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:PwsCreateProjectTimeBaseline>
         <!--Optional:-->
         <pws:serviceRequest>
            <req:SessionTicket>AulSNYKKF9/9F4E1+FWK8A==</req:SessionTicket>
            <sch:ActualsCutoffDate>2020-04-23T00:00:00.000Z</sch:ActualsCutoffDate>
            <sch:Basis>S</sch:Basis>
            <sch:Dimension>R</sch:Dimension>
            <sch:FullDetailFlag>true</sch:FullDetailFlag>
            <sch:ProjectIdentity>
               <!--Optional:-->
               <com:ProjectCode>P001752-001</com:ProjectCode>
            </sch:ProjectIdentity>
            <sch:ProjectTimeBaseline>
               <com:ActiveProjectTimeBaselineFlag>false</com:ActiveProjectTimeBaselineFlag>
               <!--Optional:-->
               <com:BarMetricActiveFlag>true</com:BarMetricActiveFlag>
               <!--Optional:-->
               <com:ChgMetricActiveFlag>true</com:ChgMetricActiveFlag>
               <!--Optional:-->
               <com:CrMetricActiveFlag>true</com:CrMetricActiveFlag>
               <!--Optional:-->
               <com:Description>Created on 04/27 via WS Time #1</com:Description>
               <!--Optional:-->
               <com:HrsMetricActiveFlag>true</com:HrsMetricActiveFlag>
               <!--Optional:-->
               <com:PrimaryMetric>H</com:PrimaryMetric>
               <!--Optional:-->
               <com:ProjectTimeBaselineName>042720-WS-#1-Time</com:ProjectTimeBaselineName>
               <!--Optional:-->
               <com:RdcMetricActiveFlag>true</com:RdcMetricActiveFlag>
               <!--Optional:-->
               <com:ProjectTimeBaselineBuckets> 
               </com:ProjectTimeBaselineBuckets>
               <!--Optional:-->
               <com:UserDefinedFields>
                     <com:UdfName>BL_TIME_Txt</com:UdfName>
                     <com:TextValue>Test</com:TextValue>
               </com:UserDefinedFields>
            </sch:ProjectTimeBaseline>
            <!--Optional:-->
             <sch:TimePhase>Q</sch:TimePhase>
         </pws:serviceRequest>
      </pws:PwsCreateProjectTimeBaseline>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsCreateProjectTimeBaseline Response

Response Elements


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-29T21:55:08.7579802Z

EngagementLockStolenFromUserIdentity

PwsUserRef

**deprecated**


EngagementTimestamp

String

**deprecated**


ProjectTimeBaseline

PwsProjectTimeBaselineElement

The complete set of information about the project time baseline. Specify FullDetailFlag = true in request to get this value returned in the response.


ProjectTimeBaselineIdentity

PwsProjectTimeBaselineRef

The unique keys used to identify the project time baseline 


RateTaskTimestampStringThis 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=
StolenLocksPwsEntityLockSummaryThis 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)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsCreateProjectTimeBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsCreateProjectTimeBaselineResult 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-02-02T16:25:50.6173692Z</ServerTimestampUtc>
            <a:EngagementLockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:EngagementTimestamp>AAAAAA62D20=</a:EngagementTimestamp>
            <a:ProjectTimeBaseline i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:ProjectTimeBaselineIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ExternalSystemIdentifier i:nil="true"/>
               <b:ProjectTimeBaselineId i:nil="true"/>
               <b:ProjectTimeBaselineUid>1152921504607411672</b:ProjectTimeBaselineUid>
            </a:ProjectTimeBaselineIdentity>
            <a:RateTaskTimestamp>AAAAAA62D24=</a:RateTaskTimestamp>
            <a:StolenLocks xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsCreateProjectTimeBaselineResult>
      </PwsCreateProjectTimeBaselineResponse>
   </s:Body>
</s:Envelope>
Example 02 - lock stolen
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsCreateProjectTimeBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsCreateProjectTimeBaselineResult 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-11-14T20:04:49.4953921Z</ServerTimestampUtc>
            <a:EngagementLockStolenFromUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>
               <b:UserId i:nil="true"/>
               <b:UserReferenceSystemId>097</b:UserReferenceSystemId>
               <b:UserUid>1152921504606944254</b:UserUid>
            </a:EngagementLockStolenFromUserIdentity>
            <a:EngagementTimestamp>AAAAABFHids=</a:EngagementTimestamp>
            <a:ProjectTimeBaseline i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:ProjectTimeBaselineIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ExternalSystemIdentifier i:nil="true"/>
               <b:ProjectTimeBaselineId i:nil="true"/>
               <b:ProjectTimeBaselineUid>1152921504607428732</b:ProjectTimeBaselineUid>
            </a:ProjectTimeBaselineIdentity>
            <a:RateTaskTimestamp>AAAAABFHigk=</a:RateTaskTimestamp>
            <a:StolenLocks xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:EntityIdentity>
                  <b:EntityCode>P001125-001</b:EntityCode>
                  <b:EntityId i:nil="true"/>
                  <b:EntityUid>1152921504607425735</b:EntityUid>
                  <b:LockType>RT</b:LockType>
               </b:EntityIdentity>
               <b:EntityLockSummary>
                  <b:PwsEntityLockSummaryItem>
                     <b:LockCount>1</b:LockCount>
                     <b:LockHolderUserIdentity>
                        <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>097</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944254</b:UserUid>
                     </b:LockHolderUserIdentity>
                     <b:MostRecentLockAcquisitionTimestamp>2018-11-14T20:03:58.873Z</b:MostRecentLockAcquisitionTimestamp>
                  </b:PwsEntityLockSummaryItem>
               </b:EntityLockSummary>
            </a:StolenLocks>
         </PwsCreateProjectTimeBaselineResult>
      </PwsCreateProjectTimeBaselineResponse>
   </s:Body>
</s:Envelope>
Example 03 - after deprecating start date and interval
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsCreateProjectTimeBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsCreateProjectTimeBaselineResult 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/">
               <b:PwsMessage>
                  <b:AdditionalErrorText>Message 136: This request was executed against the QA [appqa.projectorpsa.com] environment.</b:AdditionalErrorText>
                  <b:ErrorCode>NonProductionEnvironment</b:ErrorCode>
                  <b:ErrorNumber>136</b:ErrorNumber>
                  <b:ErrorText>This web service request was executed against a non-production instance of Projector.</b:ErrorText>
                  <b:Type>Information</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
               </b:PwsMessage>
            </Messages>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2020-04-27T17:33:53.5419568Z</ServerTimestampUtc>
            <a:EngagementLockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:EngagementTimestamp>AAAAAB9A/50=</a:EngagementTimestamp>
            <a:ProjectTimeBaseline xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:Basis>S</b:Basis>
               <b:CreatedByUser>
                  <b:UserDisplayName>Luke Morrison, P. Eng.</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>LSM</b:UserReferenceSystemId>
                  <b:UserUid>2305843009213878555</b:UserUid>
                  <b:EmailAddress>luke@plc.com</b:EmailAddress>
                  <b:FirstName>Luke</b:FirstName>
                  <b:LastName>Morrison</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:CreatedByUser>
               <b:CreatedTimestamp>2020-04-27T17:33:53.653Z</b:CreatedTimestamp>
               <b:Dimension>R</b:Dimension>
               <b:EndDate i:nil="true"/>
               <b:EngagementTimestamp>AAAAAB9A/50=</b:EngagementTimestamp>
               <b:LastUpdatedByUser>
                  <b:UserDisplayName>Luke Morrison, P. Eng.</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>LSM</b:UserReferenceSystemId>
                  <b:UserUid>2305843009213878555</b:UserUid>
                  <b:EmailAddress>luke@plc.com</b:EmailAddress>
                  <b:FirstName>Luke</b:FirstName>
                  <b:LastName>Morrison</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastUpdatedByUser>
               <b:LastUpdatedTimestamp>2020-04-27T17:33:53.653Z</b:LastUpdatedTimestamp>
               <b:ProjectTimeBaselineBucketDateIntervals/>
               <b:ProjectTimeBaselineDetail>
                  <b:ExternalSystemIdentifier i:nil="true"/>
                  <b:ProjectTimeBaselineId i:nil="true"/>
                  <b:ProjectTimeBaselineUid>2305843009214840748</b:ProjectTimeBaselineUid>
                  <b:ActiveProjectTimeBaselineFlag>false</b:ActiveProjectTimeBaselineFlag>
                  <b:BarMetricActiveFlag>true</b:BarMetricActiveFlag>
                  <b:ChgMetricActiveFlag>true</b:ChgMetricActiveFlag>
                  <b:CrMetricActiveFlag>true</b:CrMetricActiveFlag>
                  <b:Description>Created on 04/27 via WS Time #1</b:Description>
                  <b:HrsMetricActiveFlag>true</b:HrsMetricActiveFlag>
                  <b:PrimaryMetric>H</b:PrimaryMetric>
                  <b:ProjectTimeBaselineName>042720-WS-#1-Time</b:ProjectTimeBaselineName>
                  <b:RdcMetricActiveFlag>true</b:RdcMetricActiveFlag>
                  <b:ProjectTimeBaselineBuckets/>
                  <b:UserDefinedFields/>
               </b:ProjectTimeBaselineDetail>
               <b:StartDate i:nil="true"/>
               <b:TimePhase>Q</b:TimePhase>
            </a:ProjectTimeBaseline>
            <a:ProjectTimeBaselineIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ExternalSystemIdentifier i:nil="true"/>
               <b:ProjectTimeBaselineId i:nil="true"/>
               <b:ProjectTimeBaselineUid>2305843009214840748</b:ProjectTimeBaselineUid>
            </a:ProjectTimeBaselineIdentity>
            <a:RateTaskTimestamp>AAAAAB9A/9g=</a:RateTaskTimestamp>
            <a:StolenLocks i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsCreateProjectTimeBaselineResult>
      </PwsCreateProjectTimeBaselineResponse>
   </s:Body>
</s:Envelope>

PwsCreateProjectTimeBaseline - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

34000InvalidValueForProjectTimeBaselineBasisThe value specified for time baseline basis is invalid. Valid values are T for Task Plan, R for Resource Requests, P for Previous Resource Requests, S for Scheduled Resources, A for Approved And Current Requested, B for Approved And Current Booked, and for None.
34002InvalidValueForProjectTimeBaselineDimensionThe value specified for time baseline dimension is invalid. Valid values are M for Rate Type, K for Task Type, D for Resource Department, T for Resource Title, R for Role, S for Resource, and N for None.
34004InvalidValueForBaselineTimePhaseThe value specified for baseline time phase is invalid. Valid values are D for Daily, W for Weekly, H for Hourly, M for Monthly, Q for Quarterly, Y for Yearly, and N for None.
34005SpecifyUpToOneDimensionInBaselineBucketMore than one dimension specified in Baseline Bucket.
34010BaselineMustHaveAtLeastOneMetricBaseline must have at least one metric.
34011PrimaryMetricNotAvailableSpecified primary metric is not listed as active metric in baseline.
34012InvalidToSpecifyBucketsOnSeededBaselineCreationInvalid to specify any buckets on baseline creation with basis/seed.
34013NoBucketsSpecifiedOnUnseededBaselineCreationNo buckets were specified on baseline creation with no basis/seed.
34015BaselineDescriptionMayNotBeSpecifiedWhenClearFlagSetBaseline Description may not be specified when clear flag is set.
34016BaselineBucketsMayNotBeProvidedWhenClearFlagSetBaseline Buckets may not be provided when clear flag is set.
50024EntityNotFoundEntity PwsProjectRef was not found.
50469EntityAlreadyLockedOne or more existing locks prevent acquisition of requested lock.
50472LockReleasedLock xxxxx of type P  has been released.
50473InvalidLockInvalid lock specified.
54138ProjectTaskTypeAssignedToTimeBaselineThis project task type cannot be deleted because it is referenced by at least one time baseline bucket.
54195InvalidValueForPrimaryMetricAn invalid value was specified for project baseline primary metric.
54284CannotUseThisServiceToUpdateBaselinesThis service can be used to create new baselines only, not to update an existing baseline.
54285BaselineNameIsRequiredA baseline name is required.
54286AtLeastOneBaselineMetricMustBeActiveAt least one metric must be made active.
54292PrimaryBaselineMetricMustBeEnabledPrimary baseline metrics must be an enabled metric in the baseline.
54324InvalidValueSpecifiedForBasisDimensionOrTimephaseAn invalid value was specified for basis, dimension or time phase when creating a project baseline.
54483StartDateOrIntervalCountSpecifiedForNonTimephasedBaselineNon-timephased baselines must not have a start date or an interval count other than zero.
54484StartDateAndIntervalCountRequiredForTimephasedBaselineTimephased baselines require a start date and a positive interval count.
54487BucketsSpecifiedOnCreatedForBaselineWithBasisOnly baselines created from no basis may have bucket values specified at creation.
54488NoPermissionToCreateProjectBaselineYou do not have appropriate permissions to create this project baseline.
54489BaselineDimensionMismatchA value for a dimension that does not match the project baseline's dimension setting was specified.
54490BudgetValueSpecifiedForInactiveMetricA budget value was specified for a metric that is not active in the project baseline.
54517NegativeBudgetAmountSpecifiedForProjectBaselineProject baselines may not contain negative budgeted amounts.
54518SpecifiedProjectBaselineBucketDatesInvalidThe specified bucket dates for a project baseline bucket are invalid.
54519DuplicateKeyFoundInBaselineBucketsDuplicate key found in specified baseline buckets.
54520ProjectBaselineNameAlreadyInUseThe specified project baseline name is already in use.
54526ProjectBaselineExternalSystemIdentifierAlreadyInUseThe specified project baseline external system identifier is already in use.
54961ProjectTimeBaselineRefRequiredA project time baseline must be specified.
54991NoPermissionToUpdateProjectBaselineYou do not have appropriate permissions to update this project baseline.
54996CannotCreateBaselineSummarizationPendingA baseline based on the task plan cannot be created at the moment because task plan summarization is still pending.
55140NoPermissionToSetActiveBaselinesNo permission to switch active baselines.