GET api/General/Customer/GetDeliverFee?Dist={Dist}&Type={Type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Dist | decimal number |
Required |
|
| Type | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PartnerFare| Name | Description | Type | Additional information |
|---|---|---|---|
| BaseDistance | integer |
None. |
|
| BaseFare | decimal number |
None. |
|
| PerKMFare | decimal number |
None. |
|
| TotalDistance | decimal number |
None. |
|
| ISSurcharge | boolean |
None. |
|
| TotalFee | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"BaseDistance": 1,
"BaseFare": 2.0,
"PerKMFare": 3.0,
"TotalDistance": 1.1,
"ISSurcharge": true,
"TotalFee": 5.0
}
application/xml, text/xml
Sample:
<PartnerFare xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels"> <BaseDistance>1</BaseDistance> <BaseFare>2</BaseFare> <ISSurcharge>true</ISSurcharge> <PerKMFare>3</PerKMFare> <TotalDistance>1.1</TotalDistance> <TotalFee>5</TotalFee> </PartnerFare>