Add acl time range on a device, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 429

Advertising
background image

Add ACL Time Range on a Device

Add an ACL time range on a device.

Interface URI

/acl/res/aclTimeRange

Access Method

HTTP

POST

Message body

POST http://imc_host:8080/imcrs/acl/res/aclTimeRange
accept: application/xml
...
<aclResTimeRange>
<parentId>68</parentId>
<parentType>1</parentType>
<trName>a</trName>
<useFlag>0</useFlag>
<aclResChildTimeRangeList>
<aclResChildTimeRange>
<trChildType>0</trChildType>
<trPerDayofweek/>
<trStartTime>2010-04-06 15:12</trStartTime>
<trEndTime>2010-04-30 15:12</trEndTime>
</aclResChildTimeRange>
</aclResChildTimeRangeList>
</aclResTimeRange>

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.

Add ACL Time Range on a Device 429

Advertising