Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Overview


This structure represents the results of a task completion estimate update

Format


PwsSaveEstimateResult

Elements


Element

Data Type

Description

Sample Data

ErrorDetail

PwsErrorDetail

The error detail regarding a failed estimate update


Estimates

PwsProjectTaskRoleRemaining [???]

The details of the estimate update


ReferenceId

String

Reference id (used to affiliate PwsSaveEstimateResult records with associated PwsTimeCardDetail records)

E11

Usage Example(s)


Example 01 - successful response
             <a:PwsSaveEstimateResult>
                  <a:ErrorDetail i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:Estimates>
                     <a:PwsProjectTaskRoleRemaining>
                        <a:CompletedFlag>false</a:CompletedFlag>
                        <a:RemainingAsOfDate>2018-03-09T00:00:00Z</a:RemainingAsOfDate>
                        <a:RemainingMinutes>360</a:RemainingMinutes>
                     </a:PwsProjectTaskRoleRemaining>
                  </a:Estimates>
                  <a:ReferenceId>E11</a:ReferenceId>
               </a:PwsSaveEstimateResult>
Example 02 - unsuccessful response
           <a:EstimateResults>
               <a:PwsSaveEstimateResult>
                  <a:ErrorDetail xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ErrorCode>RoleNotOnSameProject</b:ErrorCode>
                     <b:ErrorNumber>54700</b:ErrorNumber>
                     <b:ErrorText>A role was specified that does not belong to the specified project.</b:ErrorText>
                  </a:ErrorDetail>
                  <a:Estimates i:nil="true"/>
                  <a:ReferenceId i:nil="true"/>
               </a:PwsSaveEstimateResult>
            </a:EstimateResults>
  • No labels