GET api/MasterConfig/Master/GetDeliveryZones
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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
},
{
"DeliveryZoneID": 1,
"DeliveryZoneName": "sample string 2",
"CentreLatitude": "sample string 3",
"CentreLongitude": "sample string 4",
"RadiusInKm": 5.0
}
]
application/xml, text/xml
Sample:
<ArrayOfDeliveryZones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels">
<DeliveryZones>
<CentreLatitude>sample string 3</CentreLatitude>
<CentreLongitude>sample string 4</CentreLongitude>
<DeliveryZoneID>1</DeliveryZoneID>
<DeliveryZoneName>sample string 2</DeliveryZoneName>
<RadiusInKm>5</RadiusInKm>
</DeliveryZones>
<DeliveryZones>
<CentreLatitude>sample string 3</CentreLatitude>
<CentreLongitude>sample string 4</CentreLongitude>
<DeliveryZoneID>1</DeliveryZoneID>
<DeliveryZoneName>sample string 2</DeliveryZoneName>
<RadiusInKm>5</RadiusInKm>
</DeliveryZones>
</ArrayOfDeliveryZones>