You can get a representation of a license uploaded to Veeam Availability Console.
Request
To get a representation of a license, send the GET HTTPS request to the URL of the /LicenseSettings resource.
HTTP Request
GET https://<Availability-Console>:1281/v2/LicenseSettings |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, Veeam Availability Console returns a representation of the /LicenseSettings resource.
Example
The following request returns a representation of a license uploaded to Veeam Availability Console.
Request: GET https://localhost:1281/v2/LicenseSettings
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "autoupdateEnabled": false, "productName": "Veeam Availability Console", "status": "Valid (81 days until expiration)", "type": "Rental", "licenseTo": "Veeam", "contactPerson": "John Smith", "licensesCount": 100, "licensesUsedCount": 15, "cloudConnectType": "Cloud Connect Provider", "expirationDate": "2017-12-30T21:00:00Z", "supportExpirationDate": "2017-12-30T21:00:00Z", "lastUpdateDate": null, "vmCount": 2, "workstationCount": 5, "serverCount": 1, "cloudWorkstationCount": 2, "cloudServerCount": 3, "cloudconnectBackupVmCount": 8, "cloudconnectBackupWorkstationCount": 0, "cloudconnectBackupServerCount": 0, "cloudconnectReplicationVmCount": 2, "actions": [ "UpdateNow" ] } |