- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
API call to get IPv6 range from extra attributes search
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 10:42 AM
Looking to get the IPv6 network assignment based on a search of a customer attribute.
Using:
curl -k -u username -X GET "https://url/wapi/v2.11/network?_return_fields%2b=extattrs&*CustAttrib~=test"
I get lots of IPv4 and other information, but nothing for IPv6.
Solved! Go to Solution.
Re: API call to get IPv6 range from extra attributes search
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 11:06 AM
In the interest of sharing, it appears that this modification to the API call is working, though I'm still testing.
curl -k -u username -X GET "https://url/wapi/v2.11/ipv6network?_return_fields%2b=extattrs&*CustAttrib~=test"
Re: API call to get IPv6 range from extra attributes search
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 12:25 PM
The previous solution would sometimes give bogus results.
This seems to work correctly: