07-17-2017 01:31 PM
Hi,
I'm having hard time querying PI 3.1 for the details of a wireless session for a specific username.
I tired this on my server but it didn't work:
curl -k https://PrimeAPI:Password@server_IP/webacs/api/v3/data/ClientSessions?.full=true&username=testuser
Note the PI user PrimeAPI has both NBI credential and NBI Read access.
Thanks.
Aomar.
07-18-2017 08:21 AM
I was able to resolve this even though it's prime 3.1 on API V2 is available and the correct url should be:
https://PrimeAPI:Password@server_IP/webacs/api/v2/data/ClientDetails?userName=testuser&ssid=Business-Wireless.full=true
My only issue right now is that the ClientDetails info are not being pulled by Prime quickly it takes about 5 minutes or more for the data to be available. Is there away to make this data available instantaneously? meaning as soon as a Wi-Fi client is associated with the Wireless Controller?
Thanks
Aomar.
07-31-2017 08:14 AM
Hi Aomar,
There is a known bug for this performance issue: CSCve08813. The ClientSessions response time was improved since PI 3.2.
Since 3.2 version, ClientSessions resource usage has a new URI identified by v3.
Regards,
Igor
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: