Get a Company Subscription Plan
You can get a resource representation of a current subscription plan of a company with the specified ID.
Request
To get a resource representation of a subscription plan, send the GET HTTPS request to the URL of its resource.
HTTP Request
GET https://<Availability-Console>:1281/v2/tenants/{ID}/subscriptionPlan |
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}/subscriptionPlan resource.
Example
The following example returns a representation of a subscription plan of a company with ID 1.
Request: GET https://localhost:1281/v2/tenants/1/subscriptionPlan
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "id": 0, "name": "Gold subscription plan", "description": "Subscription plan for premium clients", "currency": "USD", "taxType": "VAT", "vatPercent": 9, "discountPercent": 10, "managedServices": 20, "managedVms": 0, "managedWorkstations": 0, "managedServers": 0, "managedCloudAgents": 3, "storedVMBackups": 0, "storedServerBackups": 0, "storedWorkstationBackups": 0, "cloudRepositoryValue": 15, "cloudRepositoryValueUnits": "TB", "freeSpaceEnabled": true, "freeSpaceValue": 20, "freeSpaceValueUnits": "GB", "backupDataTransferValue": 0, "backupDataTransferValueUnits": "GB", "replicationDataTransferValue": 0, "replicationDataTransferValueUnits": "GB", "replicatedVMs": 10, "cloudStorageQuota": 0, "cloudStorageQuotaUnits": "TB", "freeCloudStorageEnabled": false, "freeCloudStorageValue": 0, "freeCloudStorageValueUnits": "B", "freeComputeResourcesEnabled": false, "freeComputeResourcesValue": 0, "freeComputeResourcesValueUnits": "hour", "computeResourcesQuota": 5, "computeResourcesQuotaUnits": "Hour", "_links": { "self": { "href": "https://vac.tech.local:1281/v2/subscriptionPlans/0" } } } |