Listing Device Asset Details: list_device_asset_details
Service name: list_device_asset_details |
|
URL |
https://SERVER/api/?apikey=yourAPItoken&service=list_device_asset_details &required_parameters=required_parameters [&optional_parameters=optional_parameters] |
Description |
Lists device asset details identified by deviceid. |
Parameters |
|||||
Post Variable |
Description |
Type |
Required |
Options |
Default |
Optional. Returns a description of the service. |
boolean |
no |
true |
0 |
|
deviceid |
The deviceid must be a valid device id. |
integer |
yes |
0 |
0 |
Example Service Call =list_device_asset_details |
https://SERVER/api/?apikey=yourAPItoken&service=list_device_asset_details&deviceid=DEVICEID |
Example Response |
<?xml version="1.0" ?> <result created="2010-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> <serialnumber>00000-000-0000000-00000</serialnumber> <productkey>ABCDE-12345-ABCDE-12345-XXXXX</productkey> <role>0</role> <servicepack>0</servicepack> <ram>2684354560</ram> <scantime>2010-06-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> |
Fields Description |
|||||||||||||||||||||||||||||||||||
Field |
Type |
Can Be Empty |
Description |
||||||||||||||||||||||||||||||||
hardware_type |
integer |
yes |
The type of hardware:
|
||||||||||||||||||||||||||||||||
role |
string |
yes |
The role performed by the asset
|
||||||||||||||||||||||||||||||||
chassistype |
integer |
yes |
Chassis type (physical workstations only):
|
||||||||||||||||||||||||||||||||
deleted |
integer |
no |
Field installation status
|
||||||||||||||||||||||||||||||||
software / type |
string |
no |
Field software top
|
||||||||||||||||||||||||||||||||
modified |
integer |
no |
Field modified status
|
From Dashboard v5.41.6 the Operating System Install Date is included in the list_device_asset_details API call.
Example Associated Service Calls | ||
Parameter | Call | URL Format |
DeviceID | list_devices_at_client |
https://SERVER/api/?apikey=yourAPItoken&service=list_devices_at_client&clientid=CLIENTID&devicetype=server |
list_servers |
https://SERVER/api/?apikey=yourAPItoken&service=list_servers&siteid=SITEID |
|
list_workstations |
https://SERVER/api/?apikey=yourAPItoken&service=list_workstations&siteid=SITEID |
|
SiteID | list_sites | https://SERVER/api/?apikey=yourAPItoken&service=list_sites&clientid=CLIENTID |
ClientID | list_clients | https://SERVER/api/?apikey=yourAPItoken&service=list_clients |