beautypg.com

Query all operators, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 34: Returned result, Interface uri access method returned result

background image

Query All Operators

Query and list all operators.

Interface URI

/plat/operator

Access Method

HTTP

GET

Parameters

Query parameters

The position where the first returned record is located in the whole returned result.

start

Integer type. Optional. The default value is 0. If a negative value is uploaded, the default value is
used.

The total number of returned records.

size

Integer type. Optional. The default value is 10. If a negative value is uploaded, the default value is
used.

The sequencing field of the returned result set.

orderBy

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

Whether or not the result is sequenced in reverse order.

desc

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

Only the number of records that meet the requirements is 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 Total attribute of the message header
returns the number of records that meet the requirements.

Returned Result

Status codes

200 (OK): Success.

Message header

When the total parameter takes true, the Total attribute returns the total number of records that
meet the requirements. The message body is empty.

HTTP/1.1 200 OK
Total 2

34

System Management