GET Rest Areas and Pullouts
Returns all rest areas and pullouts
Request Information
https://511yukon.ca/api/v2/get/restareaturnout
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
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 |
---|---|---|
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 the rest area / pullout |
string |
Type |
The type of rest area |
string |
Highway |
The highway name |
string |
HighwayNumber |
The highway number |
string |
Kilometre |
Kilometre |
string |
Outhouses |
Outhouses available |
string |
GarbageBins |
Garbage bins available |
string |
WinterMaintenance |
Winter maintenance available |
string |
Response Formats
JSON
[
{
"Id": 366,
"Latitude": 60.113354,
"Longitude": -134.557485,
"Name": "Bove Island Viewpoint",
"Type": "Pullout",
"Highway": "Klondike Highway",
"HighwayNumber": "2",
"Kilometre": "95",
"Outhouses": "No",
"GarbageBins": "Yes",
"WinterMaintenance": null
},
{
"Id": 302,
"Latitude": 60.448982,
"Longitude": -134.846681,
"Name": "Robinson Roadhouse Historic Site",
"Type": "Rest Area",
"Highway": "Klondike Highway",
"HighwayNumber": "2",
"Kilometre": "139.8",
"Outhouses": "Yes",
"GarbageBins": "Yes",
"WinterMaintenance": "No"
}
]
XML
<RestAreaTurnoutList>
<RestAreaTurnout>
<Id>366</Id>
<Latitude>60.113354</Latitude>
<Longitude>-134.557485</Longitude>
<Name>Bove Island Viewpoint</Name>
<Type>Pullout</Type>
<Highway>Klondike Highway</Highway>
<HighwayNumber>2</HighwayNumber>
<Kilometre>95</Kilometre>
<Outhouses>No</Outhouses>
<GarbageBins>Yes</GarbageBins>
<WinterMaintenance/>
</RestAreaTurnout>
<RestAreaTurnout>
<Id>302</Id>
<Latitude>60.448982</Latitude>
<Longitude>-134.846681</Longitude>
<Name>Robinson Roadhouse Historic Site</Name>
<Type>Rest Area</Type>
<Highway>Klondike Highway</Highway>
<HighwayNumber>2</HighwayNumber>
<Kilometre>139.8</Kilometre>
<Outhouses>Yes</Outhouses>
<GarbageBins>Yes</GarbageBins>
<WinterMaintenance>No</WinterMaintenance>
</RestAreaTurnout>
</RestAreaTurnoutList>