Listing Software

Service name: list_all_software

Base URL

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_all_software

Description

Lists software by type for the specified asset.

Parameters

Required parameters

Add required parameters immediately after the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_all_software&required_parameters={parameter-value}
Parameter Description Type Options Default

assetid

The assetid must be a valid asset id.

The required assetid is referenced in the list_device_asset_details call.

integer

0

0

Optional parameters

Add optional parameters after the required parameters in the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_all_software&required_parameters={parameter-value}&optional_parameters={parameter-value}
ParameterDescriptionTypeOptionsDefault
describeOptional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.booleantrue0

Determine parameter values

Use the following associated service calls to determine parameter values.

ParameterCallURL Format
assetidlist_device_asset_detailshttps://{SERVER}/api/?apikey={yourAPIkey}&service=list_device_asset_details&deviceid=DEVICEID
deviceidlist_devices_at_clienthttps://{SERVER}/api/?apikey=yourAPIkey&service=list_devices_at_client&clientid=CLIENTID&devicetype=server
list_servershttps://{SERVER}/api/?apikey=yourAPIkey&service=list_servers&siteid=SITEID
list_workstationshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_workstations&siteid=SITEID
siteidlist_siteshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_sites&clientid=CLIENTID
clientidlist_clientshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_clients

Examples

List software for an asset

https://{SERVER}/api/?apikey={yourAPIkey}&service=list_all_software&assetid=ASSETID

Example response

<?xml version="1.0"?>
<result created="2024-10-01T12:47:15+01:00" host="SERVER" status="OK">
  <items>
    <software>
      <softwareid>5341882</softwareid>
      <catalogid>239</catalogid>
      <name>Security Update for Windows Media Player (KB911564)</name>
      <version />
      <install_date />
    </software>
    <!-- more <software> nodes -->
  </items>
</result>

Returned fields

FieldTypeCan Be EmptyDescription
softwareidintegernoThe unique identifier of the software on this asset
catalogidintegernoThe unique identifier of the software
namestringyesThe name of the software
versionstringyesThe version of the software installed on this asset
install_datedatetimeyesThe date and time the software was installed