cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2320
Views
0
Helpful
4
Replies

How to set identified valuse on Rest API --- get Device Detail

daxu2
Cisco Employee
Cisco Employee

Hi Export:

How to set identified value on Rest API --- get Device Detail

the document tell me set the indentified value as macaddress,device name or uuid,but i try it ,system message me error. it is confuse.api2.jpg

4 Replies 4

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

A correctly constructed URL would look like:

https://10.74.82.189/dna/intent/api/v1/device-detail?searchBy=C93-01.shdna.local

 

 

cheers,

Seb.

Hi,it also can not work. no identified value

aradford
Cisco Employee
Cisco Employee
you just need to set the value of "identifier" to "nwDeviceName". you are doing a lookup by device name (which is the "searchBy" parameter.

thanks. it is solved