API Guide
Attribute Description
NOTE:
• The version is not required for uninstall, enable, and
disable.
• For install and update, the version that needs to be
installed should be mentioned.
• Only one action can occur at a time for multiple plug-
ins.
Output The output returns the task ID.
Power Metrics
NOTE: The APIs in this section can be used only when the power plug-in is installed on OpenManage Enterprise.
/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 request
body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityType": 0,
"EntityId": 10397,
"MetricTypes": [
1,
2,
3
],
"Duration": 0,
"SortOrder":0
}
Example response
body
{
"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"
}
]
APIs specific to OpenManage Enterprise 539