Get a Computer

In this article

    You can get a representation of a discovered computer with the specified ID.

    Request

    To get a representation of a discovered computer, send the GET HTTPS request to the URL of its resource.

    HTTPS Request

    GET https://<hostname>:1281/v2/computers/{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 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 /computers/{ID} resource.

    Example Get a Computer

    The following request returns a representation of a discovered computer with ID 1c201142-c8db-2861-a128-818cfccb2aee.

    Request:

    GET https://localhost:1281/v2/computers/1c201142-c8db-2861-a128-818cfccb2aee

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

     {

       "id": "1c201142-c8db-2861-a128-818cfccb2aee",

       "hostName": "windows03",

       "type": "Server",

       "platformType": "Vmware",

       "guestOs": "Microsoft Windows Server 2012 R2 Standard",

       "applicationInstalled": "Microsoft SQL Server",

       "connectionStatus": "Online",

       "connectionAccount": "Delta",

       "lastHeartbeat": "2017-10-17T10:39:42.9197789Z",

       "progress": 0,

       "ipAddress": "172.17.53.30",

       "macAddress": "00:50:56:91:7E:5F",

       "discoveryTime": "2017-10-16T09:47:29.9469644Z",

       "backupAgentInstalled": true,

       "installationType": "Full",

       "managementMode": "ManagedByVAC",

       "vacAgentId": "8a22a52c-7580-4cfe-ae64-a07543c254a3",

       "vacAgentStatus": "Installed",

       "vacAgentVersion": "Up-to-date (3.0.0.2510)",

       "vacAgentRole": "Master",

       "vawAgentStatus": "Healthy",

       "vawAgentVersion": "3.0.0.748",

       "backupSize": 491.09,

       "backupSizeUnits": "MB",

       "activationDate": "2017-10-12T08:18:59.6803059Z",

       "licenceType": "Activated",

       "nextRun": "2017-10-18T00:30:00+03:00",

       "scheduleType": "Daily",

       "lastModified": "2017-10-13T05:15:48.1829432+03:00",

       "isEnabled": true,

       "modifiedBy": "VAC\\administrator",

       "duration": 350,

       "durationUnits": "s",

       "destinationType": "C:\\VeeamBackup\\",

       "avgDuration": 10,

       "avgDurationUnits": "s",

       "restorePointsCount": 14,

       "lastRun": "2017-10-17T07:30:00.75Z",

       "destinationFreeSpace": 99.38,

       "destinationFreeSpaceUnits": "GB",

       "status": "Success",

       "uiMode": "Full",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/computers/1c201142-c8db-2861-a128-818cfccb2aee"

         },

         "backupPolicies": {

           "href": "https://vac.tech.local:1281/v2/backupPolicies/0"

         },

         "tenants": {

           "href": "https://vac.tech.local:1281/v2/tenants/2"

         }

       }

     }

    I want to report a typo

    There is a misspelling right here:

     

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