API Guide
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.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
]
}
Table 53. Attributes
Attribute name Description
Ids List of IDs of power policies
NOTE: To enable all power policies, provide value for Ids as -1.
46 Power Policy