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

Page 210: Interface uri access method, Path parameters, Query parameters

Advertising
background image

Query Current Accesses

Query current accesses on a device with certain criteria.

Interface URI

/res/access/ipMacLearn/{deviceId}

Access Method

HTTP

GET

Path parameters

Path parameters

Device ID.

deviceId

Long integer type. Required. No default value.

Query parameters

Query parameters

Device ID.

deviceId

Long integer type. Required. No default value.

Learned MAC address.

mac

String type. Optional.

Only the number of records that meet the requirements is returned.

total

Boolean type. Optional. Default value is false. When true, the returned message body is empty, and
the Total attribute of the message header returns the required number of records.

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, the default value is used.

The total number of returned records.

size

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

The sequencing field of the returned result set.

orderBy

String type. Optional. The default value is ifDesc. Valid values include ifDesc, vlanId, ip, and mac.

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.

210

Terminal Access Management

Advertising