Versions Compared

Key

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

...

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

0

Status

RequestStatus

Click here for more information.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-02-14T15:34:53.8497124Z

ProjectRoleIdentity

PwsProjectRoleRef

The identity of the project role just created/updated. Click here for more information.


EngagementTimestamp

String

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.

AAAAAA+d7G0=

LockStolenFromUserIdentity

PwsUserRef

The identity of the user from whom the engagement lock is stolen from. Click here for more information.


...

Code Block
languagexml
titleExample 01 - create/update
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectRoleResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveProjectRoleResult 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/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-02-14T15:34:53.8497124Z</ServerTimestampUtc>
            <a:ProjectRoleIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ExternalSystemIdentifier i:nil="true"/>
               <b:ProjectRoleId i:nil="true"/>
               <b:ProjectRoleUid>1152921504609589510</b:ProjectRoleUid>
            </a:ProjectRoleIdentity>
            <a:EngagementTimestamp>AAAAAA+d7G0=</a:EngagementTimestamp>
            <a:LockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsSaveProjectRoleResult>
      </PwsSaveProjectRoleResponse>
   </s:Body>
</s:Envelope>


PwsSaveProjectRole - Common Errors and Warnings

ErrorNumberErrorCodeErrorText
14009RoleResourceMayNotBeSpecifiedWhenClearFlagSetResource may not be specified when resouce clear flag is set.
14010RoleCostCenterMayNotBeSpecifiedWhenClearFlagSetCost center may not be specified when cost center clear flag is set.
14011RoleLocationMayNotBeSpecifiedWhenClearFlagSetLocation may not be specified when location clear flag is set.
14012RoleTitleMayNotBeSpecifiedWhenClearFlagSetTitle may not be specified when title clear flag is set.
14013RoleKeywordsMayNotBeSpecifiedWhenClearFlagSetKeywords may not be specified when keywords clear flag is set.
14014ShareCostCenterMayNotBeSpecifiedWhenClearFlagSetShare cost center may not be specified when share cost center clear flag is set.
14015BaseRatesOnTitleMayNotBeSpecifiedWhenClearFlagSetBase rates on title may not be specified when base rates on title clear flag is set.
14016RoleStartDateMayNotBeSpecifiedWhenClearFlagSetRole start date may not be specified when role start date clear flag is set.
14017RoleEndDateMayNotBeSpecifiedWhenClearFlagSetRole end date may not be specified when role end date clear flag is set.
14018RoleDescriptionMayNotBeSpecifiedWhenClearFlagSetRole description may not be set when role description clear flag is set.
14025RdcTransferRateIncompleteRDC transfer hourly rate specified without RDC transfer currency, or vice versa.
54199RdcTransferDataIncompleteRDC transfer hourly rate specified without RDC transfer currency, or vice versa.
54583InvalidValueForModeThe value specified for mode is invalid. Valid values are R for Request, A for Allocate and E for Effective (for retrieval operations only).
54738ShareCostCenterInactiveThe specified share cost center is inactive.
54741RoleNameNotSpecifiedRole name is required for new roles.
54743RoleNameAlreadyInUseSpecified role name is already in use.
54776MissingPreferredAllocatedCostCenterMissing preferred or allocated cost center.
54777MissingPreferredAllocatedLocationMissing preferred or allocated location.
54875MissingValueForCostCenterOrLocationAnyFlagsCost center and location any flags are required for new roles.
57535TitleNotFoundThe specified title does not exist.

...