GET Rest Areas
Returns all rest areas
Request Information
https://az511.com/api/v2/get/restareas
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
integer |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
Name |
Name of rest area |
string |
Status |
The status of rest area. |
string |
Location |
The location of rest area. |
string |
City |
City of rest area |
string |
Restroom |
Availability of rest rooms. |
string |
Ramada |
Availability of ramadas. |
string |
VisitorCenter |
Availability of visitor centers. |
string |
TravelInformation |
Availability of travel information |
string |
VendingMachine |
Availability of Vending Machines. |
string |
TotalTruckSpaces |
Total Truck Spaces. |
string |
AvailableTruckSpaces |
Available Truck Spaces. |
string |
Response Formats
JSON
[
{
"Id": 8,
"Latitude": 32.059722,
"Longitude": -110.076111,
"Name": "Texas Canyon Rest Area (EB)",
"Status": "Open",
"Location": "I-10 / MP 320",
"City": "Dragoon",
"Restroom": "Yes",
"Ramada": "Yes",
"VisitorCenter": "No",
"TravelInformation": "Yes",
"VendingMachine": "Yes",
"TotalTruckSpaces": "22",
"AvailableTruckSpaces": "8"
},
{
"Id": 9,
"Latitude": 32.235833,
"Longitude": -109.089444,
"Name": "San Simon Rest Area (EB)",
"Status": "Open",
"Location": "I-10 / MP 388",
"City": "San Simon",
"Restroom": "Yes",
"Ramada": "Yes",
"VisitorCenter": "No",
"TravelInformation": "Yes",
"VendingMachine": "Yes",
"TotalTruckSpaces": "17",
"AvailableTruckSpaces": "9"
}
]
XML
<RestAreasList>
<RestAreas>
<Id>8</Id>
<Latitude>32.059722</Latitude>
<Longitude>-110.076111</Longitude>
<Name>Texas Canyon Rest Area (EB)</Name>
<Status>Open</Status>
<Location>I-10 / MP 320</Location>
<City>Dragoon</City>
<Restroom>Yes</Restroom>
<Ramada>Yes</Ramada>
<VisitorCenter>No</VisitorCenter>
<TravelInformation>Yes</TravelInformation>
<VendingMachine>Yes</VendingMachine>
<TotalTruckSpaces>22</TruckSpaces>
<AvailableTruckSpaces>8</AvailableTruckSpaces>
</RestAreas>
<RestAreas>
<Id>9</Id>
<Latitude>32.235833</Latitude>
<Longitude>-109.089444</Longitude>
<Name>San Simon Rest Area (EB)</Name>
<Status>Open</Status>
<Location>I-10 / MP 388</Location>
<City>San Simon</City>
<Restroom>Yes</Restroom>
<Ramada>Yes</Ramada>
<VisitorCenter>No</VisitorCenter>
<TravelInformation>Yes</TravelInformation>
<VendingMachine>Yes</VendingMachine>
<TotalTruckSpaces>17</TruckSpaces>
<AvailableTruckSpaces>9</AvailableTruckSpaces>
</RestAreas>
<RestAreasList>