Getting License

In this article

    You can get a resource representation of a 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 resource 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 more 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

    integer

    Total number of units in the license.

    usedNumber

    integer

    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.

    Examples

    Example 1

    The example returns a resource 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"

    }