GET Rest Areas
Returns all rest areas.
Request Information
https://511on.ca/api/v2/get/allrestareas
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
lang |
Valid values are 'en' or 'fr', default 'en'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Name |
Name of the truck rest area. |
string |
Roadway |
Roadway name. |
string |
Direction |
Direction of truck rest area. |
string |
Location |
Location of truck rest area. |
string |
Type |
Type of truck rest area. |
string |
Open |
The status of the truck rest area. |
string |
TruckParking |
Availability of the truck parking area. |
string |
Lavatory |
Availability of the lavatory. |
string |
Accessible |
Accessible |
string |
FoodServices |
Availability of the food services. |
string |
Fuel |
Availability of fuel. |
string |
Mode |
Denotes whether the audio alert should be announced on Commercial Vehicle (Trucker), Public Driver (Driver), or Both modes |
string |
Region |
Region of truck rest area. |
string |
Comments |
Comments. |
string |
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 |
Response Formats
JSON
[ { "Name": "Klotz Lake", "Roadway": "Highway 11", "Direction": "Westbound", "Location": "34.8 km east of junction Highway 625 & 11", "Type": "Picnic Park", "Open": "Open", "TruckParking": "Y", "Lavatory": "Y", "Accessible": "Y", "FoodServices": "Tim Hortons (V), Starbucks (V), Swiss Chalet, Burger King (V), M Market (V), Canadian Tire Convenience Store", "Fuel": "N", "Mode": "Both", "Region": "Northwestern", "Comments": "Locations with a (V) designation are facilities where websites indicate vegetarian options are available.", "Latitude": 49.798347, "Longitude": -85.865319 }, { "Name": "Percy Lake", "Roadway": "Highway 17", "Direction": "Eastbound", "Location": "9.0 km west of Hawk Lake Road", "Type": "Rest Area", "Open": "Open", "TruckParking": "N", "Lavatory": "N", "Accessible": "N", "FoodServices": Not Available, "Fuel": null, "Mode": "Driver", "Region": "Northwestern", "Comments": "", "Latitude": 49.770347, "Longitude": -94.097309 } ]
XML
<RestAreaList> <RestArea> <Name>Klotz Lake</Name> <Roadway>Highway 11</Roadway> <Direction>Westbound</Direction> <Location>34.8 km east of junction Highway 625 & 11</Location> <Type>Picnic Park</Type> <Open>Open</Open> <TruckParking>Y</TruckParking> <Lavatory>Y</Lavatory> <Accessible>Y</Accessible> <FoodServices>Tim Hortons (V), Starbucks (V), Swiss Chalet, Burger King (V), M Market (V), Canadian Tire Convenience Store</FoodServices> <Fuel>N</Fuel> <Mode>Both</Mode> <Region>Northwestern</Region> <Comments>Locations with a (V) designation are facilities where websites indicate vegetarian options are available.</Comments> <Latitude>49.798347</Latitude> <Longitude>-85.865319</Longitude> </RestArea> <RestArea> <Name>Percy Lake</Name> <Roadway>Highway 17</Roadway> <Direction>Eastbound</Direction> <Location>9.0 km west of Hawk Lake Road</Location> <Type>Rest Area</Type> <Open>Open</Open> <TruckParking>N</TruckParking> <Lavatory>N</Lavatory> <Accessible>N</Accessible> <FoodServices/> <Fuel/> <Mode>Driver</Mode> <Region>Northwestern</Region> <Comments/> <Latitude>49.770347</Latitude> <Longitude>-94.097309</Longitude> </RestArea> </RestAreaList>