Get Company Backup Servers

In this article

    You can get a representation of a collection of all backup servers owned by a company with the specified system ID.

    Request

    To get a representation of all backup servers owned by a company with the specified system ID, send the GET HTTPS request to the URL of the /tenants/{id}/backupServers collection.

    HTTPS Request

    GET https://<hostname>:1281/v2/tenants/{id}/backupServers

    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/{id}/backupServers collection.

    Example Get Company Backup Servers

    The following request returns a representation of all backup servers owned by a company with ID 2.

    Request:

    GET https://localhost:1281/v2/tenants/2/backupServers

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "id": 3,

       "name": "VBR2",

       "siteName": "AlphaSite1",

       "serverUid": "91b5e322-39e3-475a-9a26-92223a01db69",

       "agentUid": "15f4d241-9d52-4328-b44f-19c75378846e",

       "isCloudConnect": false,

       "_links": {

         "self": {

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

         },

         "backupRepositories": [

           {

             "href": "https://vac:1281/v2/backupRepositories/8"

           }

         ],

         "jobs": [

           {

             "href": "https://vac:1281/v2/jobs/1"

           }

         ]

       }

     }

    ]