PUT /cabinet/view

Use this method to modify the numbering order preference for devices in racks (cabinets).

Note: This API requires Lenovo XClarity Administrator v2.8.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

PUT https://<management_server_IP>/cabinet/view

Query parameters

None

Request body

Parameter Required / Optional Type Description
topToBottomView Required Boolean Indicates the rack numbering order preference. This can be one of the following values.
  • true. Devices numbers are ordered from the top to the bottom (for example, 1 – 52).
  • false. Devices numbers are ordered from bottom to the top (for example, 52 – 1).
The following example sets the device-order preference to top to bottom.
{
   "topToBottomView": true
}

Response codes

Code Description Comments
200 OK The request completed successfully.
400 Bad Request A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

None