Get Transaction Detail Report

Last modified on March 27, 2024

This endpoint returns detailed run data for one, several or all DéjàClick monitors in the specified AlertSite account. The results include a list of monitor runs for the report period, with the status and response time breakdown for the whole monitor, individual steps (actions), events and HTTP requests that make up each event.

Syntax

Request URL

GET https://www.alertsite.com/report-api/txndetail/{customer-id}?[report_parameters]

Parameters

devices

The monitor ID to include in the report, or a comma-separated list of monitor IDs. If omitted, all applicable monitors are included.

dow

Optional days of the week to include in the report. 0 is Sunday, 1 is Monday, and so on. Separate multiple values with commas. If omitted, all days are included.

format

The output format: XML (default) or JSON.

api_version

To get XML data, do not include the api_version parameter. To get JSON data, use api_version=2.

hours

Optional hours of the day to include in the report. 0 is midnight. Separate multiple values with commas. If omitted, all hours are included.

locations

The location ID or a comma-separated list of location IDs. If omitted, all locations are included.

max_results

The number of results allowed to be returned.

rdate OR start_date+end_date

Required. The report period. You can use a relative time period (rdate) or an exact period (start_date+end_date in the format YYYY-MM-DD or YYYY-MM-DD+HH:MM:SS).

rdate can have the following values:

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.

Examples

The following URL returns the Transaction Step data for all monitors from Los Angeles (location ID 42) for yesterday, in the JSON format:

https://www.alertsite.com/report-api/txndetail/C99999?&locations=42&rdate=Yesterday&api_version=2&format=json

The following URL returns the same data in the XML format:

https://www.alertsite.com/report-api/txndetail/C99999?&locations=42&rdate=Yesterday

See Also

AlertSite Report API

Highlight search results