API Guide

/api/MetricService/MetricsConsumption
This URL represents the aggregated metrics of the device or group.
POST method for MetricsConsumption
Description This method returns the aggregated metrics of the device or group.
Privilege VIEW
HTTP response
codes
201
Example request
body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityType": 0,
"EntityId": 10397,
"Duration": 1,
"MetricTypes": [1,2,3]
}
Example response
body
{
"Value": [
{
"Type": "1",
"Value": "242.0"
},
{
"Type": "2",
"Value": "176.0"
},
{
"Type": "3",
"Value": "192.75"
}
]
}
Table 190. Attributes
Attribute Description
PluginId ID of a plug-in.
EntityType Type of an entity—device or group.
EntityId ID of an entity—device or group.
Duration Duration
MetricTypes Type that is supported by the metric.
Duration
1 One hour
2 Six hours
3 Twelve hours
4 One day
5 Seven days
6 One month
7 Three months
APIs specific to OpenManage Enterprise 591