API Guide

/api/MetricService/TopOffenders
This URL returns the highest power and temperature information of offenders.
GET method for TopOffenders
Description This method returns the highest power and temperature information of offenders.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "/api/$metadata#Collection(MetricService.TopOffender)",
"@odata.count": 1,
"value": [
{
"Id": 18,
"EntityId": 10105,
"EntityName": "VishServer1",
"TotalViolations": 1,
"EntityType": 1,
"ThresholdType": 7,
"ViolationState": 4,
"UpperCriticalViolations": 1,
"UpperWarningViolations": 0,
"LowerCriticalViolations": 0,
"LowerWarningViolations": 0,
"UpperCritical": 8,
"UpperWarning": 7,
"LowerCritical": 5,
"LowerWarning": 6
}
]
}
Table 192. Attributes
Attribute Description
Id Threshold ID
EntityId ID of an entity—device or group
EntityName Entity Name
TotalViolations Total number of violations
EntityType Type of entity—device or group
ThresholdType Type of threshold—power or temperature
ViolationState Violation state
UpperCriticalViolations Upper critical violations
UpperWarningViolations Upper warning violations
LowerCriticalViolations Lower critical violations
LowerWarningViolations Lower warning violations
UpperCritical Upper critical threshold value
UpperWarning Upper warning threshold value
LowerCritical Lower critical threshold value
LowerWarning Lower warning threshold value
Entity Type
APIs specific to OpenManage Enterprise 593