Help Center
Choose product document...
Veeam Availability Console 2.0
RESTful API Reference

Get a Failover Plan

You can get a representation of a failover plan with the specified ID.

Request

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

HTTP Request

GET https://<Availability-Console>:1281/v2/FailoverPlans/{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, Veeam Availability Console returns a representation of the /FailoverPlans/{ID} resource.

Example Get a Failover Plan

The following example returns an entity representation of a failover plan with ID 7c3e7a76-d630-441e-aedf-1a715f21c181.

Request:

GET https://localhost:1281/v2/FailoverPlans/7c3e7a76-d630-441e-aedf-1a715f21c181

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

 {

   "id": "7c3e7a76-d630-441e-aedf-1a715f21c181",

   "name": "Infrastructure Servers to Cloud",

   "serverName": "backup02",

   "vmCount": 3,

   "type": "Local",

   "state": "Ready",

   "actions": [

     "start",

     "undo"

   ],

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/failoverPlans/7c3e7a76-d630-441e-aedf-1a715f21c181"

     },

     "tenants": {

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

     },

     "locations": {

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

     }

   }

 }

Veeam Large Logo

Deployment Guide

Migration Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Evaluator's Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Evaluator's Guide for Enterprises

RESTful API Reference