API Guide

"@odata.context": "/api/
$metadata#Collection(PowerService.MonitoredDevice)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.MonitoredDevice",
"@odata.id": "/api/PowerService/MonitoredDevices(10079)",
"Id": 10079,
"DeviceName": "100.96.27.67",
"ServiceTag": "DSFYSF2",
"Type": 1000,
"Model": "PowerEdge M630",
"PowerState": 17,
"ConnectionState": true,
"HealthStatus": 1000,
"ManagedState": 3000,
"AddedOn": "2019-06-25 12:55:34.107889",
"IsPartOfGroup": false,
"Location": "DC/Room/Aisle/Rack 1",
"SlotNumber": 10,
"GroupAssociation": [
{
"Id": 11359,
"Name": "W1"
}
],
"LicenseStatus": 1,
"PowerPolicyCapable": true,
"AllDevices": true,
"EPRStatus": {
"@odata.id": "/api/PowerService/MonitoredDevices(10079)/
EPRStatus"
},
"Policies@odata.navigationLink": "/api/PowerService/
MonitoredDevices(10079)/Policies"
}
]
}
Table 20. Attributes
Attribute Name Description
Id Device Id
DeviceName Device Name
ServiceTag Service Tag of the device.
Type Device Type
Model Device Model
PowerState Power State of the device.
ConnectionState Connection State of the device
HealthStatus Health Status of the device
ManagedState Managed State of the device
AddedOn Date when the device is added.
GroupAssociation Group to which the device belongs to.
GroupAssociation.Id Group Id of the group to which the device belongs to.
GroupAssociation.Name Group Name device belongs to.
LicenseStatus License status of the device.
Monitored Devices 23