The Get SLA Detail Report operation returns an SLA Detail report for one, several or all monitors.
The SLA Detail report supports only one monitor per API call. |
Syntax
Request URL
GET https://www.alertsite.com/report-api/sla/{customer-id}?[report_parameters]
Parameters
This endpoint is valid for Version 1 only.
obj_device
Required. The ID of the monitor you need to get a report from.
obj_location
Required. A comma-separated list of location IDs.
rdate | from+to
Required. A relative date or date range. See below.
Value format: YYYY-MM-DD
, optionally +HH:MM:SS
.
sort_order
The sort order. Specify asc
to sort data in ascending order, or desc
to sort it in descending order.
Available Relative Date Ranges
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 SLA Detail data for the customer ID C99999, device ID 130705, from all 3 monitoring locations, Charlotte, Boston and Austin (location IDs 22,63,72), for LastWeek:
https://www.alertsite.com/report-api/sla/C99999?obj_device=130705&location=22,63,72&rdate=LastWeek
See Also
Get Detail Report
Get Outage Report
Get Page Objects Report
Get Site Status Report
Get Transaction Detail Report
Get Usage Report
AlertSite Report API