DM-
SV01 Server ● BMC User Manual ● Rev. 2.1
85
Expected
response
200 OK
Reply
Please, see the example below.
As an example, the excerpt below shows the data provided by the redfish when using the GET request
to retrieve the total current consumption of the system. The value of the current consumption is shown
in the “Reading” field. The measurement unit (Amperes) is shown in the “ReadingUnits” field.
Additionally, the user can check the health status of the sensor and the respective warning and critical
thresholds.
{
"@odata.id": "/redfish/v1/Chassis/chassis/Sensors/POWER_SUPPLY",
"@odata.type": "#Sensor.v1_0_0.Sensor",
"Id": "POWER_SUPPLY",
"Name": "POWER SUPPLY",
"Reading": 5.394,
"ReadingRangeMax": 0.0,
"ReadingRangeMin": 0.0,
"ReadingUnits": "Amperes",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"Thresholds": {
"LowerCaution": {
"Reading": 0.0
},
"LowerCritical": {
"Reading": 0.0
},
"UpperCaution": {
"Reading": 61.0
},
"UpperCritical": {
"Reading": 65.0
}
}
}
Once the operation is successful, it returns the response “200 OK” and the sensor information is
retrieved.