API Guide

Table 168. Attributes
Attribute Description
PluginId ID of a plug-in.
EntityType Type of an entity, only device.
EntityId ID of an entity, only device.
Duration Duration
Total Energy Energy Consumption in KWH.
Duration
1 One hour
2 Six hours
3 Twelve hours
4 One day
5 Seven days
6 One month
7 Three months
8 Six months
9 One year
/api/MetricService/MetricTypes
This URL returns all the supported metric types.
GET method for MetricTypes
Description
This method returns all the supported metric types.
Privilege VIEW
HTTP response
codes
200
Example
Input:
None
Output:
{
"@odata.context": "/api/$metadata#Collection(MetricService.MetricType)",
"@odata.count": 19,
"value": [
{
"@odata.type": "#MetricService.MetricType",
"Id": 1,
"Name": "MAX_POWER",
"Description": "Maximum System Power Consumption"
},
{
"@odata.type": "#MetricService.MetricType",
"Id": 2,
"Name": "MIN_POWER",
"Description": "Minimum System Power Consumption"
},
{
"@odata.type": "#MetricService.MetricType",
"Id": 3,
APIs specific to OpenManage Enterprise 441