AlertTypeCategories is now live!


Swagger
/swagger

Add Alert (JSON)
{
"id": "3919BA34-99BF-4287-9C1B-8E638B7E2A91",
"name": "Alerts.API Add Unit Test",
"latitude": 38.1982462018153,
"longitude": -84.8695607906257,
"dataSource": 1,
"directionOfTravel": 4,
"radius": 1500,
"alertTypeCategory": "Congestion",
"classification": 1
}
Update Alert (JSON)
{
"id": "3919BA34-99BF-4287-9C1B-8E638B7E2A91",
"name": "Alerts.API Update Unit Test",
"latitude": 38.1982462018153,
"longitude": -84.8695607906257,
"dataSource": 1,
"directionOfTravel": 4,
"radius": 1500,
"alertTypeCategory": "Congestion",
"classification": 1
}

Delete Alert (URL)
/api/v2/alerts/deletealert?id=3919BA34-99BF-4287-9C1B-8E638B7E2A91

Static (CVO Managed)
/api/v2/alerts/getalerts?latitude=38.1982462018153&longitude=-84.8695607906257&radius=16093&isRealtime=false&dataSource=1

Category
Unknown = 0
Generic = 1
HighWindArea = 2
NoTrucksAllowed = 3
RestArea = 4
TollEntry = 5
TollExit = 6
SteepHill = 7
WorkZone = 8
DirectionLessWorkZone = 9
RealTimeIncident = 10
Congestion = 11

Classification
Unspecified = 0
Normal = 1
RealTimeIncident = 2
DirectionOfTravel
N = 0
NNE = 1
NE = 2
ENE = 3
E = 4
ESE = 5
SE = 6
SSE = 7
S = 8
SSW = 9
SW = 10
WSW = 11
W = 12
WNW = 13
NW = 14
NNW = 15
Data Source
Unknown = 0
Motion = 1
Kentucky = 2

Realtime (Inrix Managed)
/api/v2/alerts/getalerts?latitude=38.1982462018153&longitude=-84.8695607906257&radius=16093&isRealtime=true&dataSource=1