beautypg.com

Query a specific vlan interface, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

background image

Query a Specific VLAN Interface

Query and list information about VLAN interfaces for a VLAN on the device with certain criteria.

Interface URI

/vlan/vlanif/{vlanId}

Access Method

HTTP

GET

Parameters

Query parameters

VLAN ID.

vlanId

Integer type. Required. No default value.

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

Query a Specific VLAN Interface 399