cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1248
Views
0
Helpful
3
Replies

Add device using REST API in Cisco Prime

franktonjes
Level 1
Level 1

Hi All,

 

I need to add controllers into Cisco Prime using the REST API. I am able to get information out of the REST API, but it seems the documentation on the POST and PUT calls are only shown for config templates.

 

Can someone please shed some light on how to add controllers into Cisco Prime using the API please?


We have Cisco Prime Infrastructure 2.1.

 

Many Thanks,


Frank

3 Replies 3

gohussai
Level 4
Level 4

Check the following official document on REST API for PI.

 

http://249459ec2cf8839ca4b8-2690f879103214107f979ba5105d745b.r47.cf2.rackcdn.com/Prime%20Infrastructure%202.x.pdf

 

https://developer.cisco.com/media/prime-infrastructure/api-reference/szier-m8-106.cisco.com/webacs/api/v1/indexcc3b.html?_docs

 

Hope this is helpful

PETER MOOREY
Level 1
Level 1

This might help...

 

https://www.linkedin.com/pulse/get-automating-cisco-prime-infrastructure-api-peter-moorey

 

Pete.

smp
Level 4
Level 4

I recently brute-forced my way through this successfully. See my braindump post here:

https://communities.cisco.com/thread/55694

Briefly, you need to build the right data structure, then use the bulkImport method with the PUT verb.

Review Cisco Networking products for a $25 gift card