Information about current alerts on state highways
◆ GetAlert()
| Alert HighwayAlerts.GetAlert |
( |
string | AccessCode, |
|
|
int | AlertID ) |
Retrieves a specific incident.
- Parameters
-
| AccessCode | Your Traveler API Access Code. |
| AlertID | AlertID for a specific incident. |
- Returns
- Alert
◆ GetAlerts()
| Alert[] HighwayAlerts.GetAlerts |
( |
string | AccessCode | ) |
|
Retrieves an array of currently active incidents.
- Parameters
-
| AccessCode | Your Traveler API Access Code. |
- Returns
- Alert[]
◆ GetAlertsAsDataSet()
| System.Data.DataSet HighwayAlerts.GetAlertsAsDataSet |
( |
string | AccessCode | ) |
|
Retrieves a dataset containing currently active incidents.
- Parameters
-
| AccessCode | Your Traveler API Access Code. |
- Returns
- Dataset
◆ GetAlertsForMapArea()
| Alert[] HighwayAlerts.GetAlertsForMapArea |
( |
string | AccessCode, |
|
|
string | MapArea ) |
Return alerts for a specific area.
- Parameters
-
| AccessCode | Your Traveler API Access Code. |
| MapArea | The area to limit results to |
- Returns
- List of alerts
◆ GetEventCategories()
| string[] HighwayAlerts.GetEventCategories |
( |
| ) |
|
Selects an array of valid categories to use with SearchAlerts.
- Returns
- String array containing Event Categories currently in use
◆ GetMapAreas()
| Area[] HighwayAlerts.GetMapAreas |
( |
| ) |
|
Return list of areas and associated IDs.
- Returns
- List of map areas available for queries
◆ SearchAlerts()
| Alert[] HighwayAlerts.SearchAlerts |
( |
string | AccessCode, |
|
|
string | StateRoute, |
|
|
string | Region, |
|
|
DateTime? | SearchTimeStart, |
|
|
DateTime? | SearchTimeEnd, |
|
|
decimal? | StartingMilepost, |
|
|
decimal? | EndingMilepost ) |
Retrieves an array of incidents that match certain criteria.
- Parameters
-
| AccessCode | Your Traveler API Access Code. |
| StateRoute | Optional. A State Route formatted as a three digit number. I-5 would be 005. |
| Region | Optional. Use the integer code as follows: 8 - North Central, 11 - South Central, 12 - Southwest, 9 - Northwest, 10 - Olympic, 7 - Eastern |
| SearchTimeStart | Optional. Will only find alerts occuring after this time. |
| SearchTimeEnd | Optional. Will only find alerts occuring before this time. |
| StartingMilepost | Optional. Will only find alerts after this milepost. |
| EndingMilepost | Optional. Will only find alerts before this milepost. |
- Returns
- Alert[]