Skip to main content

GET – Collection for chassis

Use the GET method to retrieve properties in Chassis collection for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis

Request body

None

Response body

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

FieldTypeDescription

Name

String“ChassisCollection”.

Members

ArrayItems: A reference link to an element of Chassis.

Description

StringA collection of Chassis resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Response example

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

{
"@odata.id": "/redfish/v1/Chassis",
"Name": "ChassisCollection",
"@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1"
}
],
"@odata.type": "#ChassisCollection.ChassisCollection",
"@odata.etag": "\"af5a94479815eb5f87fe91ea08fde0ac\"",
"Members@odata.count": 1,
"Description": "A collection of Chassis resource instances."
}