API :
http://SERVERIP:PORT/api/json/v2/nfadevice/getCapacityPlanData
Type
GET
Parameters
apiKey | uniquekey |
DeviceID | Interfaceid/interface group id/ipgroup id |
idIPGroup | true(when the resource type is IP group) |
Type | speed/ volume / percentage/packets |
Data | IN/OUT |
filterStTime | Integer(0-24) |
filterEdTime | Integer(0-24) |
exweekend | true/false |
TimeFrame | hourly / 6Hour/Daily/today/ yesterday / weekly/monthly /Quarterly/ custom |
granularity | 1/5 |
Sample API :
http://testpc:8080/api/json/v2/nfadevice/getCapacityPlanData?apiKey=407ef7c282fa0ace024d34f6cc8e7ba1&DeviceID=5000019&TimeFrame=today&Type=speed&filterStTime=00&filterEdTime=00&exweekend
Sample Output:
{
"hdrTitle": 127.0.0.1 ( IfIndex1 ) ,
"ApplicationIN":[
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
],
[
]
],
"AppGrowthOUT":[
[
],
[
]
],
"AppGrowthIN":[
[
],
[
]
],
"growthOUTYaxis": "in Kbps" ,
"GraphData":[
{
"data":[
[
],
[
],
[
]
],
"yaxiscolumnorder":[
]
},
{
"data":[
[
],
[
],
[
]
],
"yaxiscolumnorder":[
]
}
],
"AvgGraph":[
{
"data":[
[
]
],
"yaxiscolumnorder":[
]
},
{
"data":[
[
]
],
"yaxiscolumnorder":[
]
}
],
"AppGrowthGraphIN":[
{