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

Page 411

Advertising
background image

Example

Query basic ACL information entries 2 through ACL 4 on device whose device ID is 25.

Request

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

Response

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

<list>
<acl>
<aclId>1391</aclId>
<parentId>25</parentId>
<parentType>1</parentType>
<aclName>2222</aclName>
<aclNameType>1</aclNameType>
<aclType>2</aclType>
<aclMatchorder>1</aclMatchorder>
<aclDesc>zxm</aclDesc>
<tmpName>1391</tmpName>
<tmpName/>
<updateFlag>0</updateFlag>
<aclRules>http://imc_host:8080/imcrs/acl/res/acl/25,1391</aclRules>
</acl>
...
<link href="http://imc_host:8080/imcrs/acl/res/acl/25?start=0&size=2" op="GET" rel="previous"/>
<link href="http://imc_host:8080/imcrs/acl/res/acl/25?start=4&size=2" op="GET" rel="next"/>
</list>

Query the ACL Definitions of a Device

411

Advertising