The XML Reporting Service (XRS) is on-demand service which provides 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.
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>
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]…
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
To create an XML request you need your account Unique Identifire (UID) to use as the request parameter [unique_account_uid] . This ID can be found when logged in to your account in the navigation menu under Account > Integrations > Unique Identifier (UID) for the XML Feed intergartion type.
If you have Departments configured in your account, you can configure XML Feed to provide data on a particular Department only. Individual UIDs are assigned for each Department. To access a Department UID, switch your Dotcom-Monitor account to the Department user and copy the UID from Account > Integrations > Unique Identifier (UID). Use the Department UID instead of Account UID [unique_account_uid] in your XML Feed request.