The Get Outage Report operation returns an outage report for one, several or all monitors.
Syntax
Request URL
GET https://www.alertsite.com/report-api/outage/{customer-id}?[report_parameters]
Parameters
This endpoint is valid for Version 2 only.
devices
The monitor’s identifier. If omitted, all applicable monitors or a comma-separated list of monitor IDs.
format
The output format.
Possible values: XML
(default), JSON
.
rdate | start_date+end_date
A relative date or date range. See below.
Available Relative Date Ranges
When using the objects endpoint, data pulls should be limited to less than 1 hour due to excessive data load. |
Value | Description |
---|---|
LastOneHour |
Last 1 hour. |
LastTwoHours |
Last 2 hours. |
LastFourHours |
Last 4 hours. |
LastEightHours |
Last 8 hours. |
LastTwelveHours |
Last 12 hours. |
LastTwentyFourHours |
Last 24 hours. |
LastFortyEightHours |
Last 48 hours. |
Today |
Today. |
Yesterday |
Yesterday. |
LastTwoDays |
Last 2 days. |
LastThreeDays |
Last 3 days. |
LastSevenDays |
Last 7 days. |
LastEightDays |
Last 8 days. |
ThisWeek |
This week (beginning Sunday). |
ThisMonth |
This month. |
LastMonth |
Last month. |
LastWeek |
Last week (beginning Sunday). |
LastBizWeek |
Last business week. |
Example
-
This URL returns the Outage data for the customer ID C99999 for all monitors from all locations for Last Month:
https://www.alertsite.com/report-api/outage/C99999?&rdate=LastMonth
See Also
Get Detail Report
Get Page Objects Report
Get Site Status Report
Get SLA Detail Report
Get Transaction Detail Report
Get Usage Report
AlertSite Report API