Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples

Reply

Get All the columns of InfoxBlox Network

Authority
Posts: 17
4591     0

Hi

 

Am using an api https://192.168.4.9/wapi/v2.10.5/network to get the network details .But am able to get only few details like comment, network, network_view

How can i get other columns like VLANID, utilization etc columns using the API.

 

i tried using like network&_return_fields%2B=VLANID, but it is not working

Re: Get All the columns of InfoxBlox Network

[ Edited ]
Superuser
Posts: 81
4592     0

Hello Snehasish,

 

This is hw you do it(example) :

https://192.168.4.9/wapi/v2.10/network?_return_fields=authority,dhcp_utilization,bootfile,bootserver,cloud_info,comment,conflict_count,vlans

 

 

You can get a list of all supported fields for network object from here. In case if the link doesn't open well, you may find it by appending : 

 

https://<GM_IP>/wapidoc/objects/network.html

Hope this helps!

 

Best regards,

 

mRe: Get All the columns of InfoxBlox Network

Authority
Posts: 17
4592     0

Thanks for your response. Just wanted to know, Is it possible to use this for a specific subnet

like : 

https://192.168.4.9/wapi/v2.10/network=10.0.0.0/10?_return_fields=authority,dhcp_utilization,bootfile,bootserver,cloud_info,comment,conflict_count,vlans

Re: mRe: Get All the columns of InfoxBlox Network

[ Edited ]
Superuser
Posts: 81
4592     0

Hello Snehasish,

 

In a GET request, you may do that by :

 

"https://192.168.4.168/wapi/v2.10/network?network=1.1.1.0&_return_fields=authority,dhcp_utilization,bootfile,bootserver,cloud_info,comment,conflict_count,vlans"

 

Best regards,

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You