Using the XML Reporting Service (XRS)

Glossary: XML Feed

The XML Reporting Service (XRS) provides access to real-time data via HTTP requests.  By sending a properly formatted http get request to xmlreporter.dotcom-monitor.com with valid parameters, you will receive an xml document with the requested data.  You can work with the data from the xml document however you need.  Possibilities include importing the data into another system or dashboard.

[su_box color=”#006699″ text_color=”#ffffff” title=”The maximum number of requests to The XML Report Service is 1 every 10 seconds.”]

If you submit more than one request within 10 seconds, the service returns an XML Document with the next allowed request time as follows:

<error> You have reached maximum allowable requests limit per IP [192.168.107.97] </error>

<nextAllowedTime>Tuesday, February 18, 2014 7:50:26 PM</nextAllowedTime>

<nextAllowedTimeGMT>Tuesday, February 18, 2014 4:50:26 PM</nextAllowedTimeGMT>

[/su_box]

The XML FEED request is a URL with a number of GET parameters, separated by a “&” symbol.

An XML request consists of the following items: 

 [base_url_address] 

+
 [unique_account_uid] 

+
 [Site_id] 

+
 [parameter1]&[parameter2]… 

Here are two sample requests:

 https://xmlreporter.dotcom-monitor.com/reporting/xml/responses.aspx  ?pid=4229AF4F0FB545AEA75EAF2013E51BB7  &Site=12345  &Type=Overall 

 

 https://xmlreporter.dotcom-monitor.com/reporting/xml/responses.aspx  ?pid=78789A2394764BA880A4DCAC62AAE90D  &Site=57628  &Type=Detail&location=NY, USA 

 

Available Request Components:

status.aspx - returns devices state and status information
responses.aspx - returns responses information
config.aspx - returns sites and tasks configuration information
XML Response Fields