Inventory Software Metering - Computers


This API lists the computers with metering enabled software and associated details like total run time in that computer etc.

  • Functionality
  • Retrieve the software metering computers list.
  • HTTP Method 
  • GET
  • API URI
  • api/1.0/inventory/computers?customerid={customer_id}&swmeruleid={software_metering_rule_id}
  • Auth Token Required
  • Yes
  • Paginated
  • Yes
  • Filters

  • domainfilter={String}:

    Get domain list from api/1.0/desktop/serverproperties

    branchofficefilter={String}:  

    Get branch office list from
    api/1.0/desktop/serverproperties

    customgroupfilter={String}:

    Get custom group list from api/1.0/desktop/serverproperties  

Response Data

 
{
"message_response": {
"total": 1,
"limit": 25,
"computers": [
{
"last_used": 1450176904000,
"computer_live_status": 1,
"product_version": "42.0",
"file_version": "42.0",
"product_name": "Firefox",
"user_domain_name": "--",
"usage_summary_app_definition_id": 1,
"updated_time": 1450760977000,
"branch_office_name": "Local Office",
"user_name": "--",
"app_usage_summary_resource_id": 301,
"domain_netbios_name": "ZOHOCORP",
"resource_id": 301,
"computer_status_update_time": 1450766136090,
"resource_name": "computer1",
"branch_office_id": 1,
"total_run_count": 5,
"live_status_resource_id": 301,
"user_resource_id": 0,
"customer_id": 1,
"total_run_time": 759515
}
],
"page": 1 },
"status": "success",
"message_version": "1.0",
"message_type": "computers"
}