Skip to main content

15 Messages

 • 

274 Points

Fri, Dec 6, 2019 1:26 PM

Answered

API call to fetch the bandwidth being used on a particular SSID in SMARTZONE 100

Hi Guys,

I am researching on the API call to fetch the bandwidth being used on a particular SSID. We are testing with the smart zone 100.


In the API, I saw that we can use '/operational/client' that outputs the client  [fromClientBytes] and [toClientBytes] . Can we use these attributes?

Any suggestions?

Thanks,
Amardeep



Responses

15 Messages

 • 

274 Points

a year ago

Any updates/suggestions?

15 Messages

 • 

274 Points

a year ago

Never mind. I have figured this out 

We need to make a POST call using the filters:

/api/public/v6_1/query/client

$data = '{
  "filters": [
    {
      "type": "WLAN",
      "value": "WLANID"
    }
  ],
  "fullTextSearch": {
    "type": "AND",
    "value": "SSID-NAME"
  },
  "attributes": [
    "*"
  ]
}';


From the output we can use the  [txBytes] and [rxBytes]  for b/w collection
Brand User

Former Employee

 • 

2.6K Messages

 • 

44.8K Points

Thanks Amar!