Versions Compared

Key

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

Overview


This web service inserts or updates a single project based on a detailed project structure (PwsProjectDetail). The service returns the identity (PwsProjectRef) of the project that has been inserted or updated. The caller can optionally request that the full project detail (PwsProjectElement) be included in the response.  Please note, upon creation of a new project, certain attributes may be derived from engagement type defaults or inherited from the engagement.  

...

Panel
titlePwsSaveProjectRq
  • PwsSaveProjectRq
    • RequestId: Int32
    • SessionTicket: String
    • CloseDateClearFlag: Boolean
    • CostGlccOverrideClearFlag: Boolean **deprecated**
    • DescriptionClearFlag: Boolean
    • FullDetailFlag: Boolean
    • Mode: String (1)
    • PercentLikelihoodClearFlag: Boolean
    • Project: PwsProjectDetail
    • StealLockFlag: Boolean **deprecated**
    • TimeGlccOverrideClearFlag: Boolean **deprecated**
    • WorkspaceMessagesClearFlag: Boolean
    • ForceAdvancedSetupChangeFlag: Boolean
    • EngagementTimestamp: String **deprecated**
    • ManagementTeamClearFlag: Boolean
    • BdDashboardClearFlag: Boolean
    • ExpenseTypeConfigurationClearFlag: Boolean
    • LocksToSteal: PwsEntityLockSummary[1.100]
    • ProjectorLockSetId: Int32
    • AamDashboardClearFlag: Boolean
    • ExcludeReadNotesFlag: Boolean
    • IncludeDeletedRolesFlag: Boolean
    • RevalueAction: String

...

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.

Ad0gaqAh34T3anLQ/dUmpQ==

CloseDateClearFlag

Boolean

No

false

If set to "true", the end date of the project will be cleared.

false

CostGlccOverrideClearFlag

Boolean

deprecated


*** This field has been deprecated ***


DescriptionClearFlag

Boolean

No

false

If set to "true", project description will be cleared..

false

FullDetailFlag

Boolean

No

false

If set to "true", full project element will be included in response.

false

Mode

String (1)

Yes


Applies if FullDetailFlag is set to true:

A to retrieve booked data for roles.

R to retrieve requested data for roles.

E to retrieve effective data for roles (booked data for booked roles, requested data for requested roles).

A/R

PercentLikelihoodClearFlag

Boolean

No

false

If set to "true", project percent likelihood will be cleared. When this value is cleared, the percent likelihood is derived from the percent likelihood value associated with the project's stage.

false

Project

PwsProjectDetail

Yes


Structure that contains the complete information of the project. Please click here for more information. If PwsProjectDetail refers to an existing project, this request updates this project; otherwise, this request creates a new project.


StealLockFlag

Boolean

deprecated


*** This field has been deprecated ***


TimeGlccOverrideClearFlag

Boolean

deprecated


*** This field has been deprecated ***


WorkspaceMessagesClearFlag

Boolean

No

false

If set to "true", project workspace message will be cleared.

false

ForceAdvancedSetupChangeFlag

Boolean

No

false

Advanced: This can be used to force PLCC mapping changes for time and/or cost mappings in the face of existing transactional data. If this flag is not set to true, an error will be returned if you attempt to change the time or cost PLCC mappings and there are time card or cost card transactions associated with the project. Note you must also have advanced project setup permission to force the mapping changes.

false

EngagementTimestamp

String

deprecated


*** This field has been deprecated ***


ManagementTeamClearFlag

Boolean

No

false

If set to "true", clear the non-PM members of the project management team.

false

BdDashboardClearFlag

Boolean

No

false

If set to "true", clear the Belladati (advanced analytics) dashboard configuration for this project, and BdDashboards data is ignored.

false

ExpenseTypeConfigurationClearFlag

Boolean

No

false

if set to "true", clear the expenes type configuration for this project.

false

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.
ProjectorLockSetIdInt32No
A projector lock set id is an identifier for a group of one or more locks held as a unit.
AamDashboardClearFlagBooleanNofalseTrue to clear AAM dashboards for project.
ExcludeReadNotesFlagBooleanNofalse

