Get Asset Details

Use the following API call to view the list of assets:

GET /settings/assets/:asset_mac_address.xml
GET /settings/assets/:asset_mac_address.json

XML Request example

curl -i -u user:userpass http://onapp.test/settings/assets/:asset_mac_address.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -u user:userpass http://onapp.test/settings/assets/:asset_mac_address.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Response example

<?xml version="1.0" encoding="UTF-8"?>
  <mac nil="true"/>
  <disks type="array">
  <nics type="array">
  <pcis type="array">
      <name>Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet [14e4:1648] (rev 10)</name>


mac - asset MAC address

disk - an array of asset's disks along with the following details:

  • name - disk label
  • scsi - SCSI inquiry product revision number

nics - an array of asset's network interfaces along with their details:

name - NIC name

mac - NIC MAC address

pcis - an array of NIC PCIs along with the following details:

name - PCI label

pci - NIC PCI