API Guide
Table 51. Attributes (continued)
Attribute name Description
Id ID of the target device or group
PowerCapValue Power cap value for the device or group.
Table 52. Output Attributes
Attribute name Description
Id ID of the power policy
NOTE: All targets and corresponding power cap must be passed in the payload.
NOTE: If you are creating power policy on a group, the Targets field must be an array containing the group Id and group
power cap as first value, followed by device id and power cap value of each member device.
NOTE: StartTime and EndTime must be left empty for policy which is active entire day.
NOTE: DaysOfTheWeek must be set as empty array for policy which is active on every day
/api/PowerService/Actions/
PowerService.EnablePolicies
This method enables a policy.
Supported versions of Power Manager:
• 1.2
• 1.1
• 1.0
POST method for Enabling Policy
This method enables power policies..
Description
Enables power policies.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example
Input:
{
"Ids": [30, 32]
}
Output:
{
"Ids": [
30,
32
]
}
46 Power Policy