Listing Device Asset Details
Service name: list_device_asset_details
Base URL
https://{SERVER}/api/?apikey={yourAPIkey}&service=list_device_asset_details
Description
Lists device asset details identified by deviceid.
Parameters
Required parameters
Add required parameters immediately after the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=list_device_asset_details&required_parameters={parameter-value}
| Parameter | Description | Type | Options | Default | 
|---|---|---|---|---|
| deviceid | The deviceid must be a valid device id. | integer | 0 | 0 | 
Optional parameters
Add optional parameters after the required parameters in the base URL.
https://{SERVER}/api/?apikey={yourAPIkey}&service=list_device_asset_details&required_parameters={parameter-value}&optional_parameters={parameter-value}
| Parameter | Description | Type | Options | Default | 
|---|---|---|---|---|
| describe | Optional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions. | boolean | true | 0 | 
Determine parameter values
Use the following associated service calls to determine parameter values.
| Parameter | Call | URL Format | 
|---|---|---|
| deviceid | list_devices_at_client | https://{SERVER}/api/?apikey={yourAPIkey}&service=list_devices_at_client&clientid=CLIENTID&devicetype=server | 
| list_servers | https://{SERVER}/api/?apikey={yourAPIkey}&service=list_servers&siteid=SITEID | |
| list_workstations | https://{SERVER}/api/?apikey={yourAPIkey}&service=list_workstations&siteid=SITEID | |
| siteid | list_sites | https://{SERVER}/api/?apikey={yourAPIkey}&service=list_sites&clientid=CLIENTID | 
| clientid | list_clients | https://{SERVER}/api/?apikey={yourAPIkey}&service=list_clients | 
Examples
List Device Asset Details
https://{SERVER}/api/?apikey={yourAPIkey}&service=list_device_asset_details&deviceid=DEVICEID
Example response
<?xml version="1.0"?>
<result created="2024-08-30T14:38:59+01:00" host="SERVER" status="OK">
  <client>DOMAIN\foo.user</client>
  <chassistype>Laptop</chassistype>
  <ip>192.168.200.66</ip>
  <mac1>01:23:45:67:89:AA</mac1>
  <mac2>01:23:45:67:89:BB</mac2>
  <mac3>01:23:45:67:89:CC</mac3>
  <user>FOO-LAPTOP</user>
  <manufacturer>LENOVO</manufacturer>
  <model>0657KFG</model>
  <os>Microsoft Windows 7 Professional</os>
  <osinstalldate>2024-03-12 10:04:15</osinstalldate>
  <serialnumber>00000-000-0000000-00000</serialnumber>
  <productkey>ABCDE-12345-ABCDE-12345-XXXXX</productkey>
  <role>0</role>
  <servicepack>0</servicepack>
  <ram>2684354560</ram>
  <scantime>2024-03-30 11:09:00</scantime>
  <custom1 customname="Asset Number">12345</custom1>
  <custom2 customname="Warranty">3 years</custom2>
  <custom3 customname="Test">test custom field</custom3>
  <!-- up to custom10, if available -->
  <hardware>
    <item>
      <hardwareid>123456</hardwareid>
      <name>Realtek RTL8139 Family PCI Fast Ethernet NIC</name>
      <type>0</type>
      <manufacturer>Realtek</manufacturer>
      <details>AdapterType=Ethernet 802.3 MACAddress=01:23:45:67:89:AA</details>
      <status></status>
      <deleted>0</deleted>
      <modified>0</modified>
    </item>
    <!-- more items -->
  </hardware>
  <software>
    <item>
      <name>Acrobat.com</name>
      <softwareid>123456</softwareid>
      <version>14.0.8064.0206</version>
      <install_date>2010-01-26 00:00:00</install_date>
      <type>All</type>
      <deleted>0</deleted>
      <modified>0</modified>
    </item>
    <!-- more items -->
  </software>
</result>Returned fields
| Field | Type | Can Be Empty | Description | 
|---|---|---|---|
| hardware_type | integer | yes | The type of hardware: | 
| 1 - Network Adapter | |||
| 2 - BIOS | |||
| 3 - Sound device | |||
| 4 - Motherboard | |||
| 5 - Keyboard | |||
| 6 - Pointing device | |||
| 7 - Monitor | |||
| 8 - Video Controller | |||
| 9 - Disk Drive | |||
| 10 - Logical Disk | |||
| 11 - Physical Memory | |||
| 12 - Cache Memory | |||
| 13 - Processor | |||
| 14 - Tape Drive | |||
| 15 - Optical Drive | |||
| 16 - Floppy Disk Drive | |||
| role | string | yes | The role performed by the asset: | 
| 0, 1 - Windows Workstation | |||
| 2, 3, 4, 5 - Windows Server | |||
| 101 - UNIX/Linux | |||
| 102 - Mac | |||
| 103 - Printer | |||
| 104 - Router | |||
| 105 - NAS | |||
| 106 - Other Network Device | |||
| other - Unknown | |||
| chassistype | integer | yes | Chassis type (physical workstations only): | 
| 8, 9, 10, 11, 14 - laptop | |||
| other - desktop | |||
| deleted | integer | no | Field installation status: | 
| 0 - installed | |||
| 1 - recently deleted, listed for 4 days | |||
| software/type | string | no | Field software type: | 
| Hotfix | |||
| Update | |||
| Licensed | |||
| All (as in all others) | |||
| modified | integer | no | Field modified status: | 
| 0 - not modified | |||
| 1 - modified | 
Updated 3 months ago