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

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

Advertising
background image

Query VLANs

Query and list VLAN information on the device with certain criteria.

Interface URI

/vlan

Access Method

HTTP

GET

Parameters

Query parameters

Device type ID.

devId

Integer type. Required. No default value.

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 value takes 0.
If the uploaded value is bigger than 1000, the value takes 1000.

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: 20

Query VLANs 365

Advertising