Overview
This web service retrieves a list of client element records (PwsClientDetail), based upon a list of unique client identifiers (PwsClientRef).
Request Format
- PwsGetMileageRate
- serviceRequest: PwsGetMileageRateRq
- RequestId: Int32
- SessionTicket: String
- DisbursedCurrencyIdentity: PwsCurrencyRef
- EffectiveDate: DateTime
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- ResourceIdentity: PwsResourceRef
- serviceRequest: PwsGetMileageRateRq
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 | |||||
EffectiveDate | DateTime | ||||
ExpenseDocumentIdentity | |||||
ResourceIdentity |
Request Usage Example(s)
Response Format
- PwsGetMileageRateResponse
- PwsGetMileageRateResult: PwsGetMileageRateRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- EffectiveEndDate: DateTime
- EffectiveStartDate: DateTime
- MileageRate: Double
- MileageUom: String
- PwsGetMileageRateResult: PwsGetMileageRateRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click herefor more information | ||
ResponseId | Int32 | Click here for more information. | |
Status | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-03-08T15:50:59.35176Z |
EffectiveEndDate | DateTime | The mileage rate's effective end date | 9999-12-31T00:00:00Z |
EffectiveStartDate | DateTime | The mileage rate's effective start date | 2013-01-01T00:00:00Z |
MileageRate | Double | The mileage rate for this resource based on resource's location | 0.565 |
MileageUom | String | The unit of the Mileage. 'M' is for miles and 'K' for kilometers. | M |
Response Usage Example(s)
Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
57545 | ResourceNotFound | The specified resource does not exist. |
65629 | ResourceNotOwnerOfExpenseReport | The specified resource does not match the expense report resource. |
65630 | GivenCurrencyNotSameAsReportCurrency | The specified currency does not match the expense document's disbursed currency. |