Get Available Clients

In this article

    You can get a representation of a collection of all companies in service provider infrastructure that are available for management to a reseller with the specified ID.

    Request

    To get available clients, send the GET HTTPS request to the URL of the /resellers/{ID}/availableClients collection.

    HTTP Request

    GET https://<hostname>:1281/v2/resellers/{ID}/availableClients

    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 /resellers/{ID}/availableClients collection.

    Example Get Available Clients

    The following request returns all site scopes configured for a reseller with ID 2.

    Request:

    GET https://localhost:1281/v2/resellers/2/availableClients

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "tenantId": 2,

       "tenantName": "Omega",

       "workstationAgentsCount": 10,

       "serverAgentsCount": 10,

       "cloudBackupResourceUsage": 20000,

       "cloudBackupResourceQuota": 20000,

       "hasCloudBackupResources": true,

       "hasCloudReplicationResources": true,

       "hasCloudVcdResources": false,

       "cloudConnectAgentUid": "d68b878a-0633-4dfa-a94d-82d35dda936d",

       "_links": [

         {

           "rel": "describes",

           "method": "",

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

         }

       ]

     },

     {

       "tenantId": 5,

       "tenantName": "Psi",

       "workstationAgentsCount": 5,

       "serverAgentsCount": 5,

       "cloudBackupResourceUsage": 10000,

       "cloudBackupResourceQuota": 10000,

       "hasCloudBackupResources": true,

       "hasCloudReplicationResources": true,

       "hasCloudVcdResources": false,

       "cloudConnectAgentUid": "d68b878a-0633-4dfa-a94d-82d35dda936d",

       "_links": [

         {

           "rel": "describes",

           "method": "",

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

         }

       ]

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.