API :
http://SERVERIP:PORT/api/json/v2/nfareports/wlcconsReport
Type
GET
Parameters
apiKey |
uniquekey |
DeviceID |
Access point ID |
RouterID |
Controller ID |
Type |
speed/ volume / percentage |
reportType |
all/Traffic/application/apmac/host/iphost |
count |
integer value |
TimeFrame |
hourly / today/ yesterday / weekly/monthly / eight / custom |
granularity |
1/5 |
filterStTime |
1 to 24 |
filterEdTime |
1 to 24 |
Sample API :
http://localhost:8080/api/json/v2/nfareports/wlcconsReport?&ResolveDNS=false&apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&RouterID=50001&filterStTime=00&filterEdTime=00&Device
Sample Output:
{
"showGranularity": true ,
"trafficdata":[
{
- "total": "76.413 MB",
- "std": "11.084 Kbp",
- "avg": "14.131 Kbps",
- "min": "0.00 bps",
- "max": "53.459 Kbps",
- "95th": "26.013 Kbps",
- "traffic": "Traffic IN",
},
{
- "total": "76.473 MB",
- "std": "11.084 Kbps",
- "avg": "14.142 Kbps",
- "min": "0.00 bps",
- "max": "52.228 Kbps",
- "95th": "26.176 Kbps",
- "traffic": "Traffic OUT"
}
],
"applicationin":[
[
- "Unclassified",
- "3.475 KB",
- 0,
- "0 %"
],
[
- "Unclassified",
- "3.406 KB",
- 0,
- "0 %"
]
],
"HostIn":[
[
- "7a:bd:d0:3b:19:34",
- "126.000 Bytes",
- "0",
- "0 %",
],
[
- "94:5a:56:9d:04:52",
- "126.000 Bytes",
- "0",
- "0 %",
]
],
"IPHostIn":[
[
- "1.1.1.81",
- "4.043 KB",
- "0",
- "0 %",
],
[
- "1.1.1.74",
- "3.983 KB",
- "0",
- "0 %",
]
],
"APMacIn":[
[
- "5c:93:a2:dc:31:a1",
- "292.407 KB",
- "0",
- "0 %",
],
],
"APMacOut":[
[
- "5c:93:a2:dc:31:a1", "290.658 KB",
- "0",
- "0 %",
],
],
"APMacInDet":{
- "Type": "APMacIn ",
- "Total": "76.413 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13"
},
"appOUTDet":{
- "Type": "ApplicationOut",
- "Total": "76.473 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13"
},
"IPHostOut":[
[
- "1.1.1.35",
- "4.165 KB",
- "0",
- "0 %",
],
[
- "1.1.1.9",
- "4.083 KB",
- "0",
- "0 %",
]
],
"GraphData":[
{
- "seriesname": "OUT",
"data":[
],
"yaxiscolumnorder":[
]
},
{
- "seriesname": "IN",
"data":[
],
"yaxiscolumnorder":[
]
}
],
"yaxis": "in Kbps",
"HostOutDet":{
- "Type": "HostOut",
- "Total": "76.473 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13",
},
"APMacOutDet":{
- "Type": "APMacOut",
- "Total": "76.473 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13",
},
"HostOut":[
[
- "10:cf:58:cf:e3:58",
- "126.000 Bytes",
- 0,
- "0 %"
],
[
- "29:6a:30:3b:4d:18",
- "126.000 Bytes",
- 0,
- "0 %"
]
],
"granularity": "in Kbps",
"IPHostOutDet":{
- "Type": "IPHostOut",
- "Total": "76.473 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13",
},
"applicationout":[
[
- "Unclassified",
- "3.535 KB",
- 0,
- "0 %"
],
[
- "Unclassified",
- "3.423 KB",
- 0,
- "0 %"
]
],
- "startTime": "2018-10-09 08:00",
- "endTime": "2018-10-09 20:00",
"appINDet":{
- "Type": "ApplicationIN",
- "Total": "76.413 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13"
},
"HostInDet":{
- "Type": "HostIn",
- "Total": "76.413 MB",
- "RouterIP": "172.21.172.13",
- "Name": "172.21.172.13"
}
}