http://<serverName>:<portNumber>/api/v3/assets
示例:http://192.168.1.8:8080/api/v3/assets
方法:GET
请求参数:
参数名 | 值 | 位置 |
input_data | <JSON_String> | params |
authtoken | <API Key> | header |
{
"assets": [
//符合条件的资产信息会在此输出
],
"response_status": [
{
"status_code": 2000,
"status": "success"
}
],
"list_info": {
"has_more_rows": false,
"start_index": 1,
"sort_field": "computer_system.service_tag",
"fields_required": [
"product_type",
"operating_system.os",
"ip_addresses",
"vendor",
"name",
"computer_system.model",
"org_serial_number",
"state",
"purchase_cost",
"department",
"user",
"computer_system.service_tag",
"icon",
"ci",
"operating_system.os",
"last_success_audit"
],
"total_count": 0,
"filter_by": {
"id": 1
},
"page": 1,
"sort_order": "asc",
"search_criteria": [
{
"condition": "contains",
"field": "name",
"logical_operator": "AND",
"value": "test"
},
{
"condition": "contains",
"field": "product_type.name",
"logical_operator": "AND",
"value": "test"
}
],
"get_total_count": "true",
"row_count": 0
}
}