GET api/General/DeliveryZone/GetAllDeliveryZonesWithAreaNRefPoints
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DeliveryZone| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryZoneID | integer |
Required |
|
| DeliveryZoneName | string |
Required |
|
| CentreLatitude | string |
Required Matching regular expression pattern: ^(\+|-)?(?:90(?:(?:\.0{1,15})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,15})?))$ |
|
| CentreLongitude | string |
Required Matching regular expression pattern: ^(\+|-)?(?:180(?:(?:\.0{1,15})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,15})?))$ |
|
| RadiusInKm | decimal number |
Required |
|
| ZoneLatLngBounds | Collection of LatLngBound |
None. |
|
| AreaPoints | Collection of AreaPoint |
None. |
|
| RefrencePoints | Collection of RefrencePoint |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DeliveryZoneID": 1,
"DeliveryZoneName": "sample string 2",
"CentreLatitude": "sample string 3",
"CentreLongitude": "sample string 4",
"RadiusInKm": 5.0,
"ZoneLatLngBounds": [
{
"BoundID": 1,
"DeliveryZoneID": 2,
"Lat": "sample string 3",
"Lng": "sample string 4"
},
{
"BoundID": 1,
"DeliveryZoneID": 2,
"Lat": "sample string 3",
"Lng": "sample string 4"
}
],
"AreaPoints": [
{
"AreaPointID": 1,
"DeliveryZoneID": 2,
"Clat": "sample string 3",
"Clng": "sample string 4",
"AreaPointName": "sample string 5",
"RadiusInKm": 6.0,
"DeliveryEnabled": true,
"PickupEnabled": true,
"CurrentAreaType": "sample string 9",
"AreaTypeWithTimeSlot": [
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
},
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
],
"AreaAssociateIDs": [
1,
2
]
},
{
"AreaPointID": 1,
"DeliveryZoneID": 2,
"Clat": "sample string 3",
"Clng": "sample string 4",
"AreaPointName": "sample string 5",
"RadiusInKm": 6.0,
"DeliveryEnabled": true,
"PickupEnabled": true,
"CurrentAreaType": "sample string 9",
"AreaTypeWithTimeSlot": [
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
},
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
],
"AreaAssociateIDs": [
1,
2
]
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
]
},
{
"DeliveryZoneID": 1,
"DeliveryZoneName": "sample string 2",
"CentreLatitude": "sample string 3",
"CentreLongitude": "sample string 4",
"RadiusInKm": 5.0,
"ZoneLatLngBounds": [
{
"BoundID": 1,
"DeliveryZoneID": 2,
"Lat": "sample string 3",
"Lng": "sample string 4"
},
{
"BoundID": 1,
"DeliveryZoneID": 2,
"Lat": "sample string 3",
"Lng": "sample string 4"
}
],
"AreaPoints": [
{
"AreaPointID": 1,
"DeliveryZoneID": 2,
"Clat": "sample string 3",
"Clng": "sample string 4",
"AreaPointName": "sample string 5",
"RadiusInKm": 6.0,
"DeliveryEnabled": true,
"PickupEnabled": true,
"CurrentAreaType": "sample string 9",
"AreaTypeWithTimeSlot": [
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
},
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
],
"AreaAssociateIDs": [
1,
2
]
},
{
"AreaPointID": 1,
"DeliveryZoneID": 2,
"Clat": "sample string 3",
"Clng": "sample string 4",
"AreaPointName": "sample string 5",
"RadiusInKm": 6.0,
"DeliveryEnabled": true,
"PickupEnabled": true,
"CurrentAreaType": "sample string 9",
"AreaTypeWithTimeSlot": [
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
},
{
"AreaPointID": 1,
"AreaType": "sample string 2",
"OpeningTime": "sample string 3",
"ClosingTime": "sample string 4"
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
],
"AreaAssociateIDs": [
1,
2
]
}
],
"RefrencePoints": [
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
},
{
"RefrencePointID": 1,
"DeliveryZoneID": 2,
"AreaPointID": 3,
"Lat": "sample string 4",
"Lng": "sample string 5",
"RefrencePointName": "sample string 6"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfDeliveryZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels">
<DeliveryZone>
<AreaPoints>
<AreaPoint>
<AreaAssociateIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:long>1</d5p1:long>
<d5p1:long>2</d5p1:long>
</AreaAssociateIDs>
<AreaPointID>1</AreaPointID>
<AreaPointName>sample string 5</AreaPointName>
<AreaTypeWithTimeSlot>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
</AreaTypeWithTimeSlot>
<Clat>sample string 3</Clat>
<Clng>sample string 4</Clng>
<CurrentAreaType>sample string 9</CurrentAreaType>
<DeliveryEnabled>true</DeliveryEnabled>
<DeliveryZoneID>2</DeliveryZoneID>
<PickupEnabled>true</PickupEnabled>
<RadiusInKm>6</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
</AreaPoint>
<AreaPoint>
<AreaAssociateIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:long>1</d5p1:long>
<d5p1:long>2</d5p1:long>
</AreaAssociateIDs>
<AreaPointID>1</AreaPointID>
<AreaPointName>sample string 5</AreaPointName>
<AreaTypeWithTimeSlot>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
</AreaTypeWithTimeSlot>
<Clat>sample string 3</Clat>
<Clng>sample string 4</Clng>
<CurrentAreaType>sample string 9</CurrentAreaType>
<DeliveryEnabled>true</DeliveryEnabled>
<DeliveryZoneID>2</DeliveryZoneID>
<PickupEnabled>true</PickupEnabled>
<RadiusInKm>6</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
</AreaPoint>
</AreaPoints>
<CentreLatitude>sample string 3</CentreLatitude>
<CentreLongitude>sample string 4</CentreLongitude>
<DeliveryZoneID>1</DeliveryZoneID>
<DeliveryZoneName>sample string 2</DeliveryZoneName>
<RadiusInKm>5</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
<ZoneLatLngBounds>
<LatLngBound>
<BoundID>1</BoundID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 3</Lat>
<Lng>sample string 4</Lng>
</LatLngBound>
<LatLngBound>
<BoundID>1</BoundID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 3</Lat>
<Lng>sample string 4</Lng>
</LatLngBound>
</ZoneLatLngBounds>
</DeliveryZone>
<DeliveryZone>
<AreaPoints>
<AreaPoint>
<AreaAssociateIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:long>1</d5p1:long>
<d5p1:long>2</d5p1:long>
</AreaAssociateIDs>
<AreaPointID>1</AreaPointID>
<AreaPointName>sample string 5</AreaPointName>
<AreaTypeWithTimeSlot>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
</AreaTypeWithTimeSlot>
<Clat>sample string 3</Clat>
<Clng>sample string 4</Clng>
<CurrentAreaType>sample string 9</CurrentAreaType>
<DeliveryEnabled>true</DeliveryEnabled>
<DeliveryZoneID>2</DeliveryZoneID>
<PickupEnabled>true</PickupEnabled>
<RadiusInKm>6</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
</AreaPoint>
<AreaPoint>
<AreaAssociateIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:long>1</d5p1:long>
<d5p1:long>2</d5p1:long>
</AreaAssociateIDs>
<AreaPointID>1</AreaPointID>
<AreaPointName>sample string 5</AreaPointName>
<AreaTypeWithTimeSlot>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
<DefaultAreaTypeWithTimeSlotsModel>
<AreaPointID>1</AreaPointID>
<AreaType>sample string 2</AreaType>
<ClosingTime>sample string 4</ClosingTime>
<OpeningTime>sample string 3</OpeningTime>
</DefaultAreaTypeWithTimeSlotsModel>
</AreaTypeWithTimeSlot>
<Clat>sample string 3</Clat>
<Clng>sample string 4</Clng>
<CurrentAreaType>sample string 9</CurrentAreaType>
<DeliveryEnabled>true</DeliveryEnabled>
<DeliveryZoneID>2</DeliveryZoneID>
<PickupEnabled>true</PickupEnabled>
<RadiusInKm>6</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
</AreaPoint>
</AreaPoints>
<CentreLatitude>sample string 3</CentreLatitude>
<CentreLongitude>sample string 4</CentreLongitude>
<DeliveryZoneID>1</DeliveryZoneID>
<DeliveryZoneName>sample string 2</DeliveryZoneName>
<RadiusInKm>5</RadiusInKm>
<RefrencePoints>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
<RefrencePoint>
<AreaPointID>3</AreaPointID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 4</Lat>
<Lng>sample string 5</Lng>
<RefrencePointID>1</RefrencePointID>
<RefrencePointName>sample string 6</RefrencePointName>
</RefrencePoint>
</RefrencePoints>
<ZoneLatLngBounds>
<LatLngBound>
<BoundID>1</BoundID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 3</Lat>
<Lng>sample string 4</Lng>
</LatLngBound>
<LatLngBound>
<BoundID>1</BoundID>
<DeliveryZoneID>2</DeliveryZoneID>
<Lat>sample string 3</Lat>
<Lng>sample string 4</Lng>
</LatLngBound>
</ZoneLatLngBounds>
</DeliveryZone>
</ArrayOfDeliveryZone>