GET Bridge Restrictions
Returns all bridge restriction events.
Request Information
https://511yukon.ca/api/v2/get/bridgerestrictions
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 |
| SourceId |
SourceId of the item |
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 |
| EventSubType |
A more detailed and descriptive event type. No fixed list of sub types. |
string |
| IsFullClosure |
All lanes are closed. |
boolean |
| Severity |
Describes the severity of the item with default value of None |
string |
| EncodedPolyline |
A single string storing a series of coordinates. More information |
string |
| Restrictions |
Different types of restriction: Width (metres), Height (metres), Weight (tonnes) and Speed (km/h). |
list |
| DetourPolyline |
Google Encoded Polyline for the detour |
string |
| DetourInstructions |
Turn by turn instructions for the detour |
string |
| Recurrence |
Describes the schedule of the event |
string |
| RecurrenceSchedules |
More information about recurring events. Event start and end dates, times and day(s) of the week event is active. |
string |
| Details |
Event details. |
string |
Response Formats
JSON
[
{
"ID": 222,
"SourceId": "501",
"Organization": "ERS",
"RoadwayName": "Blind Creek Rd",
"DirectionOfTravel": "Unknown",
"Description": "30 tonnes on Blind Creek Rd at Blind Creek Bridge.",
"Reported": 1649268419,
"LastUpdated": 1649426078,
"StartDate": 1649268419,
"PlannedEndDate": null,
"LanesAffected": "No Data",
"Latitude": 62.18420157,
"Longitude": -133.2004077,
"LatitudeSecondary": null,
"LongitudeSecondary": null,
"EventType": "bridgeRestrictions",
"EventSubType": "bridgeRestrictions2",
"IsFullClosure": false,
"Severity": "Natural Disaster",
"EncodedPolyline": null,
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Details": null
},
{
"ID": 248,
"SourceId": "566",
"Organization": "ERS",
"RoadwayName": "HWY-1",
"DirectionOfTravel": "Unknown",
"Description": "Bridge Restriction on HWY-1 at Nisutlin Bay Bridge (1244 km). Width Restriction: 8m Height Restriction: 6.3m Length Restriction: 11.8m Single-Unit GVW Restriction: 25tonnes Two-Unit GVW Restriction: 14tonnes Speed Restriction: 30km/h Additional Restrictions: All Trucks Obey Posted Signage",
"Reported": 1651592304,
"LastUpdated": 1651617360,
"StartDate": 1651592304,
"PlannedEndDate": null,
"LanesAffected": "No Data",
"Latitude": 60.1641613029552,
"Longitude": -132.705462545791,
"LatitudeSecondary": null,
"LongitudeSecondary": null,
"EventType": "bridgeRestrictions",
"EventSubType": "BridgeRestrictionDefault",
"IsFullClosure": false,
"Severity": "None",
"EncodedPolyline": null,
"Restrictions": {
"Width": 8.00,
"Height": 6.30,
"Length": 11.80,
"Weight": null,
"Speed": 30.00
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Details": null
}
]
XML
<BridgeRestrictionsList>
<BridgeRestrictions>
<ID>222</ID>
<SourceId>501</SourceId>
<Organization>ERS</Organization>
<RoadwayName>Blind Creek Rd</RoadwayName>
<DirectionOfTravel>Unknown</DirectionOfTravel>
<Description>30 tonnes on Blind Creek Rd at Blind Creek Bridge. </Description>
<Reported>1649268419</Reported>
<LastUpdated>1649426078</LastUpdated>
<StartDate>1649268419</StartDate>
<PlannedEndDate />
<LanesAffected>No Data</LanesAffected>
<Latitude>62.18420157</Latitude>
<Longitude>-133.2004077</Longitude>
<LatitudeSecondary />
<LongitudeSecondary />
<EventType>bridgeRestrictions</EventType>
<EventSubType>bridgeRestrictions2</EventSubType>
<IsFullClosure>false</IsFullClosure>
<Severity>Natural Disaster</Severity>
<EncodedPolyline />
<Restrictions>
<Width />
<Height />
<Length />
<Weight />
<Speed />
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Details />
</BridgeRestrictions>
<BridgeRestrictions>
<ID>248</ID>
<SourceId>566</SourceId>
<Organization>ERS</Organization>
<RoadwayName>HWY-1</RoadwayName>
<DirectionOfTravel>Unknown</DirectionOfTravel>
<Description>Bridge Restriction on HWY-1 at Nisutlin Bay Bridge (1244 km).Width Restriction: 8m Height Restriction: 6.3m Length Restriction: 11.8m Single-Unit GVW Restriction: 25tonnes Two-Unit GVW Restriction: 14tonnes Speed Restriction: 30km/h Additional Restrictions: All Trucks Obey Posted Signage</Description>
<Reported>1651592304</Reported>
<LastUpdated>1651617360</LastUpdated>
<StartDate>1651592304</StartDate>
<PlannedEndDate />
<LanesAffected>No Data</LanesAffected>
<Latitude>60.1641613029552</Latitude>
<Longitude>-132.705462545791</Longitude>
<LatitudeSecondary />
<LongitudeSecondary />
<EventType>bridgeRestrictions</EventType>
<EventSubType>BridgeRestrictionDefault</EventSubType>
<IsFullClosure>false</IsFullClosure>
<Severity>None</Severity>
<EncodedPolyline />
<Restrictions>
<Width>8.00</Width>
<Height>6.30</Height>
<Length>11.80</Length>
<Weight />
<Speed>30.00</Speed>
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Details />
</BridgeRestrictions>
</BridgeRestrictionsList>