Versions Compared

Key

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

Overview


This web service inserts a single project cost baseline based on a detailed project cost baseline structure (PwsProjectCostBaselineDetail). A project cost baseline is the basis for a budget. A baseline can be very simple - this project cannot have costs of more than $5000. Or very complex - this project has a senior sales rep and a junior sales rep. Each is budgeted a specific amount of money per diem. The service returns the identity of the project cost baseline (PwsProjectCostBaselineRef) that has been inserted. The caller can optionally request that the full project cost baseline detail (PwsProjectCostBaselineElement) be included in the response. 

...

Panel
titlePwsCreateProjectCostBaseline Request
  • PwsCreateProjectCostBaseline
    • serviceRequest: PwsCreateProjectCostBaselineRq
      • RequestId: Int32
      • SessionTicket: String
      • ActualsCutoffDate: DateTime
      • Basis: String
      • Dimension: String
      • EngagementTimestamp: String **deprecated**
      • FullDetailFlag: Boolean
      • IntervalCount: Int32
      • ProjectCostBaseline: PwsProjectCostBaselineDetail
      • ProjectIdentity: PwsProjectRef
      • StartDate: DateTime
      • StealEngagementLockFlag: Boolean **deprecated**
      • TimePhase: String
      • LocksToSteal: PwsEntityLockSummary[1.100]
      • ProjectTimestamp: String
      • ProjectorLockSetId: Int32

...

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 baseline. Currently, this is not used in any way, but is present for future use.

2018-03-31T00:00:00.000Z

Basis

String

Yes 


The project cost baseline basis. This is used to determine how to populate the initial baseline buckets. For example, if the basis is specified as 'P', the initial budget values will be set based on the project's current cost plan. This should be one of:

"P" for project cost plan

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

N

Dimension

String

Yes


The project cost baseline dimension. The dimension identifies how the budget is to be broken up. For example, a budget with a dimension of 'E' allows for a budget number to be specified for each expense type available on the project. This should be one of:

"N" for none

"E" for expense type

"G" for expense type group

E

EngagementTimestamp

String

**deprecated**




FullDetailFlag

Boolean

No

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. This applies for time phases other than 'N' (None). Leave NULL for non time-phased budgets.

2

ProjectCostBaseline

PwsProjectCostBaselineDetail

Yes


Details of the project cost 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. 


ProjectIdentity

PwsProjectRef

Yes


The project to which the cost baseline should be added.


StartDate

DateTime

Yes


The overall start date of the project cost baseline. Leave NULL for non time-phased baselines.

2018-01-01T00:00:00.000Z

StealEngagementLockFlag

Boolean

**deprecated**




TimePhase

String

Yes


The time phase associated with the project cost baseline:

"N" for none

"D" for daily

"W" for weekly

"H" for hourly

"M" for monthly

"Q" for quarterly

"Y" for yearly

M
LocksToStealPwsEntityLockSummary[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.
ProjectTimestampStringNo
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.
AAAAAA62D3k=
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 response will succeedrequest can proceed and will not be blocked by the lock.

Request Usage Example(s)

...

Panel
titlePwsCreateProjectCostBaseline Response

...

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**

AAAAAA62DGw=

ProjectCostBaseline

PwsProjectCostBaselineElement

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


ProjectCostBaselineIdentity

PwsProjectCostBaselineRef

The unique keys used to identify the project cost baseline


ProjectTimestampStringThis 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.

...