API Guide
Table Of Contents
- OpenManage Enterprise Power Manager RESTful API Guide version 1.1
- About this document
- Overview
- Key integration concepts
- Settings
- Monitored Devices
- Monitored Groups
- Power Policy
- api/PowerService/PowerBounds
- /api/PowerService/Policies
- /api/PowerService/Policies(
) - /api/PowerService/Policies(
)/PolicyDetails - /api/PowerService/MonitoredDevices(
)/Policies - /api/PowerService/MonitoredGroups(
)/Policies - /api/PowerService/Actions/PowerService.CreatePolicy
- /api/PowerService/Actions/PowerService. EditPolicy
- /api/PowerService/Actions/PowerService.EnablePolicies
- /api/PowerService/Actions/PowerService.DisablePolicies
- /api/PowerService/Actions/PowerService.DeletePolicies
- Emergency Power Reduction
- Report Service
/api/PowerService/MonitoredGroups(<GroupId>)/
Policies
This URI returns the power policies that are created on the specified group.
Supported versions of Power Manager:
● 1.1
● 1.0
GET method for policies created on specified groups
Description Returns all the power policies.
Privilege VIEW
HTTP response
codes
200
Example
Input:
None
Output:
{
"@odata.context": "/api/$metadata#Collection(PowerService.Policy)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.Policy",
"Id": 30,
"Type": 1,
"PolicyName": "Group Policy",
"PolicyDescription": "Updated policy on group",
"PolicyState": true
}
]
}
Table 47. Attributes
Attribute name Description
Id ID of the policy.
Type Type of the policy.
NOTE: If you have not provided the Type attribute value,
by default the value is considered as one.
PolicyName Name associated with the policy.
PolicyDescription Description associated with the policy.
PolicyState Indicates if the policy is enabled or disabled.
Table 48. Policy type
Enumeration Value Policy Type
1 Static
2 Temperature-triggered
Power Policy 41