Getting License
This section explains how to get a resource representation of the license installed in Veeam Backup for Microsoft Office 365.
Request
GET https://<hostname>:4443/v5/License |
Request Headers
The request header must contain an authorization token of the current session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a representation of the /License resource. The response body contains the following properties.
Property | Type | Description |
---|---|---|
Status | string | Status of the installed license. |
ExpirationDate | datetime | Date and time when the license will expire. |
Type | string | Type of the license. For information about license types, see the Licensing and License Types section of the Veeam Backup for Microsoft Office 365 User Guide. |
LicensedTo | string | Company to which the license was issued. |
ContactPerson | string | Name of the user to which the license was issued. |
TotalNumber | int | Total number of units in the license. |
UsedNumber | int | Number of units consumed in the license. |
SupportId | string | Support ID of the installed license. |
SupportExpirationDate | datetime | Date and time when the support contract will expire. |
Example
The example below returns an entity representation of the license installed in Veeam Backup for Microsoft Office 365.
Request: GET https://abc.tech.local:4443/v5/License
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "status": "Valid", "expirationDate": "2021-09-20T00:00:00", "type": "Subscription", "licensedTo": "ABC Company", "contactPerson": "ABC Company Admin", "totalNumber": 100, "usedNumber": 10, "supportID": "00000000", "supportExpirationDate": "2021-09-20T03:00:00+03:00" } |