API Guide

Table Of Contents
Power Metrics
NOTE: The APIs in this section can be used only when the Power Manager plug-in is installed on OpenManage Enterprise.
/api/MetricService/Metrics
This URL returns all the device or group metrics.
NOTE: If the current temperature information of the constituent devices is not available, the most recent temperature
information of a group displays an aggregation of the temperature values that were last collected by these constituent
devices.
POST method for Metrics
Description This method returns all the device or group metrics.
Privilege VIEW
HTTP response
codes
201
Example request
body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityType": 0,
"EntityId": 10397,
"MetricTypes": [
1,
2,
3
],
"Duration": 0,
"SortOrder":0
}
Example
response body
{
"EntityId": 10397,
"Value":[
{
"Type": "1",
"Value": "230.0",
"Timestamp": "2019-07-02 13:45:05.147666"
},
{
"Type": "2",
"Value": "177.0",
"Timestamp": "2019-07-02 13:45:05.147666"
},
{
"Type": "3",
"Value": "197.0",
"Timestamp": "2019-07-02 13:45:05.147666"
}
]
}
Table 191. Attributes
Attribute Description
PluginId ID of a plug-in.
APIs specific to OpenManage Enterprise 627