API Guide
Table Of Contents
- OpenManage Enterprise Power Manager RESTful API Guide version 2.0
- Contents
- 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
- Unmonitored devices
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Create
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Update
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Delete
- api/PowerService/UserDefinedEntities/Devices
- api/PowerService/UserDefinedEntities/Devices(
)
- Physical Groups
- api/GroupService/Actions/GroupService.CreateGroup
- api/GroupService/Actions/GroupService.UpdateGroup
- api/GroupService/Actions/GroupService.DeleteGroup
- /api/PowerService/PhysicalGroups/GroupDetails
- /api/PowerService/PhysicalGroups/GroupDetails(
) - api/PowerService/PhysicalGroups/GroupDetails
/AllLeafgroups - api/PowerService/Actions/PowerService.UpdateDeviceDetails
- /api/PowerService/DeviceDetails
- api/PowerService/PhysicalGroups/CapableDevices
- api/PowerService/PhysicalGroups/CapableDevices(
) - api/PowerService/PhysicalGroups/Actions/PhysicalGroup.AddMemberDevices
- api/PowerService/PhysicalGroups/Actions/PhysicalGroup.RemoveMemberDevices
- api/PowerService/PhysicalGroups/GroupDetails(
)/Devices - api/PowerService/PhysicalGroups/Actions/PhysicalGroup.UpdateSlots
- api/PowerService/PhysicalGroups/Actions/PhysicalGroup.MoveDevice
- Power Distribution Units
- Virtual machines
- Report Service
Table 61. EPR Type Enumeration
Enumeration Value Description
1 Power Throttle Down (0 power cap value).
2 Power Off.
Table 62. EPR Source Enumeration
Enumeration Value Description
1 Manual
2 Temperature-triggered
/api/PowerService/EPR
This URI represents the list of Emergency Power Reduction applied on the targets.
Supported versions of Power Manager:
● 2.0
● 1.2
● 1.1
● 1.0
GET method for retrieving the targets where EPR is applied
This method returns the collection of EPR applied on the targets monitored by the Power Manager
Description
Returns the collection of EPR.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/
$metadata#Collection(PowerService.EprPolicy)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.EprPolicy",
"@odata.id": "/api/PowerService/EPR(6)",
"PolicyId": 6,
"Type": 1,
"Name": "EPR policy for 10069 at 6/12/19 5:39 PM",
"Description": "EPR policy for target 10069 applied at
6/12/19 5:39 PM.",
"Enabled": true,
"AssignedTo": "4xBzewP",
"CreatedTime": "2019-06-12 17:39:11.661279",
"IsEprPowerDown": false,
"IsAssociatedToGroup": false,
"ExecutionState": 3
}
]
}
Emergency Power Reduction 55