- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Get Exclusion Range from WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 04:17 AM
I need to extract by using the WAPI all the exclusion range inside of a DHCP Range.
By looking at the WAPI Doc it says that the EXLUDE field of the DHCP Range is not available for search.
Does anybody know how should I do the GET to be able to receive all the exlusion range given an specific DHCP range?
Thanks in advance,
Alan Roitman
Re: Get Exclusion Range from WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2018 10:18 AM
Hi Alan,
Here is a sample wapi call for getting all the reserved ranges in your grid. You can tweak this to suite your requirements.
curl -k -u admin:xxxxxxx -H "Content-type: application/json" -X GET https://xx.xx.xx.xx/wapi/v2.7/range -d '{"member" : null}'
The member field is searchable, so the idea here is to search for all the ranges where the member field is null.
Regards,
Sandeep