GET Traffic
List of all open traffic crashes, traffic control malfunctions and roadway obstructions. Coordinates are provided in Lattiude and Longitude (WGS84) and North Carolina State Plane (NAD83). All locations are approximate.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TrafficName | Description | Type | Additional information |
---|---|---|---|
EventNo |
Event Number |
string |
None. |
EventDateTime |
Date and time the event was received |
date |
None. |
AddedDateTimeString |
Date the event was received |
string |
None. |
TypeCode |
Event type code |
string |
None. |
TypeDescription |
Event type description |
string |
None. |
TypeSubCode |
Event subtype code |
string |
None. |
TypeSubDescription |
Event subtype description |
string |
None. |
Division |
Event patrol division |
string |
None. |
XCoordinate |
Event x coordinate |
integer |
None. |
YCoordinate |
Event y coordinate |
integer |
None. |
Latitude |
Event latitude coordinate |
decimal number |
None. |
Longitude |
Event longitude coordinate |
decimal number |
None. |
Address |
Event address |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "eventNo": "sample string 2", "eventDateTime": "2025-01-14T19:02:46.8816106-05:00", "addedDateTimeString": "sample string 4", "typeCode": "sample string 12", "typeDescription": "sample string 13", "typeSubCode": "sample string 14", "typeSubDescription": "sample string 15", "division": "sample string 18", "xCoordinate": 1, "yCoordinate": 1, "latitude": 1.1, "longitude": 1.1, "address": "sample string 5 sample string 6 sample string 7 sample string 8 sample string 9" }, { "eventNo": "sample string 2", "eventDateTime": "2025-01-14T19:02:46.8816106-05:00", "addedDateTimeString": "sample string 4", "typeCode": "sample string 12", "typeDescription": "sample string 13", "typeSubCode": "sample string 14", "typeSubDescription": "sample string 15", "division": "sample string 18", "xCoordinate": 1, "yCoordinate": 1, "latitude": 1.1, "longitude": 1.1, "address": "sample string 5 sample string 6 sample string 7 sample string 8 sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfTraffic xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Traffic> <EID>1</EID> <EventNo>sample string 2</EventNo> <EventDateTime>2025-01-14T19:02:46.8816106-05:00</EventDateTime> <AddedDateTimeString>sample string 4</AddedDateTimeString> <StreetNumber>sample string 5</StreetNumber> <StreetDirection>sample string 6</StreetDirection> <StreetName>sample string 7</StreetName> <StreetType>sample string 8</StreetType> <StreetSuffix>sample string 9</StreetSuffix> <CrossStreet1>sample string 10</CrossStreet1> <CrossStreet2>sample string 11</CrossStreet2> <TypeCode>sample string 12</TypeCode> <TypeDescription>sample string 13</TypeDescription> <TypeSubCode>sample string 14</TypeSubCode> <TypeSubDescription>sample string 15</TypeSubDescription> <AgencyID>sample string 16</AgencyID> <DispatchGroup>sample string 17</DispatchGroup> <Division>sample string 18</Division> <XCoordinate>1</XCoordinate> <YCoordinate>1</YCoordinate> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> </Traffic> <Traffic> <EID>1</EID> <EventNo>sample string 2</EventNo> <EventDateTime>2025-01-14T19:02:46.8816106-05:00</EventDateTime> <AddedDateTimeString>sample string 4</AddedDateTimeString> <StreetNumber>sample string 5</StreetNumber> <StreetDirection>sample string 6</StreetDirection> <StreetName>sample string 7</StreetName> <StreetType>sample string 8</StreetType> <StreetSuffix>sample string 9</StreetSuffix> <CrossStreet1>sample string 10</CrossStreet1> <CrossStreet2>sample string 11</CrossStreet2> <TypeCode>sample string 12</TypeCode> <TypeDescription>sample string 13</TypeDescription> <TypeSubCode>sample string 14</TypeSubCode> <TypeSubDescription>sample string 15</TypeSubDescription> <AgencyID>sample string 16</AgencyID> <DispatchGroup>sample string 17</DispatchGroup> <Division>sample string 18</Division> <XCoordinate>1</XCoordinate> <YCoordinate>1</YCoordinate> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> </Traffic> </ArrayOfTraffic>