API Guide

Table Of Contents
{
"@odata.context": "/api/$metadata#PowerService.PowerPolicyModel",
"@odata.type": "#PowerService.PowerPolicyModel",
"@odata.id": "/api/PowerService/Policies(30)/PolicyDetails",
"PolicyId": 30,
"Name": "Group Policy",
"Type": 1,
"Description": "Power policy created on group",
"Enabled": true,
"Schedule": {
"StartTime": "",
"EndTime": "",
"StartDate": "",
"EndDate": "",
"DaysOfTheWeek": []
},
"Devices": [
{
"Id": 10070,
"DeviceName": "100.96.25.126",
"Type": 2000,
"ServiceTag": "D89RG52",
"PowerCapValue": 16670,
"Ip": null
}
],
"Group": {
"Id": 10132,
"PowerCapValue": 16670,
"TemperatureThreshold": 45,
"Name": "DeviceGroup",
"Description": ""
}
}
Table 46. Attributes
Attribute name Description
PolicyId ID of power policy.
Name Name associated with the policy.
Type Type of policy.
Description Description associated with the policy.
Enabled Indicates if the policy is enabled or disabled.
Schedule Indicates when the policy will be active.
StartTime Time at which the policy interval starts.
EndTime Time at which the policy interval ends.
StartDate Date from which the policy is active.
EndDate Date until which the policy is active.
DaysOfTheWeek Days of week in which the policy is active.
Devices Target devices of the policy.
Devices.Id ID of the target device.
Devices.DeviceName Name of the device.
Devices.Type Type of the device.
Devices.ServiceTag Service tag of the device.
Power Policy 43