GET Restrictions
Returns all weight restriction events.
Request Information
https://511.idaho.gov/api/v2/get/truckrestrictions
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
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. |
boolean |
Comment |
Extra information about the event |
string |
Restrictions |
Different types of restriction: Width (Feet), Height (Feet), Weight (Tons) and Speed (Mph). |
list |
Response Formats
JSON
[ { "ID":"ERS--267", "Organization":"ERS", "RoadwayName":"ID-78", "DirectionOfTravel":"Unknown", "Description":"Bridge construction on ID-78. Speed Restriction: 30mph Additional Restrictions: No Oversized Loads", "Reported":1669737300, "LastUpdated":1669737486, "StartDate":1669737300,"PlannedEndDate":null, "LanesAffected":"No Data", "Latitude":42.880385, "Longitude":-115.828686, "LatitudeSecondary":0.0, "LongitudeSecondary":0.0, "EventType":"roadwork", "IsFullClosure":false, "Comment":null, "Restrictions": { "Width":null, "Height":null, "Length":null, "Weight":null," Speed":30.0 } }, { "ID":"ERS--269", "Organization":"ERS", "RoadwayName":"E Warm Springs Ave"," DirectionOfTravel":"Northbound"," Description":"Speed restriction on E Warm Springs Ave Northbound near mile marker 9.Speed Restriction: 20mph", "Reported":1669737480, "LastUpdated":1669737531," StartDate":1669737480, "PlannedEndDate":null," LanesAffected":"No Data", "Latitude":43.552289, "Longitude":-116.098556, "LatitudeSecondary":0.0, "LongitudeSecondary":0.0, "EventType":"restrictionClass", "IsFullClosure":false, "Comment":null, "Restrictions": { "Width":null, "Height":null, "Length":null, "Weight":null, "Speed":20.0 } } ]
XML
<TruckRestrictionsList> <TruckRestrictions> <ID>ERS--267</ID> <Organization>ERS</Organization> <RoadwayName>ID-78</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Description>Bridge construction on ID-78. Speed Restriction: 30mph Additional Restrictions: No Oversized Loads</Description> <Reported>1669737300</Reported> <LastUpdated>1669737486</LastUpdated> <StartDate>1669737300</StartDate> <PlannedEndDate/> <LanesAffected>No Data</LanesAffected> <Latitude>42.880385</Latitude> <Longitude>-115.828686</Longitude> <LatitudeSecondary>0</LatitudeSecondary> <LongitudeSecondary>0</LongitudeSecondary> <EventType>roadwork</EventType> <IsFullClosure>false</IsFullClosure> <Comment/> <Restrictions> <Width/> <Height/> <Length/> <Weight/> <Speed>30</Speed> </Restrictions> </TruckRestrictions> <TruckRestrictions> <ID>ERS--269</ID> <Organization>ERS</Organization> <RoadwayName>E Warm Springs Ave</RoadwayName> <DirectionOfTravel>Northbound</DirectionOfTravel> <Description>Speed restriction on E Warm Springs Ave Northbound near mile marker 9.Speed Restriction: 20mph </Description> <Reported>1669737480</Reported> <LastUpdated>1669737531</LastUpdated> <StartDate>1669737480</StartDate> <PlannedEndDate/> <LanesAffected>No Data</LanesAffected> <Latitude>43.552289</Latitude> <Longitude>-116.098556</Longitude> <LatitudeSecondary>0</LatitudeSecondary> <LongitudeSecondary>0</LongitudeSecondary> <EventType>restrictionClass</EventType> <IsFullClosure>false</IsFullClosure> <Comment/> <Restrictions> <Width/> <Height/> <Length/> <Weight/> <Speed>20</Speed> </Restrictions> </TruckRestrictions> </TruckRestrictionsList>