cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1194
Views
6
Helpful
2
Replies

Prime 3.0 Rest API

I looking for some guidance on putting together a rest api call to provide a total client count for a wlan.

i have tested:

curl -k -u username:password "https://1x.x.x/webacs/api/v2/data/ClientCounts/"

and got back un usable data.

<queryResponse type="ClientCounts" rootUrl="https://1x.x.x/webacs/api/v2/data" requestUrl="https://1x.x.x/webacs/api/v2/data/ClientCounts/" responseType="listEntityIds" count="8023" first="0" last="99">

  <entityId url="https://1x.x.x/webacs/api/v2/data/ClientCounts/13794898147" type="ClientCounts">13794898147</entityId>

  <entityId url="https://1x.x.x/webacs/api/v2/data/ClientCounts/13794898148" type="ClientCounts">13794898148</entityId>

  <entityId url="https://1x.x.x/webacs/api/v2/data/ClientCounts/13794898149" type="ClientCounts">13794898149</entityId>

  <entityId url="https://1x.x.xwebacs/api/v2/data/ClientCounts/13794898150" type="ClientCounts">13794898150</entityId>

My goal is to have another product pull client count per wlan from Cisco Prime.

2 Replies 2

No tac support for request SR 680638082

after looking over the doc and other examples on the forum i was able to put together the rest api that give me the data i am looking for.

https://x.x.x.x/webacs/api/v2/data/ClientsV2?.full=true&ssid=name&status=ASSOCIATED

<?xml version="1.0" ?>

<queryResponse type="ClientsV2" rootUrl="https://x.x.x.x/webacs/api/v2/data" requestUrl="https://x.x.x.x/webacs/api/v2/data/ClientsV2?.full=true&ssid=name&status=ASSOCIATED" responseType="listEntityInstances" count="222" first="0" last="99">

  <entity url="https://x.x.x.x/webacs/api/v2/data/ClientsV2/9274551739" type="ClientsV2" dtoType="clientsV2DTO">

    <clientsDTO id="9274551739" displayName="9274551739">