Get method to retrieve power device details by id
This method represents power device details.
- Description
- This method return power device details.
- Privilege
- VIEW
- HTTP response codes
- 200
- Example
-
Input: None
Output:
{
"@odata.context": "/api/$metadata#PowerDevice.DeviceInventoryDetails",
"@odata.type": "#PowerDevice.DeviceInventoryDetails",
"@odata.id": "/api/PowerService/PowerDevice/Device(10126)/Details",
"Id": 10126,
"Manufacturer": "Vertiv",
"FirmwareVersion": "5.6.1",
"HardwareRevision": "gmmb",
"SerialNumber": "ZY20082297",
"PowerRating": 0,
"OutletCount": 12,
"MeteredOutletCount": 12,
"Outlets": [
{
"Number": 1,
"Name": "Outlet 1",
"PowerRating": 0
},
{
"Number": 10,
"Name": "Outlet 10",
"PowerRating": 0
}
]
}
Table 1. AttributesSupported attributes for the API
Attribute
|
Description
|
Id
|
Device id
|
Manufacturer
|
Device manufacturer
|
FirmwareVersion
|
Firmware version of device
|
HardwareRevision
|
Hardware version of device
|
SerialNumber
|
Serial number of device
|
PowerRating
|
Power rating of device
|
OutletCount
|
Outlet count of device
|
MeteredOutletCount
|
Metered outlet count for device
|
Outlets
|
Device outlets details
|
Data is not available for the Topic