GET Alerts
Returns all alert notifications.
Request Information
https://511.alberta.ca/api/v2/get/alerts
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
lang |
Valid values are 'en' or 'fr', default 'en'. |
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": 376,
"Message": "Wind warning in effect for southwest Alberta",
"Notes": "An Environment Canada wind warning is in effect for Brooks, Cardston, Crowsnest Pass, Kananaskis, Lethbridge, Okotoks and surrounding areas. Strong west winds will develop tonight with gusts over 90 km/h and are expected to remain strong over most areas on Saturday. Some wind prone locations may see gusts exceeding 140 km/h. Vehicles in these areas are at high risk of being overturned or experience loss of control, especially along exposed roads. Be prepared to adjust your driving to changing road conditions due to strong winds. ",
"StartTime": 1580384040,
"EndTime": 1580729580,
"Regions": [
"Alberta",
"Boreal Forest",
"Calgary",
"Canadian Rockies",
"Canadian Shield",
"Central Alberta",
"Edmonton",
"Foothills",
"Grassland",
"Northern Alberta",
"Parkland",
"Rocky Mountain",
"Southern Alberta"
],
"HighImportance": false,
"SendNotification": true
},
{
"Id": 377,
"Message": "Winter storm warning in effect for Banff National Park, Jasper National Park and surrounding areas.",
"Notes": "Winter storm warning in effect for Banff National Park, Jasper National Park and surrounding areas. A long duration heavy snowfall event will begin this evening and end by Sunday. Total snowfall amounts will be between 30 and 50 cm, with locally upwards of 70 cm possible. Strong winds will accompany the snow, which will cause reduced visibility in blowing snow, especially over exposed areas. Consider postponing non-essential travel until conditions improve. Prepare for quickly changing and deteriorating travel conditions. Visibility will be suddenly reduced to near zero at times in heavy snow and blowing snow.",
"StartTime": 1580425500,
"EndTime": 1580771040,
"Regions": [
"Alberta",
"Boreal Forest",
"Calgary",
"Canadian Rockies",
"Canadian Shield",
"Central Alberta",
"Edmonton",
"Foothills",
"Grassland",
"Northern Alberta",
"Parkland",
"Rocky Mountain",
"Southern Alberta"
],
"HighImportance": false,
"SendNotification": true
}
]
XML
<AlertsList>
<Alerts>
<Id>376</Id>
<Message>Wind warning in effect for southwest Alberta</Message>
<Notes>
An Environment Canada wind warning is in effect for Brooks, Cardston, Crowsnest Pass, Kananaskis, Lethbridge, Okotoks and surrounding areas. Strong west winds will develop tonight with gusts over 90 km/h and are expected to remain strong over most areas on Saturday. Some wind prone locations may see gusts exceeding 140 km/h. Vehicles in these areas are at high risk of being overturned or experience loss of control, especially along exposed roads. Be prepared to adjust your driving to changing road conditions due to strong winds.
</Notes>
<StartTime>1580384040</StartTime>
<EndTime>1580729580</EndTime>
<Regions>
Alberta Boreal Forest Calgary Canadian Rockies Canadian Shield Central Alberta Edmonton Foothills Grassland Northern Alberta Parkland Rocky Mountain Southern Alberta
</Regions>
<HighImportance>false</HighImportance>
<SendNotification>true</SendNotification>
</Alerts>
<Alerts>
<Id>377</Id>
<Message>Winter storm warning in effect for Banff National Park, Jasper National Park and surrounding areas.</Message>
<Notes>
Winter storm warning in effect for Banff National Park, Jasper National Park and surrounding areas. A long duration heavy snowfall event will begin this evening and end by Sunday. Total snowfall amounts will be between 30 and 50 cm, with locally upwards of 70 cm possible. Strong winds will accompany the snow, which will cause reduced visibility in blowing snow, especially over exposed areas. Consider postponing non-essential travel until conditions improve. Prepare for quickly changing and deteriorating travel conditions. Visibility will be suddenly reduced to near zero at times in heavy snow and blowing snow.
</Notes>
<StartTime>1580425500</StartTime>
<EndTime>1580771040</EndTime>
<Regions>
Alberta Boreal Forest Calgary Canadian Rockies Canadian Shield Central Alberta Edmonton Foothills Grassland Northern Alberta Parkland Rocky Mountain Southern Alberta
</Regions>
<HighImportance>false</HighImportance>
<SendNotification>true</SendNotification>
</Alerts>
</AlertsList>