Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
return fields for nested (sub)object
[ Edited ]Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:17 AM - edited 01-09-2023 05:35 AM
918     0
Hi all,
I search with python via API
'/record:host?mac=' + mac + '&_return_fields=' + ','.join(fields) for MACs in the Infoblox.
fields are (example) --fields=extattrs,name,view,ipv4addrs,aliases,comment,configure_for_dns,disable
then I get some data for the ipv4addrs with ip_address
/ipv4address?ip_address=' + ip_v4
for types, status etc.
Is it possible to combine the queries? To get the data from ip_address with the ip4vaddrs from record:host?
Thx,
Frank