...
This web service retrieves one mileage rate using the identity of a resource (PwsResourceRef), the identity of an expense document (PwsExpenseDocumentRef), or both. If both identities are provided, the resources must match or an error is returned in the response.
Request Format
Panel | ||
---|---|---|
| ||
|
...
Panel | ||
---|---|---|
| ||
|
...
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. | 0 |
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 |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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-08T16:03:15.5611309Z</ServerTimestampUtc> <a:EffectiveEndDate>9999-12-31T00:00:00Z</a:EffectiveEndDate> <a:EffectiveStartDate>2018-01-01T00:00:00Z</a:EffectiveStartDate> <a:MileageRate>0.6571</a:MileageRate> <a:MileageUom>M</a:MileageUom> </PwsGetMileageRateResult> </PwsGetMileageRateResponse> </s:Body> </s:Envelope> |
PwsGetMileageRate - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
...