Get Latest Tenant License Usage Report

In this article

    You can get a collection resource representation of the latest license usage reports generated in Veeam Service Provider Console.

    Request

    To get a representation of the latest license usage report, send the GET HTTPS request to the URL of the /tenants/licensing/reports/latest resource.

    HTTP Request

    GET https://<hostname>:1281/v2/tenants/licensing/reports/latest

    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 OK.

    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 Service Provider Console returns a representation of the /tenants/licensing/reports/latest resource.

    Example Get Latest Tenant License Usage Report

    The following request returns representation of the latest license usage report.

    Request:

    GET https://localhost:1281/v2/tenants/licensing/reports/latest

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 OK

     

    Response Body:

    [

     {

       "reportParemeters": {

         "reportId": 10,

         "organizationName": "Veeam Software AG",

         "organizationUid": "e312fbbd-1e33-415d-8d38-b422c576523a",

         "licenseCompanyName": "Veeam Software AG",

         "generationDate": "2020-03-11T00:00:00.0000000-07:00",

         "reportInterval": {

           "startOfInterval": "2020-02-01T00:00:00.0000000-08:00",

           "endOfInterval": "2020-02-31T00:00:00.0000000-07:00"

         }

       },

       "reportSummary": {

         "totalPoints": 5.0,

         "productsUsage": [

           {

             "productName": "backupAndReplication",

             "totalPoints": 5.0,

             "licenseEdition": "Standard",

             "workloadUsage": [

               {

                 "workloadType": "vbR_VM",

                 "initialCount": 2,

                 "reportedCount": 1,

                 "newCount": 0,

                 "weight": 5.0,

                 "usedPoints": 5.0

               }

             ]

           }

         ]

       },

       "organizationsUsage": [

         {

           "organizationType": "company",

           "organizationName": "Beta",

           "organizationUid": "e312fbbd-1e33-415d-8d38-b422c576523a",

           "tenantId": "cdb843a2-950d-47d0-bf81-b53cec59865b",

           "usedPoints": 5.0

         }

       ],

       "notCollectedCloudServers": null,

       "usageDetails": [

         {

           "organizationName": "Beta",

           "organizationUid": "e312fbbd-1e33-415d-8d38-b422c576523a",

           "tenantId": "cdb843a2-950d-47d0-bf81-b53cec59865b",

           "supportId": "01276360",

           "notCollectedClientServers": [],

           "usageByLicenseAndProduct": [

             {

               "licenseId": "11112222-1111-2222-3333-111122233333",

               "productName": "backupAndReplication",

               "licenseEdition": "Standard",

               "usedPoints": 5.0,

               "workloadUsage": [

                 {

                   "workloadType": "vbR_VM",

                   "initialCount": 2,

                   "reportedCount": 1,

                   "newCount": 0,

                   "weight": 5.0,

                   "usedPoints": 5.0

                 }

               ]

             },

             {

               "licenseId": "11112222-1111-2222-3333-111122233333",

               "productName": "vspc",

               "licenseEdition": "EnterprisePlus",

               "usedPoints": 0.0,

               "workloadUsage": [

                 {

                   "workloadType": "vaC_Workstation_Agent",

                   "initialCount": 0,

                   "reportedCount": 0,

                   "newCount": 1,

                   "weight": 4.0,

                   "usedPoints": 0.0

                 },

                 {

                   "workloadType": "vaC_Server_Agent",

                   "initialCount": 0,

                   "reportedCount": 0,

                   "newCount": 1,

                   "weight": 11.0,

                   "usedPoints": 0.0

                 }

               ]

             }

           ]

         }

       ],

       "appendices": []

     }

    ]