GET Alerts

Returns all alert notifications.

Request Information

https://511.alaska.gov/api/v2/get/alerts

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
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

Sample:
[
	{
		"Id": 22,
		"Message": "Avalanche on Pasagshak Road - one lane is currently open - both lanes should be open sometime Tuesday morning 2/4/2020",
		"Notes": null,
		"StartTime": 1580711160,
		"EndTime": 1580849700,
		"Regions": [
			"Kodiak"
		],
		"HighImportance": false,
		"SendNotification": true
	}
]

XML

Sample:
<AlertsList>
	<Alerts>
		<Id>22</Id>
		<Message>
		Avalanche on Pasagshak Road - one lane is currently open - both lanes should be open sometime Tuesday morning 2/4/2020
		</Message>
		<Notes/>
		<StartTime>1580711160</StartTime>
		<EndTime>1580849700</EndTime>
		<Regions>Kodiak</Regions>
		<HighImportance>false</HighImportance>
		<SendNotification>true</SendNotification>
	</Alerts>
</AlertsList>