API Guide

Table Of Contents
Table 46. Attributes (continued)
Attribute name Description
Devices.PowerCapValue Power cap value for the device.
Devices.Ip IP address of the device.
Group Target group of the policy (if applicable).
Group.Id ID of the group.
Group.PowerCapValue Power cap value for the group.
Group.TemperatureThreshold Temperature threshold value for the group.
Group.Name Name of the group.
Group.Description Description of the group.
NOTE: The output Group object will have data only when the policy is created for group.
/api/PowerService/MonitoredDevices(<DeviceId>)/
Policies
This method returns policies that are created on the specific device.
Supported versions of Power Manager:
2.0
1.2
1.1
1.0
GET method for policies created on specified devices
This URI returns the power policies that are created on the specified device.
Description
Returns all the power policies.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/$metadata#Collection(PowerService.Policy)",
"@odata.count": 2,
"value": [
{
"@odata.type": "#PowerService.Policy",
"Id": 32,
"Type": 1,
"PolicyName": "Chassis Policy",
"PolicyDescription": "Power policy created on chassis",
"PolicyState": true
},
{
"@odata.type": "#PowerService.Policy",
"Id": 30,
"Type": 1,
"PolicyName": "Group Policy",
44 Power Policy