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

Cisco SDWAN - API Request no longer works with 20.15

assadniang
Level 1
Level 1

Hello,

This API Request no longer works with vManage Version 20.15

/dataservice/system/device/vedges?system-ip=10.255.255.86

This used to work prior to version 20.15, I have many of my scripts using it

I can get device information using this request:

/dataservice/system/device/

But then I need to narrow it down to a specific device by using the system IP, but it fails

https://vmanage-xxxxxx.sdwan.cisco.com:443 "GET /dataservice/system/device/vedges?system-ip=10.255.255.86 HTTP/1.1" 400 None

1 Accepted Solution

Accepted Solutions

I think you need to use GET /dataservice/device?system-ip=10.255.255.86

Per https://developer.cisco.com/docs/sdwan/20-15/device-inventory/#connect-devices

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

3 Replies 3

I think you need to use GET /dataservice/device?system-ip=10.255.255.86

Per https://developer.cisco.com/docs/sdwan/20-15/device-inventory/#connect-devices

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

assadniang
Level 1
Level 1

Thank you @bigevilbeard 
This seems to work

They must have changed it in version 20.15, since I used to send the following API to get the device info:

/dataservice/system/device/vedges?system-ip=10.255.255.86

 

Sure thing glad you are sorted. From what I read and did some digging..

  • The endpoint worked up to vManage 20.9.x but was deprecated afterward.

  • By 20.12, Cisco began transitioning to a new API structure.

  • In 20.15, the old endpoint was fully disabled, returning HTTP 400 errors.

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io