SSO Login is being implemented on this site. Existing users: Your existing password must be reset the first time you login using SSO. Click here to reset your password first before login. Your new username will be your email.

API & Integration, DevOps,NetOps,SecOps

Reply

Need help using wapi 2.9 - retrieve only on extensible attribute

Authority
Posts: 21
433     1

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
433     1

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
433     1

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