GET api/MasterConfig/DeliveryFare/GetDeliveryZoneByID?ID={ID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DeliveryZones| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryZoneID | integer |
Required |
|
| DeliveryZoneName | string |
Required |
|
| CentreLatitude | string |
Required |
|
| CentreLongitude | string |
Required |
|
| RadiusInKm | decimal number |
Required |
Response Formats
application/json, text/json
Sample:
{
"DeliveryZoneID": 1,
"DeliveryZoneName": "sample string 2",
"CentreLatitude": "sample string 3",
"CentreLongitude": "sample string 4",
"RadiusInKm": 5.0
}
application/xml, text/xml
Sample:
<DeliveryZones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels"> <CentreLatitude>sample string 3</CentreLatitude> <CentreLongitude>sample string 4</CentreLongitude> <DeliveryZoneID>1</DeliveryZoneID> <DeliveryZoneName>sample string 2</DeliveryZoneName> <RadiusInKm>5</RadiusInKm> </DeliveryZones>