GET api/MasterConfig/DeliveryFare/GetDeliveryFareByID?ID={ID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DeliveryFareView| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryFareID | integer |
Required |
|
| DeliveryZoneID | integer |
None. |
|
| FareName | string |
Required |
|
| UOM | string |
Required |
|
| FareType | string |
Required |
|
| Rate | decimal number |
Required |
|
| DeliveryType | string |
Required |
|
| XFactorID | string |
None. |
|
| HasCondition | boolean |
Required |
|
| FareCategory | string |
Required |
|
| ConditionType | string |
None. |
|
| DistanceAbove_Below | decimal number |
None. |
|
| PercentOfTotal | decimal number |
None. |
|
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
|
| U_U | decimal number |
Required |
|
| U_SU | decimal number |
Required |
|
| U_R | decimal number |
Required |
|
| SU_SU | decimal number |
Required |
|
| SU_U | decimal number |
Required |
|
| SU_R | decimal number |
Required |
|
| R_R | decimal number |
Required |
|
| R_U | decimal number |
Required |
|
| R_SU | decimal number |
Required |
Response Formats
application/json, text/json
Sample:
{
"DeliveryFareID": 1,
"DeliveryZoneID": 2,
"FareName": "sample string 3",
"UOM": "sample string 4",
"FareType": "sample string 5",
"Rate": 6.1,
"DeliveryType": "sample string 7",
"XFactorID": "sample string 8",
"HasCondition": true,
"FareCategory": "sample string 10",
"ConditionType": "sample string 11",
"DistanceAbove_Below": 1.1,
"PercentOfTotal": 1.1,
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"U_U": 12.1,
"U_SU": 13.1,
"U_R": 14.1,
"SU_SU": 15.1,
"SU_U": 16.1,
"SU_R": 17.1,
"R_R": 18.1,
"R_U": 19.1,
"R_SU": 20.1
}
application/xml, text/xml
Sample:
<DeliveryFareView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels"> <ConditionType>sample string 11</ConditionType> <DeliveryFareID>1</DeliveryFareID> <DeliveryType>sample string 7</DeliveryType> <DeliveryZoneID>2</DeliveryZoneID> <DistanceAbove_Below>1.1</DistanceAbove_Below> <EndTime>PT0.1234567S</EndTime> <FareCategory>sample string 10</FareCategory> <FareName>sample string 3</FareName> <FareType>sample string 5</FareType> <HasCondition>true</HasCondition> <PercentOfTotal>1.1</PercentOfTotal> <R_R>18.1</R_R> <R_SU>20.1</R_SU> <R_U>19.1</R_U> <Rate>6.1</Rate> <SU_R>17.1</SU_R> <SU_SU>15.1</SU_SU> <SU_U>16.1</SU_U> <StartTime>PT0.1234567S</StartTime> <UOM>sample string 4</UOM> <U_R>14.1</U_R> <U_SU>13.1</U_SU> <U_U>12.1</U_U> <XFactorID>sample string 8</XFactorID> </DeliveryFareView>