Versions Compared

Key

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

Overview


This web service inserts, updates or deletes replaces the entire collection of project rate typetypes (sPwsSaveProjectRateTypeDetail) based on a detailed project rate type structure (PwsSaveProjectRateTypeDetail). the specified project with the new designated collection,

Request Format


Panel
titlePwsSaveProjectRateTypes Request

...

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.

Ab62GYARtqWE8wJFv6Pd8g==

LocksToSteal

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


ProjectIdentity

PwsProjectRef

 Yes


The identity of the project. Click here for more information.


ProjectRateTypes

PwsProjectTaskTypeDetailPwsProjectRateTypeDetail [1..100]

 Yes


All the project rate types that are currently on the project and need to be retained as well as the project rate type(s) to be added, updated or deleted.


ProjectorLockSetId

Int32

 No


A projector lock set id is an identifier for a group of one or more locks held as a unit.


RateTaskTimestamp

String

No 


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.


...

ErrorNumberErrorCodeErrorText
64616DuplicateEntityInXmlError 64616, State 1: Duplicate PwsProjectRateType entity found in input XML ### [entityType:PwsProjectRateType][entityId:599487][entityName:(null)].
54701ProjectRateTypeReferencedByTaskTypeError 54701, State 1: Project rate type The project rate type <project-rate-type-name> cannot be deleted because there is at least one project task type that references it.
54784PermissionDeniedToUpdateProjectRateTypeYou do not have appropriate permission to update this project rate type.
54785StandardRateTypeInactiveThe specified standard rate type is inactive.
54787ProjectRateTypeNameInUseThe specified project rate type name is already in use by a different project rate type on this project.
54788ProjectRateTypeExternalSystemIdentifierInUseThe specified project rate type external system identifier is already in use by a different project rate type. External system identifiers must be globally unique.
54884ProjectRateTypeReferencedByBaselineThe project rate type <project-rate-type-name> cannot be deleted because it is referenced by one or more baselines.
54731ProjectRateTypeReferencedByInvoiceThe project rate type <project-rate-type-name> cannot be deleted because it is referenced by at least one project task type ### [referenceId1:1152921504607446462][projectRateTypeName:Regular]invoice.
54761ProjectRateTypeReferencedByTimecardThe project rate type <project-rate-type-name> cannot be deleted because it is referenced by at least one time card.