cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1255
Views
0
Helpful
5
Replies

Cisco APIC REST API

rasithug
Cisco Employee
Cisco Employee

Hi ,

 

Like DNA-C , I would like to run network discovery , sync  and perform basic Inventory operations using sandboxapicdc  , can any one help me regarding APIC REST API , I can able to login with credentials and can able to generate token using POSTMAN, for APIC-EM  REST resources are available.

 

Thanks in advance 

5 Replies 5

Seb Rupik
VIP Alumni
VIP Alumni

HI there,

Adam Radford wrote some good blog posts regarding the APIC-EM REST API. Early ones covered working with the device inventory which may be of use:

https://community.cisco.com/t5/networking-blogs/five-apic-em-api-to-improve-network-engineer-productivity-part-1/ba-p/3657760

 

https://community.cisco.com/t5/networking-blogs/five-apic-em-api-to-improve-network-engineer-productivity-part-2/ba-p/3659192

 

I also wrote two myself, covering linking the device inventory and cross referencing it against the Cisoc PSIRT database:

https://configif.wordpress.com/2017/07/14/apic-em-collectinventory/

https://configif.wordpress.com/2017/07/19/apic-em-inventoryanalyse/

 

Cheers,

Seb.

Hi  Seb Rupik,

 

For APIC-EM resources are available , I need for APIC-DC , REST APIs are available for APIC-EM but similar resources for Inventory Management is not available for APIC-DC (using sandboxapicdc environment) , if any resource available please share.

 

 

Thanks for quick reply 

Hi,

 

We've just reset APIC host and https://sandboxapicdc.cisco.com/# is now accessible.

 

Regards,

Bob

rasithug
Cisco Employee
Cisco Employee

Hi Bob ,

 

Any resources using REST API , for APIC-DC I can able to login using REST API and I can able to generate token, further I would like to perform Inventory Operation like discovery , device details etc.apicdc-postman-token.png

Ah sorry, I mis-read. 

 

Check out the Devnet github repo, search for 'dnac' there are plenty of example scripts for DNA-C there:

 

https://github.com/CiscoDevNet

 

cheers,

Seb.