Versions Compared

Key

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

...

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.

AXoSoNYPC/IRu5ISV3f2Ew==

ActualsCutoffDate

DateTime

No


The actuals cut off date for the project cost budget baseline

2018-03-31T00:00:00.000Z

Basis

String

Yes 


The project cost baseline basis:

"N" for none

"P" for project cost plan

N

Dimension

String

Yes


The project cost baseline dimension:

"N" for none

"E" for expense type

"G" for expense type group

E

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.


FullDetailFlag

Boolean

YesNo

false

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

true

IntervalCount

Int32

Yes


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

2

ProjectCostBaseline

PwsProjectCostBaselineDetail

Yes


Details of the project cost baseline that was updated or saved


ProjectIdentity

PwsProjectRef

Yes


The project associated with the project cost budget baseline 


StartDate

DateTime

Yes


The overall start date of the project cost budget baseline

2018-01-01T00:00:00.000Z

StealEngagementLockFlag

Boolean

YesNo

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 

false

TimePhase

String

Yes


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

...

ErrorNumber

ErrorCode

ErrorText

34001InvalidValueForProjectCostBaselineBasisThe value specified for cost baseline basis is invalid. Valid values are P for Cost Plan and N for None.
34003InvalidValueForProjectCostBaselineDimensionhe value specified for cost baseline dimension is invalid. Valid values are E for Expense Type, G for Expense Type Group, and N for None.
34005SpecifyUpToOneDimensionInBaselineBucketMore than one dimension specified in Baseline Bucket.
34010BaselineMustHaveAtLeastOneMetricBaseline must have at least one metric.
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.
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.
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.
54795InvalidArgumentsToPwsGetBaselineBucketDateIntervalsInvalid arguments have been specified to this service.
54991NoPermissionToUpdateProjectBaselineYou do not have appropriate permissions to update this project baseline.
55140NoPermissionToSetActiveBaselinesNo permission to switch active baselines.