GET Weight Restrictions

Returns all weight restriction events.

Request Information

https://511yukon.ca/api/v2/get/weightrestrictions

URI Parameters

URI Parameters
NameDescriptionTypeAdditional 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


Resource Description
NameDescriptionType
ID

A unique identifier.

string
Organization

The name of the organization that provided this event.

string
RoadwayName

The roadway on which the event occurred.

string
DirectionOfTravel

One of the following directions of travel: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions.

string
Description

The description of the item.

string
Reported

The date the event was reported in Unix time. More information

integer
LastUpdated

The date the item's details were last updated in Unix time. More information

integer
StartDate

The start date of the event in Unix time. More information

integer
PlannedEndDate

The date the event is expected to end in Unix time. More information

integer
LanesAffected

Describes the lane or number of lanes affected by the event. For example: all lanes.

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
LatitudeSecondary

Secondary latitude.

double
LongitudeSecondary

Secondary Longitude.

double
EventType

The type of event.

string
IsFullClosure

All lanes are closed.

string
Details

Event details.

string

Response Formats

JSON

Sample:
[
	{
		"ID": "ERS--524",
		"Organization": "ERS",
		"RoadwayName": "HWY-11",
		"DirectionOfTravel": "Unknown",
		"Description": "75% Legal axle on HWY-11 800 m Before Mayo River Bridge (50).",
		"Reported": 1650476359,
		"LastUpdated": 1651153700,
		"StartDate": 1650476359,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 63.604971,
		"Longitude": -135.89751,
		"LatitudeSecondary": 0.0,
		"LongitudeSecondary": 0.0,
		"EventType": "restrictionClass",
		"IsFullClosure": false,
		"Details": null
	},
	{
		"ID": "ERS--534",
		"Organization": "ERS",
		"RoadwayName": "HWY-6",
		"DirectionOfTravel": "Unknown",
		"Description": "50% Legal axle on HWY-6 from  roadway marker 168 to 3.42 Km Before Lapie River Bridge #2.",
		"Reported": 1650565148,
		"LastUpdated": 1650905497,
		"StartDate": 1650565148,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 61.69208,
		"Longitude": -133.06843,
		"LatitudeSecondary": 61.900398,
		"LongitudeSecondary": -132.662257,
		"EventType": "restrictionClass",
		"IsFullClosure": false,
		"Details": null
	}
]

XML

Sample:
<WeightRestrictionsList>
    <WeightRestrictions>
        <ID>ERS--524</ID>
        <Organization>ERS</Organization>
        <RoadwayName>HWY-11</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Description>75% Legal axle on HWY-11 800 m Before Mayo River Bridge (50).</Description>
        <Reported>1650476359</Reported>
        <LastUpdated>1651153700</LastUpdated>
        <StartDate>1650476359</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>63.604971</Latitude>
        <Longitude>-135.89751</Longitude>
        <LatitudeSecondary>0</LatitudeSecondary>
        <LongitudeSecondary>0</LongitudeSecondary>
        <EventType>restrictionClass</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Details/>
    </WeightRestrictions>
    <WeightRestrictions>
        <ID>ERS--534</ID>
        <Organization>ERS</Organization>
        <RoadwayName>HWY-6</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Description>50% Legal axle on HWY-6 from roadway marker 168 to 3.42 Km Before Lapie River Bridge #2.</Description>
        <Reported>1650565148</Reported>
        <LastUpdated>1650905497</LastUpdated>
        <StartDate>1650565148</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>61.69208</Latitude>
        <Longitude>-133.06843</Longitude>
        <LatitudeSecondary>61.900398</LatitudeSecondary>
        <LongitudeSecondary>-132.662257</LongitudeSecondary>
        <EventType>restrictionClass</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Details/>
    </WeightRestrictions>
</WeightRestrictionsList>