API Guide

Power Metrics
/api/MetricService/Metrics
This URL returns all the device or group metrics.
POST method for Metrics
Description This method returns all the device or group metrics.
Privilege VIEW
HTTP response
codes
201
Example
Input:
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityType": 0,
"EntityId": 10397,
"MetricTypes": [
1,
2,
3
],
"Duration": 0,
"SortOrder":0
}
Output:
{
"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 166. Attributes
Attribute Description
PluginId ID of a plug-in.
EntityType Type of entity—device or group.
EntityId ID of an entity—device or group.
MetricTypes Types of metrics supported.
APIs specific to OpenManage Enterprise 437