GET Alerts
Returns all alert notifications.
Request Information
https://az511.com/api/v2/get/alerts
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 |
Message |
The alert details. |
string |
Notes |
Additional alert details. |
string |
StartTime |
The start time of the alert in Unix time. More information |
integer |
EndTime |
The end time of the alert in Unix time. More information |
integer |
Regions |
A list of regions affected. |
list |
HighImportance |
Whether the alert is flagged as high importance. |
boolean |
SendNotification |
Whether the alert is disseminated over communication channels (SMS, Email, IVR). |
boolean |
Response Formats
JSON
[
{
"Id": 524,
"Message": "Interstate 10 westbound lanes are to be restricted from Baseline to Elliot roads",
"Notes": "<p dir=\"ltr\">PHOENIX – The westbound lanes of Interstate 10 are scheduled to be restricted from 1 p.m. to 4 p.m. today between Elliot and Baseline roads for pavement repairs, according to the Arizona Department of Transportation. </p>\r\n\r\n<p dir=\"ltr\">HOV, left and center lanes are closing to allow crews to make repairs.</p>\r\n\r\n<p>Motorists are advised to expect delays and to use alternate routes, including Loop 202 South Mountain. Drives can bypass I-10 westbound by exiting onto L-202 and traveling west and north to reconnect with I-10 at 59th Avenue.</p>\r\n\r\n<p dir=\"ltr\"> Real-time highway conditions are available on ADOT’s Arizona Traveler Information site at <a data-saferedirecturl=\"https://www.google.com/url?q=http://az511.gov/&source=gmail&ust=1580847127490000&usg=AFQjCNHpqlzHoq8MzDFccU4LvpDk2CdfPA\" href=\"http://az511.gov/\" target=\"_blank\">az511.gov</a>, by calling 511 and through ADOT’s Twitter feed,<a data-saferedirecturl=\"https://www.google.com/url?q=https://twitter.com/ArizonaDOT&source=gmail&ust=1580847127490000&usg=AFQjCNH9G-5S2CN31gSqZWUYUGZ9uB8LCw\" href=\"https://twitter.com/ArizonaDOT\" target=\"_blank\">@ArizonaDOT</a>. When a freeway closure or other major traffic event occurs, our free app available at <a data-saferedirecturl=\"https://www.google.com/url?q=http://adotalerts.com/&source=gmail&ust=1580847127490000&usg=AFQjCNGhZV_RxWAy5vKpzTIxp_F8CgvExg\" href=\"http://adotalerts.com/\" target=\"_blank\">ADOTAlerts.com</a> will send critical information directly to app users in affected areas – where possible, in advance of alternate routes.</p>\r\n\r\n<p dir=\"ltr\"> # #</p>\r\n<br />\r\n ",
"StartTime": 1580761320,
"EndTime": 1580847660,
"HighImportance": true,
"SendNotification": true
}
]
XML
<AlertsList>
<Alerts>
<Id>524</Id>
<Message>
Interstate 10 westbound lanes are to be restricted from Baseline to Elliot roads
</Message>
<Notes>
<p dir="ltr">PHOENIX – The westbound lanes of Interstate 10 are scheduled to be restricted from 1 p.m. to 4 p.m. today between Elliot and Baseline roads for pavement repairs, according to the Arizona Department of Transportation. </p> <p dir="ltr">HOV, left and center lanes are closing to allow crews to make repairs.</p> <p>Motorists are advised to expect delays and to use alternate routes, including Loop 202 South Mountain. Drives can bypass I-10 westbound by exiting onto L-202 and traveling west and north to reconnect with I-10 at 59th Avenue.</p> <p dir="ltr"> Real-time highway conditions are available on ADOT’s Arizona Traveler Information site at <a data-saferedirecturl="https://www.google.com/url?q=http://az511.gov/&source=gmail&ust=1580847127490000&usg=AFQjCNHpqlzHoq8MzDFccU4LvpDk2CdfPA" href="http://az511.gov/" target="_blank">az511.gov</a>, by calling 511 and through ADOT’s Twitter feed,<a data-saferedirecturl="https://www.google.com/url?q=https://twitter.com/ArizonaDOT&source=gmail&ust=1580847127490000&usg=AFQjCNH9G-5S2CN31gSqZWUYUGZ9uB8LCw" href="https://twitter.com/ArizonaDOT" target="_blank">@ArizonaDOT</a>. When a freeway closure or other major traffic event occurs, our free app available at <a data-saferedirecturl="https://www.google.com/url?q=http://adotalerts.com/&source=gmail&ust=1580847127490000&usg=AFQjCNGhZV_RxWAy5vKpzTIxp_F8CgvExg" href="http://adotalerts.com/" target="_blank">ADOTAlerts.com</a> will send critical information directly to app users in affected areas – where possible, in advance of alternate routes.</p> <p dir="ltr"> # #</p> <br />
</Notes>
<StartTime>1580761320</StartTime>
<EndTime>1580847660</EndTime>
<HighImportance>true</HighImportance>
<SendNotification>true</SendNotification>
</Alerts>
</AlertsList>