2 Replies Latest reply: Jul 31, 2017 8:17 AM by iportuga RSS

Help with PI 3.1 REST API

aomar.bahloul

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.