API Guide

Table Of Contents
Table 43. Type (continued)
Enumeration Value Description
2 Temperature-triggered policy
List of all the sort options that this method supports:
PolicyId
Name
Description
Enabled
AssignedTo
CreatedTime
Type
IsAssociatedToGroup
/api/PowerService/Policies(<PolicyId>)
This URI represents a specific policy.
Supported versions of Power Manager:
2.0
1.2
1.1
1.0
GET method for Policies(<PolicyId>)
This method returns a specific policy.
Description
Returns details of a specific policy.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/
$metadata#Collection(PowerService.PowerPolicy)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.PowerPolicy",
"@odata.id": "/api/PowerService/Policies(1)",
"PolicyId": 4,
"Type": 1,
"Name": "Policy for Power",
"Description": "Policy for Power",
"Enabled": true,
"AssignedTo": "4xBzewP",
"CreatedTime": "2019-06-12 16:54:14.411943",
"ExecutionState": 3,
"IsAssociatedToGroup": false
"PolicyDetails": {
"@odata.id": "/api/PowerService/Policies(4)/
PolicyDetails"
}
Power Policy 41