Modify polling interval, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Modify Polling Interval

Modify polling interval for a device based on device ID.

Interface URI

/plat/res/device/{id}/updatePollInterval

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

id

Long integer type. Required. No default value.

Message body

<device>
<configPollTime>1800</configPollTime>
<statePollTime>100</statePollTime>
</device>

Element description

device sub-elements

Set polling interval.

configPollTime

Integer type, in minutes. Optional. If the element does not exist, the value is not changed. If the
element exists, the value cannot be null

Status polling interval.

statePollTime

Integer type, in seconds. Optional. If the element does not exist, the value is not changed. If the
element exists, the value cannot be null.

Returned Result

Status codes

204 (No Content): Success.

404 (Not Found): No data is found with the ID.

409 (Conflict): Failure. See

Error Codes

.”

Message header

HTTP/1.1 204 No Content
...

104 Network Resource Management

Advertising