Help Center
Choose product document...
Veeam Availability Console 2.0 [Archived]
RESTful API Reference

Get Companies/Departments

You can get a representation of a collection of all companies or departments in Veeam Availability Console.

Request

To get all companies or departments managed in Veeam Availability Console, send the GET HTTPS request to the URL of the /Tenants collection.

HTTP Request

GET https://<Availability-Console>:1281/v2/Tenants

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 /Tenants collection.

Example Get Companies/Departments

The following example returns all companies managed in Veeam Availability Console.

Request:

GET https://localhost:1281/v2/Tenants

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "id": 2,

   "name": "Alpha",

   "taxId": "",

   "telephone": "",

   "country": "",

   "companyId": null,

   "notes": "",

   "maxConcurrentTasks": 1,

   "bandwidthThrottlingEnabled": false,

   "allowedBandwidth": 1,

   "allowedBandwidthUnits": "MB/s",

   "vMsBackedUp": 15,

   "vMsReplicated": 6,

   "vMsBackedUpToCloud": 4,

   "managedPhysicalWorkstations": 25,

   "managedCloudWorkstations": 10,

   "managedPhysicalServers": 6,

   "managedCloudServers": 14,

   "expirationEnabled": false,

   "expirationDate": null,

   "actions": [

     "enable",

     "disable",

     "sendWelcomeLetter",

     "exportToCSV",

     "exportToXML"

   ],

   "_links": {

     "self": {

       "href": "https://vac:1281/v2/tenants/2"

     },

     "backupResources": [

       {

         "href": "https://vac:1281/v2/tenants/2/backupResources/1"

       }

     ],

     "locations": [

       {

         "href": "https://vac:1281/v2/tenants/2/locations/2"

       }

     ],

     "replicaResources": [

       {

         "href": "https://vac:1281/v2/tenants/2/replicaresources/57266097-a226-4930-9594-1fc3e92c66e3"

       }

     ],

     "users": [

       {

         "href": "https://vac:1281/v2/users/2"

       }

     ],

     "subscriptionPlans": {

       "href": "https://vac:1281/v2/subscriptionPlans/0"

     }

   }

 },

 {

   "id": 3,

   "name": "Delta",

   "taxId": "",

   "telephone": "",

   "country": "",

   "companyId": null,

   "notes": "",

   "maxConcurrentTasks": 1,

   "bandwidthThrottlingEnabled": true,

   "allowedBandwidth": 512,

   "allowedBandwidthUnits": "KB/s",

   "vMsBackedUp": 1,

   "vMsReplicated": 4,

   "vMsBackedUpToCloud": 8,

   "managedPhysicalWorkstations": 2,

   "managedCloudWorkstations": 16,

   "managedPhysicalServers": 8,

   "managedCloudServers": 6,

   "expirationEnabled": false,

   "expirationDate": null,

   "actions": [

     "enable",

     "disable",

     "sendWelcomeLetter",

     "exportToCSV",

     "exportToXML"

   ],

   "_links": {

     "self": {

       "href": "https://vac:1281/v2/tenants/3"

     },

     "backupResources": [

       {

         "href": "https://vac:1281/v2/tenants/3/backupResources/2"

       }

     ],

     "locations": [

       {

         "href": "https://vac:1281/v2/tenants/3/locations/3"

       }

     ],

     "replicaResources": [

       {

         "href": "https://vac:1281/v2/tenants/3/replicaresources/0f6a07ae-bfc3-4efd-8e20-2f238e3bacc7"

       }

     ],

     "users": [

       {

         "href": "https://vac:1281/v2/users/3"

       }

     ],

     "subscriptionPlans": {

       "href": "https://vac:1281/v2/subscriptionPlans/0"

     }

   }

 }

]

Veeam Large Logo

Deployment Guide

Migration Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Evaluator's Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Evaluator's Guide for Enterprises

RESTful API Reference