Query device information list, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 55: Interface uri access method, Parameters

Advertising
background image

Query Device Information List

Query device information based on predefined criteria.

Interface URI

/plat/res/device

Access Method

HTTP

GET

Parameters

Query parameter

Filter resources by access right.

resPrivilegeFilter

Boolean type. Optional. The default value is false.

Device type.

category

Integer type. Optional. No default value. Valid values can be obtained through SNMP Template
Query Interfaces.

Device label.

label

String type. Wildcards are supported. Optional. No default value.

Device IP address.

ip

String type. Wildcards are supported. Optional. No default value.

MAC address.

mac

String type. Wildcards are supported. Optional. No default value.

Device status.

status

Integer type. Optional. No default value. For valid values, see “

Device status description

.

Device status.

series

Integer type. Optional. No default value. Valid values can be obtained through Device Series
Query Interfaces.

Contact.

contact

String type. Wildcards are supported. Optional. No default value.

Device location.

location

String type. Wildcards are supported. Optional. No default value.

Location of the first returned record in the query result.

start

Integer type. Optional. The default value is 0. If the input value is smaller than 0, the default
value is used.

Total returned records.

size

Integer type. Optional. The default value is 10. If the input value is smaller than 0, the default
value is used.

Sort field of the returned result.

orderBy

String type. Optional. The default value is id. Valid values include id, label, ip, mask, status,
contact, location, sysoid, and sysName.

Sort records in descending order.

desc

Query Device Information List

55

Advertising