计算机清单 - 已安装软件列表
此API列出指定计算机中已安装的软件及其详细信息,如合规状态、访问类型等。
- 功能
- 获取计算机中已安装的软件。
- HTTP 方法
- GET
- API URI
- api/1.4/inventory/installedsoftware?resid={resource_id}
- 过滤器
- licensetypefilter={数字}:
1 - 商业
2 - 非商业
0 - 未识别
accesstypefilter={数字}:
1 - 允许
2 - 禁止
0 - 未分配
compliancestatusfilter={数字}:
0 - 许可不足
1 - 许可过多
2 - 合规
3 - 已过期
-1 - 不可用
oscompatibilityfilter={字符串}:
32-bit - 32 位
64-bit - 64 位
- 响应参数
- sw_type:
1 - 商业
2 - 非商业
0 - 未识别
is_usage_prohibited:
1 - 允许
2 - 禁止
0 - 未分配
compliant_status:
0 - 许可不足
1 - 许可过多
2 - 合规
3 - 已过期
-1 - 不可用
响应数据
{ "message_response": { "installedsoftware": [ { "sw_usage_type": "dc.common.NOT_KNOWN", "sw_type": 0, "location": "Not known", "compliant_status": "--", "architecture": "32-bit", "license_owner": "--", "total_copies": "--", "installed_date": 0, "software_version": "15.0.0.239", "domain": "--", "user_component_id": "--", "installed_users_login": "-", "installed_format": "EXE", "managed_sw_id": 1, "remaining_copies": "--", "managed_software_id": 1, "uninstall_status": "--", "uninstall_remarks": "--", "software_id": 1, "sw_category_name": "dc.image.nat.internet", "manufacturer_name": "Adobe Systems Incorporated", "user_name": "--", "manufacturer_id": 12, "software_name": "Adobe Flash Player 15 Plugin", "is_usage_prohibited": 0, "detected_time": 1449559311735, "comments": "--" } ], "page": 1, "total": 1, "limit": 25 }, "status": "success", "message_version": "1.0", "message_type": "installedsoftware" }
