I want to obtain 95% via API request, API is able to get all the values but then i need to process outside the tool. I want to obtein 95% directly.


Article Comments

What API call are you currently using?


Nov, 2016 - Permalink

/api/historicdata.xml?id=16776&avg=0&sdate=2016-10-13-00-00-00&edate=2016-11-13-00-00-00&username=XXXX&passhash=XXXX

this one.

Report Time Span:	13/11/2016 5:23:00 p. m. - 14/11/2016 5:23:00 p. m.
Sensor Type:	SNMP Traffic 64bit (60 s Interval)
Probe, Group, Device:	Organic Infrastructure > xxxxxx
Uptime Stats:	Up:	100 % 	[23h59m1s]	Down:	0 % 	[0s]
Request Stats:	Good:	100 % 	[1440]	Failed:	0 % 	[0]
Average (Traffic Total):	325.779 kbit/s
Total (Traffic Total):	3.380.866.926 KByte
Percentile	564.873 kbit/s  --> this is the value for example that I want to obtein, but the api only get all the values of a table.

Nov, 2016 - Permalink

Adding this to the URL should do the trick:
&pctshow=true&pct=95&pctmode=false


Nov, 2016 - Permalink