GET Events

Returns all traffic events.

Request Information

http://511wi.gov/api/v2/get/event

URI Parameters

NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

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

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
County

The name of the county.

string
Restrictions

Different types of restriction: Width (Feet), Height (Feet), Weight (Tons) and Speed (Mph).

list
Comment

Extra information about the event

string
Recurrence

Plain text recurrence description. The format of the plain text data will depend on the source of the event.

string

Response Formats

JSON

Sample:
[
	{
	"ID": "WisDOT LCS--LCS-128642-1",
	"Organization": "WisDOT LCS",
	"RoadwayName": "WIS 54",
	"DirectionOfTravel": "Westbound",
	"Description": "Mainline Full Closure on WIS 54 Westbound from S WATER ST to 10TH ST. ",
	"Reported": 1575752400,
	"LastUpdated": 1574688807,
	"StartDate": 1575752400,
	"PlannedEndDate": 1575759600,
	"LanesAffected": "No Data",
	"Latitude": 44.295009,
	"Longitude": -90.847236,
	"LatitudeSecondary": 44.294646,
	"LongitudeSecondary": -90.859731,
	"EventType": "roadwork",
	"County": "Jackson",
	"Restrictions": {
		"Width": 0.0,
		"Height": null,
		"Weight": null,
		"Speed": null
	},
	"Comment": "Detour in effect",
	"Recurrence": "3/30/20 - 4/3/20 9:00 AM - 3:00 PM Daily/Nightly"
	},
	{
	"ID": "WisDOT LCS--LCS-128658-1",
	"Organization": "WisDOT LCS",
	"RoadwayName": "WIS 55",
	"DirectionOfTravel": "Northbound",
	"Description": "Mainline Full Closure on WIS 55 Northbound from COUNTY E to COUNTY S. ",
	"Reported": 1575757800,
	"LastUpdated": 1574771487,
	"StartDate": 1575757800,
	"PlannedEndDate": 1575766800,
	"LanesAffected": "No Data",
	"Latitude": 44.384038,
	"Longitude": -88.291683,
	"LatitudeSecondary": 44.386633,
	"LongitudeSecondary": -88.291626,
	"EventType": "roadwork",
	"County": "Outagamie",
	"Restrictions": {
		"Width": 0.0,
		"Height": null,
		"Weight": null,
		"Speed": null
	},
	"Comment": "",
	"Recurrence": ""
	}
]

XML

Sample:
<EventList>
	<Event>
		<ID>WisDOT LCS--LCS-128642-1</ID>
		<Organization>WisDOT LCS</Organization>
		<RoadwayName>WIS 54</RoadwayName>
		<DirectionOfTravel>Westbound</DirectionOfTravel>
		<Description>
		Mainline Full Closure on WIS 54 Westbound from S WATER ST to 10TH ST.
		</Description>
		<Reported>1575752400</Reported>
		<LastUpdated>1574688807</LastUpdated>
		<StartDate>1575752400</StartDate>
		<PlannedEndDate>1575759600</PlannedEndDate>
		<LanesAffected>No Data</LanesAffected>
		<Latitude>44.295009</Latitude>
		<Longitude>-90.847236</Longitude>
		<LatitudeSecondary>44.294646</LatitudeSecondary>
		<LongitudeSecondary>-90.859731</LongitudeSecondary>
		<EventType>roadwork</EventType>
		<County>Jackson</County>
		<Restrictions>
			<Width>0.0</Width>
			<Height/>
			<Weight/>
			<Speed/>
		</Restrictions>
		<Comment>Detour in effect</Comment>
		<Recurrence>3/30/20 - 4/3/20 9:00 AM - 3:00 PM Daily/Nightly</Recurrence>
	</Event>
	<Event>
		<ID>WisDOT LCS--LCS-128658-1</ID>
		<Organization>WisDOT LCS</Organization>
		<RoadwayName>WIS 55</RoadwayName>
		<DirectionOfTravel>Northbound</DirectionOfTravel>
		<Description>
		Mainline Full Closure on WIS 55 Northbound from COUNTY E to COUNTY S.
		</Description>
		<Reported>1575757800</Reported>
		<LastUpdated>1574771487</LastUpdated>
		<StartDate>1575757800</StartDate>
		<PlannedEndDate>1575766800</PlannedEndDate>
		<LanesAffected>No Data</LanesAffected>
		<Latitude>44.384038</Latitude>
		<Longitude>-88.291683</Longitude>
		<LatitudeSecondary>44.386633</LatitudeSecondary>
		<LongitudeSecondary>-88.291626</LongitudeSecondary>
		<EventType>roadwork</EventType>
		<County>Outagamie</County>
		<Restrictions>
			<Width>0.0</Width>
			<Height/>
			<Weight/>
			<Speed/>
		</Restrictions>
		<Comment></Comment>
		<Recurrence></Recurrence>
   </Event>
</EventList>