API Guide

Table Of Contents
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 54. Attributes
Attribute name Description
Ids List of IDs of power policies
NOTE: To enable all power policies, provide value for Ids as -1.
/api/PowerService/Actions/
PowerService.DisablePolicies
This method disables a policy.
Supported versions of Power Manager:
2.0
1.2
1.1
1.0
POST method for Disabling Policy
This method disables power policies.
Description
Disables power policies.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
50 Power Policy