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

Cisco Prime Infrastructure API - Inventory

superego
Level 1
Level 1

We are looking into doing API to our CPI 3.3 for device inventory.  Basically our vendor will do the API calls to get device inventory for maintenance purposes. This is to automate the management of the inventory.

Information needed are hostname,model, serial number and others. 

 

I know CPI have documentation for API which is:

https://your_prime_server/webacs/api/v1/

https://your_prime_server/webacs/api/v2/

https://your_prime_server/webacs/api/v3/

 

I was able to do some commands using CURL. 

 

My question are since I'm not a programmer:

1. Is there an app like a GUI that can be used then just paste the command there and will also show the output?

2. Do you have an existing code that is already working? If you do please share and let me know what app to use to run it.

 

Thanks much!

1 Reply 1

p.juarezponte
Level 1
Level 1

You can look at this post, I uploaded an example.

https://community.cisco.com/t5/wireless/prime-infrastructure-api-gt-1000-maxresults/td-p/3517981

Then you can parse that json to an excel file.

Let me know if you need more information.