<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Prime 3.7 API: Getting total connected clients on a SSID and VLAN in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/prime-3-7-api-getting-total-connected-clients-on-a-ssid-and-vlan/m-p/4454338#M2545</link>
    <description>&lt;P&gt;Realized that the overestimated information was because both APIs return connected clients with different status values. The information that ensures the same count requires another filter status = ASSOCIATED be added to the APIs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;/webacs/api/v4/data/Clients?ssid=eq("Test")&amp;amp;vlanId=1701&amp;amp;status=eq(ASSOCIATED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. /webacs/api/v4/data/ClientDetails?ssid=eq("Test")&amp;amp;vlan=eq("1701")&amp;amp;status=eq(ASSOCIATED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the status field (clientStatusEnum) has the following possible values:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IDLE&lt;/LI&gt;&lt;LI&gt;AUTHPENDING&lt;/LI&gt;&lt;LI&gt;AUTHENTICATED&lt;/LI&gt;&lt;LI&gt;ASSOCIATED&lt;/LI&gt;&lt;LI&gt;POWERSAVE&lt;/LI&gt;&lt;LI&gt;DISASSOCIATED&lt;/LI&gt;&lt;LI&gt;TOBEDELETED&lt;/LI&gt;&lt;LI&gt;PROBING&lt;/LI&gt;&lt;LI&gt;BLACKLISTED&lt;/LI&gt;&lt;LI&gt;NOTCONFIGURED&lt;/LI&gt;&lt;LI&gt;UNAUTHENTICATED&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 19:44:13 GMT</pubDate>
    <dc:creator>ritwikpandav</dc:creator>
    <dc:date>2021-08-24T19:44:13Z</dc:date>
    <item>
      <title>Prime 3.7 API: Getting total connected clients on a SSID and VLAN</title>
      <link>https://community.cisco.com/t5/controllers/prime-3-7-api-getting-total-connected-clients-on-a-ssid-and-vlan/m-p/4450737#M2544</link>
      <description>&lt;P&gt;We have a setup where a SSID "Test" has two VLANs configured on it:&lt;/P&gt;&lt;P&gt;VLAN ID: 1701 and VLAN Name: pax&lt;/P&gt;&lt;P&gt;VLAN ID:1702 and VLAN Name: crew&lt;/P&gt;&lt;P&gt;We are attempting to extract the total number of devices connected to the SSID "Test" on VLAN 1701.&lt;/P&gt;&lt;P&gt;We have tried the following APIs, but they seem to giving inaccurate (overestimated) information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;/webacs/api/v4/data/Clients?ssid=eq("Test")&amp;amp;vlanId=1701&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"@count" value in the response is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;7812&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. /&lt;SPAN&gt;webacs/api/v4/data/ClientDetails?ssid=eq("Test")&amp;amp;vlan=eq("1701")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;"@count" value in the response is&amp;nbsp;7812&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If we use the /&lt;SPAN&gt;webacs/api/v4/op/statisticsService/clients/distributions/countBySsid API, the count value received in the response for the "XValue": "Test" is&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;2362 - which is accurate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea why are the &lt;A href="https://solutionpartner.cisco.com/media/prime-infrastructure/api-reference/szier-m8-106.cisco.com/webacs/api/v1/data/Clientscc3b.html?_docs" target="_blank" rel="noopener"&gt;GET Client Summary&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://solutionpartner.cisco.com/media/prime-infrastructure/api-reference/szier-m8-106.cisco.com/webacs/api/v1/data/ClientDetailscc3b.html?_docs" target="_blank" rel="noopener"&gt;GET Client Details&lt;/A&gt;&amp;nbsp;returning values more than the total clients present on the SSID? Is it an issue with the filters? Is there a better way of extracting the information we need?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:55:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-3-7-api-getting-total-connected-clients-on-a-ssid-and-vlan/m-p/4450737#M2544</guid>
      <dc:creator>ritwikpandav</dc:creator>
      <dc:date>2021-08-17T19:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Prime 3.7 API: Getting total connected clients on a SSID and VLAN</title>
      <link>https://community.cisco.com/t5/controllers/prime-3-7-api-getting-total-connected-clients-on-a-ssid-and-vlan/m-p/4454338#M2545</link>
      <description>&lt;P&gt;Realized that the overestimated information was because both APIs return connected clients with different status values. The information that ensures the same count requires another filter status = ASSOCIATED be added to the APIs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;/webacs/api/v4/data/Clients?ssid=eq("Test")&amp;amp;vlanId=1701&amp;amp;status=eq(ASSOCIATED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. /webacs/api/v4/data/ClientDetails?ssid=eq("Test")&amp;amp;vlan=eq("1701")&amp;amp;status=eq(ASSOCIATED)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the status field (clientStatusEnum) has the following possible values:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IDLE&lt;/LI&gt;&lt;LI&gt;AUTHPENDING&lt;/LI&gt;&lt;LI&gt;AUTHENTICATED&lt;/LI&gt;&lt;LI&gt;ASSOCIATED&lt;/LI&gt;&lt;LI&gt;POWERSAVE&lt;/LI&gt;&lt;LI&gt;DISASSOCIATED&lt;/LI&gt;&lt;LI&gt;TOBEDELETED&lt;/LI&gt;&lt;LI&gt;PROBING&lt;/LI&gt;&lt;LI&gt;BLACKLISTED&lt;/LI&gt;&lt;LI&gt;NOTCONFIGURED&lt;/LI&gt;&lt;LI&gt;UNAUTHENTICATED&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 19:44:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-3-7-api-getting-total-connected-clients-on-a-ssid-and-vlan/m-p/4454338#M2545</guid>
      <dc:creator>ritwikpandav</dc:creator>
      <dc:date>2021-08-24T19:44:13Z</dc:date>
    </item>
  </channel>
</rss>

