Query acl time ranges of a device, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Query ACL Time Ranges of a Device

Query the ACL time ranges of a device specified by its device ID.

Interface URI

/acl/res/aclTimeRange/{deviceId}

Access Method

HTTP

GET

Parameters

Path parameters

Device ID.

deviceId

Long integer type. Required. No default value.

Query parameters

The position of the first returned record in the query result set.

start

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

Total number of returned records.

size

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

Specify that only the number of matched records is returned.

total

Boolean type. Optional. The default value is false. When this field is set to true, the start and size
fields are ineffective, the message body returned is empty, and the Total field in the message header
returns the number of matched records.

Returned Result

Status codes

200(OK): Success.

Message header

When the total parameter is true, the Total field gives the total number of matched records. No
message body is included.

HTTP/1.1 200 OK
Total: 7

Message body

<list>
<aclResTimeRange>
<trId>1371</trId>
<parentId>68</parentId>
<parentType>1</parentType>
<trName>1</trName>
<useFlag>0</updateFlag>
<aclChildTimeRanges>http://imc_host:8080/imcrs/acl/res/aclTimeRange/68,1371</aclChildTimeRanges>
</aclResTimeRange>
...
</list>

Query ACL Time Ranges of a Device 427

Advertising