Help Center
Choose product document...
Veeam Availability Orchestrator 2.0
REST API Reference

Get VAO Server Data

You can get a representation of the VAO server with the specified ID.

Request

To retrieve a representation of the VAO server, send the HTTP GET request to the URL of the /Sites/{id} resource.

HTTP Request

GET https://<hostname>:<port>/v2/Sites/{id}

Request Headers

The request contains the following headers.

Header

Required/Optional

Value

Description

Authorization

required

Bearer <Access-Token>

Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.

Accept

optional

  • application/xml
  • text/json
  • application/json

Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type.

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

Value

Description

Content-Length

integer

Identifies the length of the response body message, in bytes.

Content-Type

  • application/xml
  • text/json
  • application/json

Identifies the media type of the response body message.

Response Body

In the response body, VAO returns a representation of the /Sites/{id} resource.

Example Get VAO Server Data

The following example returns an entity representation of the VAO server with the ID 76da0d75-75b0-4675-8296-0142ad0d52a7.

Request:

GET https://uwin2012r2.n.local:9899/v2/Sites/76da0d75-75b0-4675-8296-0142ad0d52a7

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 Success

 

Response Body:

[

 {

   "name": "Ontario",

   "id": "76da0d75-75b0-4675-8296-0142ad0d52a7",

   "serverName": "uwin2012r2LT",

   "contactName": "Wendy May",

   "contactEmail": "wendy.may@veeam.com",

   "contactTel": "18003334455",

   "description": "Placed on the uwin2012r2lt",

   "type": "Dr",

   "_links": {

     "self": {

       "href": "/v2/Sites/76da0d75-75b0-4675-8296-0142ad0d52a7"

     },

   }

 }

]

Veeam Large Logo

User Guide

Deployment Guide

Group Management Guide

REST API Reference