cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
400
Views
0
Helpful
1
Replies

API, Virtual Domains, Active APs

jturner2720
Level 1
Level 1

I'm trying to write a script to automate putting APs into virtual domains. I have a database with AP mac addresses and which department they're in (which will be used to pick their virtual domain).

I've successfully written a script which pulls all the AP id numbers out of Prime and matches them up to the mac addresses in the database.

I'm now trying to use the PU op/vd REST call to add my list of APs that belong to a particular department to the relevant virtual domain. However I'm getting an error "httpResponseCode":500,"httpMethod":"PUT","message":"Access Point with ID=68116666013 does not exist". If I go look that AP up in the web gui, I can see it's currently disconnected from its controller.

Okay, so that's slightly misleading as it does exist. I then tried looking up APs both connected and disconnected, but I can't see any difference in the summary or details that are returned to tell the two apart.

Is there any way to tell the two apart so I can remove inactive APs from my list? Or a way to have the virtual domain update ignore the fact they're not active?

1 Reply 1

jturner2720
Level 1
Level 1

Anyone?

Is there a better forum to ask questions about the Prime API, or is it open a case with TAC time?

Getting Started

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:

Review Cisco Networking products for a $25 gift card