THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 24
3087     0

Hello Group,

 

I have been looking everywhere, but have yet to find the answer. I can get all extattrs for a device by using this in Postman:

https://192.168.1.100/wapi/v2.9.5/record:host?name=cis-3-44-rtr1.happy.net&_return_fields=extattrs

I would like to return only one attribute, like City, etc. I would like to do it using postmand, and in python. How can I grab a single value from the attributes? I do not yet need to POST or change a value (yet...)

 

Thanks for a great source of info

eholz1 NIOS semi-knowledgeable

Re: Need help using wapi 2.9 - retrieve only on extensible attribute

Adviser
Posts: 181
3088     0

Hi,

 

You can not return specific extensible attributes - all the extensible attributes will be returned when mentioned as part of the _return_fields argument. You can filter it using python if required.

 

Regards,

Krishna

Re: Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 24
3088     0

Hello,

Thanks for the reply - I can use python as you suggest.

eholz1

Showing results for 
Search instead for 
Did you mean: 

Recommended for You