Skip to main content

POST /registration

Use this method to send a registration request to the Lenovo eSupport website and return the registration status and token.

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

Authentication

Authentication with username and password is required.

Request URL

POST https://{management_server_IP}/registration

Query parameters

None

Request body

AttributesRequired / OptionalTypeDescription
companyRequiredStringCompany name
countryRequiredStringCountry code for the location of the management server

To obtain the country codes, use GET /utils/countries.

deviceCountRequiredIntegerNumber of managed devices
The following example registers a company for a free license.
{
"company": "Some Company",
"country": "us",
"deviceCount": 250
}

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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.
408Request TimeoutThe orchestrator server did not receive a required request in a specific amount of time. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None