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
- 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
PwsGetMileageRate Response
- 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. | |
EffectiveEndDate | DateTime | ||
EffectiveStartDate | DateTime | ||
MileageRate | Double | ||
MileageUom | String |
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. |