I am trying to pull data using this string
and I get this
<?xml version="1.0" encoding="UTF-8" ?> - <histdata> <prtg-version>8.3.0.2022</prtg-version> - <item> <datetime>4/11/2011 12:00:00 AM</datetime> <datetime_raw>40645.1666666667</datetime_raw> <coverage>0 %</coverage> <coverage_raw>0000000000</coverage_raw> </item> </histdata>
Which does note match up if I use the web interface
<?xml version="1.0" encoding="UTF-8" ?> - <histdata> <prtg-version>8.3.0.2022</prtg-version> - <item> <datetime>04/12/2011</datetime> <datetime_raw>40646.1666666667</datetime_raw> <value>9,993,296 KByte</value> <value_raw>10233135437.0000</value_raw> <value>948 kbit/s</value> <value_raw>118448.4996</value_raw> <value>3,398,224 KByte</value> <value_raw>3479781826.0000</value_raw> <value>322 kbit/s</value> <value_raw>40278.4600</value_raw> <value>6,595,072 KByte</value> <value_raw>6753353611.0000</value_raw> <value>625 kbit/s</value> <value_raw>78170.0396</value_raw> <value>0 %</value> <value_raw>0.0000</value_raw> <coverage>100 %</coverage> <coverage_raw>0000009999</coverage_raw> </item> </histdata>
Looked at the API documents and I am not sure what the problem is.
Add comment