Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted

Can I join models in NetMRI API call?

Techie
Posts: 1
275     0

I am tasked with getting MAC address, Vlan, and IP data for devices listed in our NetMRI instance. I find that in order to get this data for any one particular device, it would involve quite a few GET calls. For example, if I want the MAC addresses of all the Interfaces for a particular device (a switch router), which I search by name, I would need to query the Device Model for the DeviceID, then the "Interfaces" model by DeviceID for the InterfaceID, then the "end_host_mac_addresses" model by InterfaceID in order to get the MAC addresses.

Is there any way to join (in the SQL sense) Models in one REST call?

 

Thank you in advance,

 

Paco

Showing results for 
Search instead for 
Do you mean 

Recommended for You