Skip to main content

GET – Collection for Flex System Enterprise Chassis or Lenovo D2 Enclosure

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

Example

The following example JSON response is returned:

{
"@odata.id": "/redfish/v1/Chassis",
"Name": "ChassisCollection",
"@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1"
},
{
"@odata.id": "/redfish/v1/Chassis/2"
}

],
"@odata.type": "#ChassisCollection.ChassisCollection",
"@odata.etag": "\"af5a94479815eb5f87fe91ea08fde0ac\"",
"Members@odata.count": 2,
"Description": "A collection of Chassis resource instances."
}