Example, Elements, Request – HP Intelligent Management Center Licenses User Manual

Page 428: Response

Advertising
background image

Elements

ACL time range sub-elements

ACL time range ID, which uniquely identifies an ACL time range.

trId

Long integer type.

ID of the parent device or task.

parentId

Long integer type.

Parent type, which can be device or task.

parentType

Long integer type.

Time range name.

trName

String type.

Specify the action of adding, deleting, or modifying.

useFlag

Long integer type.

Child Time Range Set URI.

aclChildTimeRange

String type.

Example

Query the basic time range information entries 2 through 4 on device whose device ID is 25.

Request

GET http://imc_host:8080/imcrs/acl/res/aclTimeRange/25?start=2&size=2
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

<list>
<aclResTimeRange>
<trId>51</trId>
<parentId>25</parentId>
<parentType>1</parentType>
<trName>1</trName>
<useFlag>0</useFlag>
<aclChildTimeRanges>http://imc_host:8080/imcrs/acl/res/aclTimeRange/25,51</aclChildTimeRanges>
</aclResTimeRange>
...
<link href="http://imc_host:8080/imcrs/acl/res/aclTimeRange/25?start=0&size=2" op="GET" rel="previous"/>
<link href="http://imc_host:8080/imcrs/acl/res/aclTimeRange/25?start=4&size=2" op="GET" rel="next"/>
</list>

428 ACL Management

Advertising