HP Intelligent Management Center Extended API User Guide

Returned Result
Status codes
200 (OK): Success.
Message header
When the total parameter takes true, the Total attribute returns the total number of records that
meet the requirements. The message body is empty.
HTTP/1.1 200 OK
Total: 51
Message body
<list>
<ipMacLearnResult>
<deviceId>2</deviceId>
<deviceIp>10.153.89.1</deviceIp>
<ifIndex>33</ifIndex>
<ifDesc>GigabitEthernet4/0/3</ifDesc>
<vlanId>2</vlanId>
<learnIp>10.153.88.167</learnIp>
<learnMac>00:09:6b:b0:6e:14</learnMac>
<device>http://localhost:8080/imcrs/plat/res/device/2</device>
<iface>http://localhost:8080/imcrs/plat/res/device/2/interface/33</iface>
</ipMacLearnResult>
...
</list>
Elements
ipMacLearnResult sub-elements
Location address.deviceId
String type.
Device IP address.deviceIp
String type.
Interface description.ifDesc
String type.
Interface index.ifIndex
Long integer type.
VLAN ID.vlanId
Integer type.
Learned IP address.learnIp
String type.
Learned MAC address.learnMac
String type.
URI of the device link.device
String type.
URI of the interface link.iface
Query Current Accesses 211