GET /cabinet/view

Use this GET method to retrieve 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

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

Query parameters

None

Request body

None

Response codes

Code Description
200 OK
500 Internal server error

Response body

Parameters Type Description
topToBottomView 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).

Response example

{
   "topToBottomView": true
}