GET Road Conditions
Returns current road conditions.
Request Information
https://511yukon.ca/api/v2/get/winterroads
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 | 
| LocationDescription | 
                                             A description of the location that is affected. Often described as from one road to another.  | 
                                        string | 
| Primary Status | 
                                             Represents the primary status of the winter road condition.  | 
                                        string | 
| Secondary Conditions | 
                                             Represents the secondary conditions of the winter road condition.  | 
                                        string | 
| Visibility | 
                                             A short description of how the visibility on the road. Examples: Good, fair  | 
                                        string | 
| AreaName | 
                                             Area name.  | 
                                        string | 
| RoadwayName | 
                                             The roadway which this condition affects.  | 
                                        string | 
| EncodedPolyline | 
                                             A single string storing a series of coordinates. More information  | 
                                        string | 
| LastUpdated | 
                                             The date the condition's details were last updated in Unix time. More information  | 
                                        integer | 
Response Formats
JSON
[
	{
		"Id": 63,
		"LocationDescription": "From 0 to 3.247152",
		"Primary Status": "Difficult",
		"Secondary Conditions": [
			"Shoulder Ice/Snow",
			"Snowing",
			"Freezing Rain",
			"Fog",
			"Strong Wind",
			"Drifting Snow",
			"Rain",
			"Hail",
			"Icy sections",
			"Travel not recommended",
			"Blowing snow",
			"Slush",
			"Bare wheel paths",
			"Zero visibility",
			"Fog depositing ice"
		],
		"Visibility": "Good",
		"AreaName": "Yukon",
		"RoadwayName": "Stewart Cassiar",
		"EncodedPolyline": "un}nJlzbwXl@xC`ChMxCtOdBrIZjA\\x@^b@r@d@fAD",
		"LastUpdated": 1633364547
	},
	{
		"Id": 71,
		"LocationDescription": "From 25 to 27",
		"Primary Status": "Difficult",
		"Secondary Conditions": [
			"Shoulder Ice/Snow",
			"Snowing",
			"Freezing Rain",
			"Fog",
			"Strong Wind",
			"Drifting Snow",
			"Rain",
			"Hail",
			"Icy sections",
			"Travel not recommended",
			"Blowing snow",
			"Slush",
			"Bare wheel paths",
			"Zero visibility",
			"Fog depositing ice"
		],
		"Visibility": "Good",
		"AreaName": "Yukon",
		"RoadwayName": "Annie Lake Road",
		"EncodedPolyline": "un}nJlzbwXl@xC`ChMxCtOdBrIZjA\\x@^b@r@d@fAD",
		"LastUpdated": 1633364547
	}
]
                            XML
<WinterRoadsList>
    <WinterRoads>
        <Id>63</Id>
        <LocationDescription>From 0 to 3.247152</LocationDescription>
        <Primary-Status>Difficult</Primary-Status>
        <Secondary-Conditions>Shoulder Ice/Snow Snowing Freezing Rain Fog Strong Wind Drifting Snow Rain Hail Icy sections Travel not recommended Blowing snow Slush Bare wheel paths Zero visibility Fog depositing ice</Secondary-Conditions>
        <Visibility>Good</Visibility>
        <AreaName>Yukon</AreaName>
        <RoadwayName>Stewart Cassiar</RoadwayName>
        <EncodedPolyline>un}nJlzbwXl@xC`ChMxCtOdBrIZjA\x@^b@r@d@fAD</EncodedPolyline>
        <LastUpdated>1633364547</LastUpdated>
    </WinterRoads>
    <WinterRoads>
        <Id>71</Id>
        <LocationDescription>From 25 to 27</LocationDescription>
        <Primary-Status>Difficult</Primary-Status>
        <Secondary-Conditions>Shoulder Ice/Snow Snowing Freezing Rain Fog Strong Wind Drifting Snow Rain Hail Icy sections Travel not recommended Blowing snow Slush Bare wheel paths Zero visibility Fog depositing ice</Secondary-Conditions>
        <Visibility>Good</Visibility>
        <AreaName>Yukon</AreaName>
        <RoadwayName>Annie Lake Road</RoadwayName>
        <EncodedPolyline>un}nJlzbwXl@xC`ChMxCtOdBrIZjA\x@^b@r@d@fAD</EncodedPolyline>
        <LastUpdated>1633364547</LastUpdated>
    </WinterRoads>
</WinterRoadsList>