GET Rest Areas
Returns all rest areas.
Request Information
https://511.idaho.gov/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 |
The name of the park. |
string |
Location |
The location of rest area. |
string |
Status |
The status of rest area. |
string |
Hours |
Hours of operation |
string |
Amenities |
Lists the amenities available. |
string |
MileMarker |
The milemarker the rest area is located at. |
string |
Details |
An additional piece of information to rest area |
string |
Town |
Nearest town |
string |
FamilyAssistRestroom |
Whether rest area has family assist restroom?(yes/no) |
string |
HandicapAccessible |
Whether rest area is handicap accessible?(yes/no) |
string |
VisitorCenterHours |
Visitor center hours |
string |
TruckParkingSpaces |
Number of truck parking spaces |
string |
VehicleParkingSpaces |
Number of vehicle parking spaces |
string |
HandicapParkingSpaces |
Number of handicap parking spaces |
string |
ImageUrl |
The image URL of rest area. |
string |
Response Formats
JSON
[
{
"Id": -78974101,
"Latitude": 45.693508,
"Longitude": -113.96352,
"Name": "US 93: Lost Trail Rest Area",
"Location": "On US 93 Both Directions at Mile Marker 265",
"Status": "Open",
"Hours": "24 hrs 7 days/week; closed in winter",
"Amenities": "Phone, Drinking Fountain, Family Amenities, Pet Area, Picnic Tables, Nature Trail, Vending",
"MileMarker": "265",
"Details": "Rest area details",
"Town": "Salmon",
"FamilyAssistRestroom": "Yes",
"HandicapAccessible": "Yes",
"VisitorCenterHours": "8 am-5 pm; closed in winter",
"TruckParkingSpaces": "6",
"VehicleParkingSpaces": "23",
"HandicapParkingSpaces": "2",
"ImageUrl":["https://511.idaho.gov/Content/ID/Images/restAreas/LostTrails2.jpg", "https://511.idaho.gov/Content/ID/Images/restAreas/LostTrails3.jpg"]
},
{
"Id": -78974102,
"Latitude": 47.709994,
"Longitude": -116.86649,
"Name": "I-90: Huetter - Westbound Rest Area",
"Location": "On I-90 WB at Mile Marker 8",
"Status": "Open",
"Hours": "24 hrs 7 days/week",
"Amenities": "Phone, Drinking Fountain, Pet Area, Picnic Tables, Caretaker, Vending",
"MileMarker": "8",
"Details": "Rest area details",
"Town": "Post Falls",
"FamilyAssistRestroom": "No",
"HandicapAccessible": "Yes",
"VisitorCenterHours": null,
"TruckParkingSpaces": "11",
"VehicleParkingSpaces": "30",
"HandicapParkingSpaces": "2",
"ImageUrl":["https://511.idaho.gov/Content/ID/Images/restAreas/SheepCk.jpg", "https://511.idaho.gov/Content/ID/Images/restAreas/SheepCk2.jpg"]
}
]
XML
<RestAreasList>
<RestAreas>
<Id>-78974101</Id>
<Latitude>45.693508</Latitude>
<Longitude>-113.96352</Longitude>
<Name>US 93: Lost Trail Rest Area </Name>
<Location>On US 93 Both Directions at Mile Marker 265</Location>
<Status>Open</Status>
<Hours>24 hrs 7 days/week; closed in winter </Hours>
<Amenities>Phone, Drinking Fountain, Family Amenities, Pet Area, Picnic Tables, Nature Trail, Vending</Amenities>
<MileMarker>265</MileMarker>
<Details>Rest area details</Details>
<Town>Salmon</Town>
<FamilyAssistRestroom>Yes</FamilyAssistRestroom>
<HandicapAccessible>Yes</HandicapAccessible>
<VisitorCenterHours>8 am-5 pm; closed in winter</VisitorCenterHours>
<TruckParkingSpaces>6</TruckParkingSpaces>
<VehicleParkingSpaces>23</VehicleParkingSpaces>
<HandicapParkingSpaces>2</HandicapParkingSpaces>
<ImageUrl>
<ImageUrl>https://511.idaho.gov/Content/ID/Images/restAreas/LostTrails2.jpg</ImageUrl>
<ImageUrl>https://511.idaho.gov/Content/ID/Images/restAreas/LostTrails3.jpg</ImageUrl>
</ImageUrl>
</RestAreas>
<RestAreas>
<Id>-78974102</Id>
<Latitude>47.709994</Latitude>
<Longitude>-116.86649</Longitude>
<Name>I-90: Huetter - Westbound Rest Area</Name>
<Location>On I-90 WB at Mile Marker 8</Location>
<Status>Open</Status>
<Hours>24 hrs 7 days/week</Hours>
<Amenities>Phone, Drinking Fountain, Pet Area, Picnic Tables, Caretaker, Vending</Amenities>
<MileMarker>8</MileMarker>
<Details>Rest area details</Details>
<Town>Post Falls</Town>
<FamilyAssistRestroom>No</FamilyAssistRestroom>
<HandicapAccessible>Yes</HandicapAccessible>
<VisitorCenterHours/>
<TruckParkingSpaces>11</TruckParkingSpaces>
<VehicleParkingSpaces>30</VehicleParkingSpaces>
<HandicapParkingSpaces>2</HandicapParkingSpaces>
<ImageUrl>
<ImageUrl>https://511.idaho.gov/Content/ID/Images/restAreas/SheepCk.jpg</ImageUrl>
<ImageUrl>https://511.idaho.gov/Content/ID/Images/restAreas/SheepCk2.jpg</ImageUrl>
</ImageUrl>
</RestAreas>
</RestAreasList>