You can get a representation of a company or department with the specified ID.
Request
To get a resource representation of a company or department, send the GET HTTPS request to the URL of its resource.
HTTP Request
GET https://<Availability-Console>:1281/v2/Tenants/{ID} |
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/{ID} resource.
Example
The following example returns an entity representation of a company with ID 2.
Request: GET https://localhost:1281/v2/Tenants/2
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" } } } |