Help Center
Choose product document...
Veeam Availability Orchestrator 1.0
RESTful API Reference

Get VAO Site Data

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

Request

To retrieve a representation of a VAO site, send the GET HTTPS request to the URL of the /Sites/{id} resource:

HTTP Request

GET https://<hostname>:<port>/v1/Sites/{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 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, VAO returns a representation of the /Sites/{id} resource.

Example Get VAO Site Data

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

Request:

GET https://uwin2012r2.n.local:9899/v1/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": "Production",

   "_links": {

     "self": {

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

     },

     "failoverPlans": "/v1/sites/76da0d75-75b0-4675-8296-0142ad0d52a7/failoverPlans"

   }

 }

]

Veeam Large Logo

User Guide

Deployment Guide

Categorization Guide

RESTful API Reference