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 6 Next »

Overview


This web service retrieves a list of client element records (PwsClientDetail), based upon a list of unique client identifiers (PwsClientRef).

Request Format

PwsGetMileageRate Request

Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32



Click here for more information.


SessionTicket

String



Click here for more information.


DisbursedCurrencyIdentity

PwsCurrencyRef





EffectiveDate

DateTime





ExpenseDocumentIdentity

PwsExpenseDocumentRef





ResourceIdentity

PwsResourceRef





Request Usage Example(s)


Request 01
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetMileageRate>
      <pws:serviceRequest>
            <req:SessionTicket>ARNkL4C1bp7KLtsSXQW6/g==</req:SessionTicket>
            <tim:DisbursedCurrencyIdentity>
               <com:CurrencyCode>USD</com:CurrencyCode>
            </tim:DisbursedCurrencyIdentity>
            <tim:EffectiveDate>2018-03-08z</tim:EffectiveDate>
            <tim:ExpenseDocumentIdentity>
               <com:DocumentNumber>ER00163</com:DocumentNumber>
            </tim:ExpenseDocumentIdentity>
            <tim:ResourceIdentity>
               <com:ResourceDisplayName>David Katz</com:ResourceDisplayName>
            </tim:ResourceIdentity>
         </pws:serviceRequest>
      </pws:PwsGetMileageRate>
   </soapenv:Body>
</soapenv:Envelope>


Response Format

PwsGetMileageRate Response


Response Elements

Element

Data Type

Description

Sample Data

Messages

PwsMessage

The web service response status and message. Click herefor more information


ResponseId

Int32

Click here for more information.


Status

RequestStatusClick here for more informationOk

ServerTimestampUtc

DateTime

Click here for more information.


EffectiveEndDate

DateTime



EffectiveStartDate

DateTime



MileageRate

Double



MileageUom

String




Response Usage Example(s)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetMileageRateResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetMileageRateResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" 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-03-08T15:50:59.35176Z</ServerTimestampUtc>
            <a:EffectiveEndDate>9999-12-31T00:00:00Z</a:EffectiveEndDate>
            <a:EffectiveStartDate>2013-01-01T00:00:00Z</a:EffectiveStartDate>
            <a:MileageRate>0.565</a:MileageRate>
            <a:MileageUom>M</a:MileageUom>
         </PwsGetMileageRateResult>
      </PwsGetMileageRateResponse>
   </s:Body>
</s:Envelope>

Common Errors and Warnings

ErrorNumberErrorCodeErrorText
65630GivenCurrencyNotSameAsReportCurrencyThe specified currency does not match the expense document's disbursed currency.
  • No labels