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
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
company | Required | String | Company name | ||
country | Required | String | Country code for the location of the management server To obtain the country codes, use GET /utils/countries. | ||
deviceCount | Required | Integer | Number of managed devices |
The following example registers a company for a free license.
{
"company": "Some Company",
"country": "us",
"deviceCount": 250
}
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. |
408 | Request Timeout | The orchestrator server did not receive a required request in a specific amount of time. 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
Give documentation feedback