GET /cabinet/view

Use this method to return 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 Comments
200 OK The request completed successfully.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

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).
The following example is returned if the request is successful.
{
   "topToBottomView": true
}