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

  • 1
  • Question
  • Updated 10 months ago
  • Answered
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



Photo of amar deep

amar deep

  • 15 Posts
  • 1 Reply Like

Posted 11 months ago

  • 1
Photo of amar deep

amar deep

  • 15 Posts
  • 1 Reply Like
Any updates/suggestions?
Photo of amar deep

amar deep

  • 15 Posts
  • 1 Reply Like
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
(Edited)
Photo of Michael Brado

Michael Brado, Official Rep

  • 3298 Posts
  • 523 Reply Likes
Thanks Amar!