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. |
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
[ { "ID": "ERS--329", "Organization": "ERS", "RoadwayName": "HWY-2", "DirectionOfTravel": "Both Directions", "Description": "25 tonnes on HWY-2 Both Directions near roadway marker 106.", "Reported": 1637863993, "LastUpdated": 1637876376, "StartDate": 1637863993, "PlannedEndDate": null, "LanesAffected": "No Data", "Latitude": 60.165231, "Longitude": -134.698122, "LatitudeSecondary": 0.0, "LongitudeSecondary": 0.0, "EventType": "bridgeRestrictions", "IsFullClosure": false, "Details": "25 tonnes on HWY-2 Both Directions" }, { "ID": "ERS--328", "Organization": "ERS", "RoadwayName": "Silver Trl", "DirectionOfTravel": "Southbound", "Description": "40 tonnes on Silver Trl Southbound near roadway marker 64.", "Reported": 1637790867, "LastUpdated": 1637791134, "StartDate": 1637790867, "PlannedEndDate": null, "LanesAffected": "No Data", "Latitude": 63.701696, "Longitude": -135.863797, "LatitudeSecondary": 0.0, "LongitudeSecondary": 0.0, "EventType": "bridgeRestrictions", "IsFullClosure": false, "Details": "40 tonnes on Silver Trl Southbound" } ]
XML
<BridgeRestrictionsList> <BridgeRestrictions> <ID>ERS--329</ID> <Organization>ERS</Organization> <RoadwayName>HWY-2</RoadwayName> <DirectionOfTravel>Both Directions</DirectionOfTravel> <Description>25 tonnes on HWY-2 Both Directions near roadway marker 106.</Description> <Reported>1637863993</Reported> <LastUpdated>1637876376</LastUpdated> <StartDate>1637863993</StartDate> <PlannedEndDate/> <LanesAffected>No Data</LanesAffected> <Latitude>60.165231</Latitude> <Longitude>-134.698122</Longitude> <LatitudeSecondary>0</LatitudeSecondary> <LongitudeSecondary>0</LongitudeSecondary> <EventType>bridgeRestrictions</EventType> <IsFullClosure>false</IsFullClosure> <Details>25 tonnes on HWY-2 Both Directions</Details> </BridgeRestrictions> <BridgeRestrictions> <ID>ERS--328</ID> <Organization>ERS</Organization> <RoadwayName>Silver Trl</RoadwayName> <DirectionOfTravel>Southbound</DirectionOfTravel> <Description>40 tonnes on Silver Trl Southbound near roadway marker 64.</Description> <Reported>1637790867</Reported> <LastUpdated>1637791134</LastUpdated> <StartDate>1637790867</StartDate> <PlannedEndDate/> <LanesAffected>No Data</LanesAffected> <Latitude>63.701696</Latitude> <Longitude>-135.863797</Longitude> <LatitudeSecondary>0</LatitudeSecondary> <LongitudeSecondary>0</LongitudeSecondary> <EventType>bridgeRestrictions</EventType> <IsFullClosure>false</IsFullClosure> <Details>40 tonnes on Silver Trl Southbound</Details> </BridgeRestrictions> </BridgeRestrictionsList>