Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 21
485     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: 179
486     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: 21
486     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