cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3996
Views
3
Helpful
2
Replies

API CDP timespan parameter

gregclark1
Frequent Visitor
Frequent Visitor

GET/networks/{networkId}/devices/{serial}/lldp_cdp

So, this API requires the parameter 'timespan'.

My question is where does the paramter go in the CURL request? I'm using powershell as that's what I know right now. Python is on the list to learn.

1 Accepted Solution

Accepted Solutions

Nash
Level 11
Level 11

Add timespan to the end of the endpoint's URL.

GET/networks/{networkId}/devices/{serial}/lldp_cdp?timespan=28800

or whatever timespan you prefer.

If you haven't played with Postman, I'd get it and download the library from postman.meraki.com. It helps with understanding how the query parameters fit together.

View solution in original post

2 Replies 2

Nash
Level 11
Level 11

Add timespan to the end of the endpoint's URL.

GET/networks/{networkId}/devices/{serial}/lldp_cdp?timespan=28800

or whatever timespan you prefer.

If you haven't played with Postman, I'd get it and download the library from postman.meraki.com. It helps with understanding how the query parameters fit together.

gregclark1
Frequent Visitor
Frequent Visitor

Of course! Right where it should be... 🙄

Thanks Nash!