Skip to main content

GET /service/country

Use this method to return the country in which XClarity Administrator is located. This country used to download Storage DM firmware.

Note
This REST API requires Lenovo XClarity Administrator v3.3.0 or later.

Authentication

Authentication with username and password is required.

Request URL

GET https://<management_server_IP>/service/country

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.

Response body

ParametersTypeDescription
countryStringTwo-letter ISO 3166 code for the country or region

To obtains the code, use GET /utils/countries

The following example is returned if the request is successful.
{
"country": "CN"
}