API Guide

Table Of Contents
Table 193. 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 One week
6 Two weeks
7 One month
8 Three months
9 Six months
10 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
response body
{
"@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"
},
{
APIs specific to OpenManage Enterprise 631