Skip to main content

GET – Get chassis properties

Use the GET method to obtain the chassis properties.

Request URI

GET https://{{ip}}/redfish/v1/Chassis/{{chassis_instance}}

Request body

None

Response body

The response is a JSON object that contains the following parameters:

Table 1. Chassis Properties

Name

Type

Read only

Description

Id(M)

String

True

Resource Identifier

Name(M)

String

True

Name of the Resource

Description

String

True

Provides description of the resource.

ChassisType(M)

String

True

ChassisType shall indicate the physical form factor for the type of chassis.

Manufacturer(C)

String

True

The manufacturer of this chassis.

Model©

String

True

The model number for this chassis.

SKU©

String

True

This is the SKU for this chassis.

SerialNumber©

String

True

The serial number for this chassis.

PartNumber©

String

True

The part number for this chassis.

AssetTag

String

True

The user assigned asset tag for this chassis.

UUID

String

True

The Universal Unique Identifier (UUID) for this Chassis.

IndicatorLED

String

False

The state of the indicator LED, used to identify the chassis.

   

Enum

Description

Unknown

The state of the Indicator LED cannot be determined.

Lit

The Indicator LED is lit.

Blinking

The Indicator LED is blinking.

Off

The Indicator LED is off.

Links

Object

True

The links object contains the links to other resources that a related to this resource. See the Chassis Links Properties.

Actions

Object

True

The Actions object contains the available custom actions o this resource like Chassis.Reset and OemActions if any.

Status

Object

True

See Resource Properties.

Thermal(N)

Object

True

A reference to the thermal properties (fans, cooling, sensors) for this chassis.

Power(N)

Object

True

A reference to the power properties (power supplies, power policies, sensors) for this chassis.

PowerState

String

True

This is the current power state of the chassis.

Enum

Description

On

The components within the chassis has power on.

Off

The components within the chassis has no power, except some components may continue to have AUX power such as management controller.

Location

Object

True

Resource. Location.

NetworkAdapters

Object

True

A reference to the collection of NetworAkdapters associated with this chassis.

Response example

When the request is successful, a message body similar to the following is returned:

{
"@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
"@odata.etag": "\"1602668680\"",
"@odata.id": "/redfish/v1/Chassis/Self",
"@odata.type": "#Chassis.v1_9_1.Chassis",
"Actions": {
"#Chassis.Reset": {
"@Redfish.ActionInfo": "/redfish/v1/Chassis/Self/ResetActionInfo",
"@Redfish.OperationApplyTimeSupport": {
"@odata.type": "#Settings.v1_2_1.Settings.OperationApplyTimeSupport",
"MaintenanceWindowDurationInSeconds": 600,
"MaintenanceWindowResource": {
"@odata.id": "/redfish/v1/Chassis/Self"
},
"SupportedValues": [
"Immediate",
"AtMaintenanceWindowStart"
]
},
"target": "/redfish/v1/Chassis/Self/Actions/Chassis.Reset"
}
},
"AssetTag": "Free form asset tag",
"ChassisType": "Other",
"Description": "Chassis Self",
"Id": "Self",
"IndicatorLED": "Off",
"IndicatorLED@Redfish.AllowableValues": [
"Lit",
"Blinking",
"Off"
],
"Links": {
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/Self"
}
],
"ComputerSystems@odata.count": 1,
"Drives": [
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device7_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device2_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device1_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device4_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device3_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device0_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device6_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/USB_Device5_Port1"
},
{
"@odata.id": "/redfish/v1/Systems/Self/Storage/1/Drives/SATA_Device8_Port5"
}
],
"Drives@odata.count": 9,
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/Self"
}
],
"ManagedBy@odata.count": 1,
"PCIeDevices": [
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_C2_00"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_C1_00"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/PCIeDevices/00_01_00"
}
],
"PCIeDevices@odata.count": 3,
"PoweredBy": [
{
"@odata.id": "/redfish/v1/Chassis/Self/Power#/PowerSupplies/0"
},
{
"@odata.id": "/redfish/v1/Chassis/Self/Power#/PowerSupplies/1"
}
],
"PoweredBy@odata.count": 2
},
"Location": {
"Contacts": [
{
"ContactName": ""
}
],
"Placement": {
"Rack": "",
"RackOffsetUnits": "EIA_310",
"RackOffsetUnits@Redfish.AllowableValues": [
"OpenU",
"EIA_310"
]
},
"PostalAddress": {
"Building": "",
"Location": "",
"Name": "",
"Room": ""
}
},
"LogServices": {
"@odata.id": "/redfish/v1/Chassis/Self/LogServices"
},
"Manufacturer": "Lenovo",
"Model": "7Z01CTO1WW",
"Name": "Computer System Chassis",
"NetworkAdapters": {
"@odata.id": "/redfish/v1/Chassis/Self/NetworkAdapters"
},
"PCIeSlots": {
"@odata.id": "/redfish/v1/Chassis/Self/PCIeSlots"
},
"PartNumber": "SB27A42856",
"Power": {
"@odata.id": "/redfish/v1/Chassis/Self/Power"
},
"PowerState": "On",
"SKU": "7Z01CTO1WW",
"SerialNumber": " J30159HV",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/Self/Thermal"
}
}