Versions Compared

Key

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

...

Response Format



...

RequestId

...

Int32

...

SessionTicket

...

String

...

LocksToSteal

Panel
titlePwsSaveProjectTaskTypes PwsSaveProjectRateTypes Response

...

Element

...

Data Type

...

Required?

...

Default

...

Description

...

...

ProjectIdentity

...

PwsProjectRef

...

ProjectRateTypes

...

PwsProjectRateTypeDetail[]

...

ProjectorLockSetId

...

Int32

...

RateTaskTimestamp

...

String

Response Elements


Element

Data Type

Description

Messages

PwsMessage[]

 The web service response status and message. Click here for more information.

ResponseId

Int32

 Click here for more information.

Status

RequestStatus

 Click here for more information

ServerTimestampUtc

DateTime

 Click here for more information.

InactivatedFlag

Boolean

This flag is set to true if one or more tasks have been marked as inactive as a result of the update

RateTaskTimestamp

String

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.

StolenLocks

PwsEntityLockSummary

This 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

.

RevalueReport

PwsRevalueReport

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

Response Usage Example(s)

...

Code Block
languagexml
titleExample 01PwsSaveProjectRateTypesResponse
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectTaskTypesResponse<PwsSaveProjectRateTypesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveProjectTaskTypesResult<PwsSaveProjectRateTypesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsMessage>
                  <b:AdditionalErrorText>Message 136: This request was executed against the QA [appqa.projectorpsa.com] environment.</b:AdditionalErrorText>
                  <b:ErrorCode>NonProductionEnvironment</b:ErrorCode>
                  <b:ErrorNumber>136</b:ErrorNumber>
                  <b:ErrorText>This web service request was executed against a non-production instance of Projector.</b:ErrorText>
                  <b:Type>Information</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
               </b:PwsMessage>
   
        </Messages>             <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2020>2023-1109-30T1807T20:1703:0728.0099106Z<35366Z</ServerTimestampUtc>
            <a:InactivatedFlag>true</a:InactivatedFlag>
            <a:RateTaskTimestamp>AAAAABcxbqARateTaskTimestamp>AAAAADFChm4=</a:RateTaskTimestamp>
            <a:StolenLocks i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:RevalueReport i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsSaveProjectTaskTypesResult>PwsSaveProjectRateTypesResult>
      </PwsSaveProjectTaskTypesResponse>PwsSaveProjectRateTypesResponse>
   </s:Body>
</s:Envelope>

...


PwsSaveProjectRateTypes - Common Errors and Warnings

ErrorNumberErrorCodeErrorText
1500264616ProjectNotSpecifiedForSaveTaskTypeNo project was specified for saving project task type.
54645ProjectTaskTypeNameIsRequiredThe project task type name is required for new project task types.
54646ProjectTaskTypeNameAlreadyInUseThe specified project task type name is already in use.
54647ProjectRateTypeIsRequiredThe default project rate type is required for new project task types.
54650ProjectRateTypeNotFoundThe specified default project rate type does not exist.
55069TaskTypePurchaseOrderSpecifiedWhenInheritingPurchase order number may not be specified when inheriting purchase order number.
57556TaskTypeNotSpecifiedThe standard task type is required for new project task types.DuplicateEntityInXmlError 64616, State 1: Duplicate entity found in input XML ### [entityType:PwsProjectRateType][entityId:599487][entityName:(null)]
54701ProjectRateTypeReferencedByTaskTypeError 54701, State 1: Project rate type cannot be deleted because it is referenced by at least one project task type ### [referenceId1:1152921504607446462][projectRateTypeName:Regular]