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

Page 76: Interface uri access method, Parameters

Advertising
background image

Query Device Model Information List

Query device information based on predefined criteria.

Interface URI

/plat/res/model

Access Method

HTTP

GET

Parameters

Query parameter

Model name.

name

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

Model sysOID.

sysOid

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

Vendor.

vendor

Integer type. Optional. No default value. Valid values can be obtained through Vendor Query
Interface.

Device series.

series

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

Device type.

category

Integer type. Optional. No default value. Valid values can be obtained through Device Type Query
Interface.

Location of the first returned record in the query result.

start

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

Total returned records.

size

Integer type. Optional. The default value is 10. If the input parameter is smaller than 0, the parameter
is automatically changed to 0. If the input parameter is greater than 1000, the parameter is
automatically changed to 1000.

Sort field of the returned result.

orderBy

String type. Optional. The default value is id. Valid values include id, name, and predefined.

Sort records in descending order.

desc

Boolean type. Optional. The default value is false. It is valid only when the orderBy parameter is
specified.

Only records that match the sort criteria are returned.

total

Boolean type. Optional. The default value is false. When the value is true, the start and size attributes
are invalid, the returned message body is empty, and the Message Header field gives the records
that match the sort criteria.

76

Network Resource Management

Advertising