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
Supported versions of Power Manager:
● 2.0
● 1.2
● 1.1
● 1.0
GET method for Representing All Devices from a MonitoredGroup
This method represents all the device of a monitored group.
Description Returns all the devices belongs to a Monitored group.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/$metadata#Collection(PowerService.Device)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.Device",
"Id": 10069,
"DeviceName": "SKCLUSN1.tejd.bdcsv.lab",
"ServiceTag": "4xBzewP",
"Type": 1000,
"PowerState": 17,
"ManagedState": 3000,
"ConnectionState": true,
"HealthStatus": 4000,
"Model": "PowerEdge R940",
"InWorkingSet": true,
"IsPolicyCapable": true
"IsAddedIndividually": false
}
]
}
Table 37. Attributes
Attribute name Description
Id Device Id
DeviceName Device Name
ServiceTag Device Service Tag
Type Device Type
PowerState Power State of device.
ManagedState Managed State of the device
ConnectionState Connection state of the device
HealthStatus Health status of the device
Model Device Model
InWorkingSet Available in monitored list
IsPolicyCapable Capable to apply Power cap policy or not.
36 Monitored Groups