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
GET method for Monitored Devices
This method returns monitored device details.
Description Returns the monitored device details.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/
$metadata#Collection(PowerService.MonitoredDevice)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.MonitoredDevice",
"@odata.id": "/api/PowerService/MonitoredDevices(10079)",
"Id": 10079,
"DeviceName": "100.96.27.67",
"ServiceTag": "DSFYSF2",
"Type": 1000,
"Model": "PowerEdge M630",
"PowerState": 17,
"ConnectionState": true,
"HealthStatus": 1000,
"ManagedState": 3000,
"AddedOn": "2019-06-25 12:55:34.107889",
"IsPartOfGroup": false,
"Location": "DC/Room/Aisle/Rack 1",
"SlotNumber": 10,
"GroupAssociation": [
{
"Id": 11359,
"Name": "W1"
}
],
"LicenseStatus": 1,
"PowerPolicyCapable": true,
"AllDevices": true,
"EPRStatus": {
"@odata.id": "/api/PowerService/MonitoredDevices(10079)/
EPRStatus"
},
"Policies@odata.navigationLink": "/api/PowerService/
MonitoredDevices(10079)/Policies"
}
]
}
Table 19. Attributes
Attribute Name Description
Id Device Id
DeviceName Device Name
ServiceTag Service Tag of the device.
Type Device Type
Model Device Model
PowerState Power State of the device.
Monitored Devices 23