- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Can i use the WAPI to find networks ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2021 01:04 PM
I'm tring to find Networks that matches BranchID=XYZ, Solution=Client, Solution!=Mobile using the v2.7 WAPI and curl from a Linux server. Is this possible?
I tried something like this:
https://infoblox.our.domain.com/wapi/v2.7network?*BranchID:=xyz\&*Solution:=Client\&*Solution~=\(?\!Mobile\)
But it looks like "(?! ) is not supported?
Is there a way to pull this off, or do I basically need to pull the extensible attributes and figure out what to do after the fact?
Re: Can i use the WAPI to find networks ?
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2021 03:53 PM - edited 06-27-2023 01:59 PM
Hello,
I don't know why you're using a combination of (Solution=Client & Solution!=Mobile, since it'll pull only the ones with 'Solution' value to be 'Client'). But this must work :
https://<Your_GM_IP>/wapi/v2.7/network?*BranchID:=xyz&*Solution=Client&*Solution!=Mobile
You can Curl or try that from a browser(Or any utilities you prefer). Please post if there's any error.
Best regards,