If true, notes that have been marked as read by the current user are excluded from the data returned. Applies only when FullDetailFlag is true.


IncludeDeletedRolesFlagBooleanNofalse

If true, deleted roles are included in the response data. Applies only when FullDetailFlag is true.


RevalueActionStringNoN

This indicates how the service should respond if there are time cards that would become in need of revalue as a result of the changes. The valid values are:

  • N (No Revalue): Time cards are left as is and the save is completed.
  • R (Revalue): Time cards that can be revalued are revalued and the save is completed.
  • C (Check): The save operation will only proceed if there are no time cards that would be in need of revalue. RevalueReport in the response will provide details about the affected time cards.

...

Panel
titlePwsSaveProjectRs

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.


Project

PwsProjectElement

The complete set of information about the project. Populated only if FullDetailFlag is specified in the request. Click here for more information.


ProjectIdentity

PwsProjectRef

The unique keys used to identify the project. Click here for more information.


RevalueReportPwsRevalueReportInformation about time cards on the project that were affected or would be affected by the change. Populated only when RevalueAction is R (Revalue) or C (Check). If RevalueAction is R, the values included in this structure reflect what was done. If RevalueAction is C, the values reflect what would be done if the service were invoked again with RevalueAction set to R.

EngagementTimestamp

String

*** This field has been deprecated ***


LockStolenFromUserIdentity

PwsUserRef

*** This field has been deprecated ***


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

...

ErrorNumber

ErrorCode

ErrorText

13020ProjectRateGapOrOverlap

A gap or overlap was detected in the specified project rate date ranges. Project rates must cover all of time with no overlaps.

13023RateCardNotSpecifiedForProjectRateAt least one specified project rate is missing a rate card.
13037WorkspaceMessagesMayNotBeSpecifiedWhenClearFlagSet

The workspace messages may not be specified when the associated clear flag is set.

54039BookedResourceOnlyFlagConflictUse of obsolete booked resources only flags in conflict with booked resources allowed code.
54059EngagementNotSpecifiedA specified engagement identity was incomplete. Each engagement identity must specify either an engagement id, and engagement uid or an engagement code.
54061EngagementNotFoundThe specified engagement does not exist.
54076EngagementIsLockedThe engagement is locked by PPSA Support User and may not be updated.
54083BookResourceCostCenterRequiredBook resource cost center is required when allow code is C
54177InvalidProjectPlccMappingType

Invalid value specified for project PLCC mapping type. Valid values are TR for time card revenue, RDC for resource direct cost, SRDC for subcontractor resource direct cost, OR for ODC revenue and OE for ODC expense.

54178

??? issue #36085InvalidCostCenter

Invalid cost center type specified

54180ProjectPlccMappingsMissingPLCC mappings are incomplete.
54181ProjectPlccMappingsCostCenterInvalid

Cost center is required when cost center type is 'Specific', and may not be specified when cost center type is not 'Specific'.

54182ProjectPlccMappingsAllocationFractionOutOfRangeAllocation percentages must be between 0% and 100%.
54248SpecifiedContractLineItemNotUnderSpecifiedEngagementThe specified contract line item is not under the specified engagement.
54666LocationNotEnabledForProjectsThe specified location is not enabled for projects.
54670ProjectNameRequiredProject name is required for new projects.
54685ProjectDatesCannotBeChangedTimeProject cannot be saved because time cards exist outside of specified open and close dates.
54687ProjectCodeAlreadyInUseThe specified project code is already in use.
54724ProjectsCannotChangeEngagementsProjects may not be moved from one engagement to another.
54823AssignedResourcesOnlyFlagInvalidForNonDtmProjectsThe assigned resources only flag may only be set for DTM projects.
54876ProjectRateCurrencyMismatch

All project rate cards must be in the same currency as the engagement.

57525CostCenterNotFoundThe specified cost center does not exist.
57540LocationNotSpecifiedLocation is required.
57541LocationNotFoundSpecified location does not exist.

57543

ProjectStageNotFoundThe specified project stage does not exist.
57550UserNotSpecifiedUser is required.
57551UserNotFoundSpecified user does not exist.

...