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 11 Next »

Overview


This structure contains the complete set of information about a project cost baseline. The structure is used both to retrieve detailed project cost baseline information and to pass information about a project cost baseline back to the server to get updated.

Format


PwsProjectCostBaselineElement
  • PwsProjectCostBaselineElement

Elements


Element

Data Type

Required?Default

Description

Sample Data

Basis

String

On Insert: Yes

On Update: No

N

The project cost baseline basis:

"N" for none

"P" for project cost baseline

N

CreatedByUser

PwsUserSummary

n/a

The identity of the user who created this project cost baseline


CreatedTimestamp

DateTime

n/a

The date and time (in UTC) this project cost baseline was created 

2018-01-29T21:55:02.573Z

Dimension

String

On Insert: Yes

On Update: No

N

The project cost baseline dimension:

"N" for none

"E" for expense type

"G" for expense type group

E

EndDate

DateTime

On Insert: Yes

On Update: No


The end date of the project cost baseline in midnight UTC format

2018-02-28T00:00:00Z

EngagementTimestamp

String

On Insert: No

On Update: 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.

AAAAAA62DGw=

LastUpdatedByUser

PwsUserSummary

n/a

The user who last modified the project cost baseline


LastUpdatedTimestamp

DateTime

n/a

The date and time (in UTC format) this project cost baseline was last updated 

2018-01-29T21:55:02.573Z

ProjectCostBaselineBucketDateIntervals

PwsDateInterval

On Insert: Yes

On Update: No


The interval count or number of buckets in the project cost baseline


ProjectCostBaselineDetail

PwsProjectCostBaselineDetail

On Insert: Yes

On Update: Yes


The detailed project cost baseline information to be inserted or updated


StartDate

DateTime

On Insert: Yes (unless it is the first interval in the baseline)

On Update: No


The start date (in midnight UTC format) of the project cost baseline

2018-01-01T00:00:00Z

TimePhase

String

On Insert: Yes

On Update: No

N

The time phase associated with the project cost budget baseline:

"N" for none

"D" for daily

"W" for weekly

"H" for hourly

"M" for monthly

"Q" for quarterly

"Y" for yearly

M

Usage Example(s)


Example 01
             <a:ProjectCostBaseline xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:Basis>N</b:Basis>
               <b:CreatedByUser>
                  <b:UserDisplayName>Web Services</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607067736</b:UserUid>
                  <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Web</b:FirstName>
                  <b:LastName>Services</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:CreatedByUser>
               <b:CreatedTimestamp>2018-01-29T21:55:02.573Z</b:CreatedTimestamp>
               <b:Dimension>E</b:Dimension>
               <b:EndDate>2018-02-28T00:00:00Z</b:EndDate>
               <b:EngagementTimestamp>AAAAAA62DGw=</b:EngagementTimestamp>
               <b:LastUpdatedByUser>
                  <b:UserDisplayName>Web Services</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607067736</b:UserUid>
                  <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Web</b:FirstName>
                  <b:LastName>Services</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastUpdatedByUser>
               <b:LastUpdatedTimestamp>2018-01-29T21:55:02.573Z</b:LastUpdatedTimestamp>
               <b:ProjectCostBaselineBucketDateIntervals>
                  <b:PwsDateInterval>
                     <b:EndDate>2017-12-31T00:00:00Z</b:EndDate>
                     <b:StartDate i:nil="true"/>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate>2018-01-31T00:00:00Z</b:EndDate>
                     <b:StartDate>2018-01-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate>2018-02-28T00:00:00Z</b:EndDate>
                     <b:StartDate>2018-02-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>
                  <b:PwsDateInterval>
                     <b:EndDate i:nil="true"/>
                     <b:StartDate>2018-03-01T00:00:00Z</b:StartDate>
                  </b:PwsDateInterval>
               </b:ProjectCostBaselineBucketDateIntervals>
               <b:ProjectCostBaselineDetail>
                  <b:ExternalSystemIdentifier i:nil="true"/>
                  <b:ProjectCostBaselineId i:nil="true"/>
                  <b:ProjectCostBaselineUid>1152921504607272102</b:ProjectCostBaselineUid>
                  <b:ActiveProjectCostBaselineFlag>true</b:ActiveProjectCostBaselineFlag>
                  <b:CaMetricActiveFlag>true</b:CaMetricActiveFlag>
                  <b:DaMetricActiveFlag>false</b:DaMetricActiveFlag>
                  <b:Description>Cost Budget Baseline</b:Description>
                  <b:EaMetricActiveFlag>false</b:EaMetricActiveFlag>
                  <b:PrimaryMetric>C</b:PrimaryMetric>
                  <b:ProjectCostBaselineName>Client Amount Budget</b:ProjectCostBaselineName>
                  <b:ProjectCostBaselineBuckets>
                     <b:PwsProjectCostBaselineBucket>
                        <b:ClientAmount>2000</b:ClientAmount>
                        <b:DisbursedAmount i:nil="true"/>
                        <b:EndDate>2018-01-31T00:00:00Z</b:EndDate>
                        <b:ExpenseAmount i:nil="true"/>
                        <b:ExpenseTypeGroupIdentity i:nil="true"/>
                        <b:ExpenseTypeIdentity>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Per Diem</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881747</b:ExpenseTypeUid>
                        </b:ExpenseTypeIdentity>
                        <b:StartDate>2018-01-01T00:00:00Z</b:StartDate>
                     </b:PwsProjectCostBaselineBucket>
                     <b:PwsProjectCostBaselineBucket>
                        <b:ClientAmount>2000</b:ClientAmount>
                        <b:DisbursedAmount i:nil="true"/>
                        <b:EndDate>2018-02-28T00:00:00Z</b:EndDate>
                        <b:ExpenseAmount i:nil="true"/>
                        <b:ExpenseTypeGroupIdentity i:nil="true"/>
                        <b:ExpenseTypeIdentity>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Per Diem</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881747</b:ExpenseTypeUid>
                        </b:ExpenseTypeIdentity>
                        <b:StartDate>2018-02-01T00:00:00Z</b:StartDate>
                     </b:PwsProjectCostBaselineBucket>
                  </b:ProjectCostBaselineBuckets>
                  <b:Timestamp>AAAAAA62DG8=</b:Timestamp>
               </b:ProjectCostBaselineDetail>
               <b:StartDate>2018-01-01T00:00:00Z</b:StartDate>
               <b:TimePhase>M</b:TimePhase>
            </a:ProjectCostBaseline>
  • No labels