Reply
Accepted Solution

Get discoverd MAC-ADDRES through WAPI

FilippoC
Techie
Posts: 1
83     0

Hello,

 

I need to get the Discovered-MAC-ADDRESS parameter through a WAPI query.

I'm using the followoing:   https://172.27.33.10/wapi/v2.7/ipv4address?network=160.220.98.0/24&status=USED&_return_type=xml-pret...

 

but it will return only the mac-address of "MANAGED" networks, I need to get the Discovered-MAC-Address field which is fed by our Network Insight module.

 

I now I need to use the "_return_fields+" option, but I havn't find out which is the xxxx value the get the discovered-MAC-Address, something like

 

https://172.27.33.10/wapi/v2.7/ipv4address?network=160.220.98.0/24&status=USED&_return_type=xml-pret...

 

Thank you

Filippo

 

Re: Get discoverd MAC-ADDRES through WAPI

Adviser
Posts: 96
84     0

The discovered MAC address (along with all the other discovered data) is stored in the discovered_data field  You need to have it return the entire discovered_data field to view the discovered MAC address.

 

Try this one:

 

https://172.27.33.10/wapi/v2.7/ipv4address?network=160.220.98.0/24&status=USED&_return_type=xml-pretty&_max_results=5000&_return_fields%2b=discovered_data

 

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You