GET Events
Returns all traffic events.
Request Information
https://511la.org/api/v2/get/event
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. |
integer |
SourceId |
The source id of the event. |
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 |
A summary of the event details which often includes type of event, dates and lanes affected. |
string |
Reported |
The date the event was reported in Unix time. More information |
integer |
LastUpdated |
The date the event'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. One of the following: roadwork, closures or accidentsAndIncidents. |
string |
EventSubType |
A more detailed and descriptive event type. No fixed list of sub types. |
string |
IsFullClosure |
True if all lanes are blocked for this event. |
boolean |
Severity |
Describes the severity of the event with default value of Unknown. |
string |
EncodedPolyline |
A single string storing a series of coordinates. More information |
string |
Restrictions |
Different types of restriction: Width (Feet), Height (Feet), Weight (Tons) and Speed (Mph). |
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": 21,
"SourceId": "11868",
"Organization": "ERS",
"RoadwayName": "LA-29",
"DirectionOfTravel": "Both",
"Description": "Floodgate Closure on LA-29 Both Directions from Maple St (MM 37) to Dry Bayou Rd (MM 34) .",
"Reported": 1716369660,
"LastUpdated": 1716369834,
"StartDate": 1716369660,
"PlannedEndDate": null,
"LanesAffected": "No Data",
"Latitude": 30.9509407534434,
"Longitude": -92.181185022253,
"LatitudeSecondary": 30.9202664356692,
"LongitudeSecondary": -92.1567100915859,
"EventType": "weatherConditions",
"EventSubType": "floodgateClosed",
"IsFullClosure": false,
"Severity": "None",
"EncodedPolyline": "kb|{DlcsqPrDqCpCqBROhAy@nA_AJI|AkAb@[`@[~C}BdIaGbBmAxBaBhCmBbFwDlF{DfIgG|EqDlDiCnAcApEmDf@_@pB_BdCkBnSgOb@[`I}FnDmCfNaK|IsGfHiFpDmCLKfIeG",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Details": ""
},
{
"ID": 22,
"SourceId": "11869",
"Organization": "ERS",
"RoadwayName": "LA-29",
"DirectionOfTravel": "Both",
"Description": "Flooding on LA-29 Both Directions from Keller St to Overbey Rd . All Lanes Shift Right.",
"Reported": 1716369840,
"LastUpdated": 1716972805,
"StartDate": 1716369840,
"PlannedEndDate": null,
"LanesAffected": "All Lanes Shift Right",
"Latitude": 30.9481564254629,
"Longitude": -92.1851853307057,
"LatitudeSecondary": 30.9360939540185,
"LongitudeSecondary": -92.190221414571,
"EventType": "weatherConditions",
"EventSubType": "flooding",
"IsFullClosure": false,
"Severity": "None",
"EncodedPolyline": "_q{{Dl|sqP`Ar@LHdCbBtAdALH~AhAhClBTN~AjAzB|AjAz@pAt@\\Pz@^`A\\bAVb@J`Cl@nAXfAVnB\\lAJtBH|B@fA@rBDlHD",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Details": ""
}
]
XML
<EventList>
<Event>
<ID>21</ID>
<SourceId>11868</SourceId>
<Organization>ERS</Organization>
<RoadwayName>LA-29</RoadwayName>
<DirectionOfTravel>Both</DirectionOfTravel>
<Description>Floodgate Closure on LA-29 Both Directions from Maple St (MM 37) to Dry Bayou Rd (MM 34) .</Description>
<Reported>1716369660</Reported>
<LastUpdated>1716369834</LastUpdated>
<StartDate>1716369660</StartDate>
<PlannedEndDate />
<LanesAffected>No Data</LanesAffected>
<Latitude>30.9509407534434</Latitude>
<Longitude>-92.181185022253</Longitude>
<LatitudeSecondary>30.9202664356692</LatitudeSecondary>
<LongitudeSecondary>-92.1567100915859</LongitudeSecondary>
<EventType>weatherConditions</EventType>
<EventSubType>floodgateClosed</EventSubType>
<IsFullClosure>false</IsFullClosure>
<Severity>None</Severity>
<EncodedPolyline>kb|{DlcsqPrDqCpCqBROhAy@nA_AJI|AkAb@[`@[~C}BdIaGbBmAxBaBhCmBbFwDlF{DfIgG|EqDlDiCnAcApEmDf@_@pB_BdCkBnSgOb@[`I}FnDmCfNaK|IsGfHiFpDmCLKfIeG</EncodedPolyline>
<Restrictions>
<Width />
<Height />
<Length />
<Weight />
<Speed />
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Details></Details>
</Event>
<Event>
<ID>22</ID>
<SourceId>11869</SourceId>
<Organization>ERS</Organization>
<RoadwayName>LA-29</RoadwayName>
<DirectionOfTravel>Both</DirectionOfTravel>
<Description>Flooding on LA-29 Both Directions from Keller St to Overbey Rd . All Lanes Shift Right.</Description>
<Reported>1716369840</Reported>
<LastUpdated>1716972805</LastUpdated>
<StartDate>1716369840</StartDate>
<PlannedEndDate />
<LanesAffected>All Lanes Shift Right</LanesAffected>
<Latitude>30.9481564254629</Latitude>
<Longitude>-92.1851853307057</Longitude>
<LatitudeSecondary>30.9360939540185</LatitudeSecondary>
<LongitudeSecondary>-92.190221414571</LongitudeSecondary>
<EventType>weatherConditions</EventType>
<EventSubType>flooding</EventSubType>
<IsFullClosure>false</IsFullClosure>
<Severity>None</Severity>
<EncodedPolyline>_q{{Dl|sqP`Ar@LHdCbBtAdALH~AhAhClBTN~AjAzB|AjAz@pAt@\Pz@^`A\bAVb@J`Cl@nAXfAVnB\lAJtBH|B@fA@rBDlHD</EncodedPolyline>
<Restrictions>
<Width />
<Height />
<Length />
<Weight />
<Speed />
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Details></Details>
</Event>
</EventList>