This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Failover Plans

In this article

    You can get a representation of a collection of failover plans configured by a company.

    Request

    To get a representation of all company failover plans, send the GET HTTPS request to the URL of the /failoverPlans collection.

    HTTPS Request

    GET https://<Availability-Console>:1281/v2/failoverPlans

    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 collection.

    Example Get Failover Plans

    The following request returns a representation of all failover plans configured by companies.

    Request:

    GET https://localhost:1281/v2/failoverPlans

     

    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"

         }

       }

     },

     {

       "id": "9db53527-76ae-4c7e-b998-edc8fbd5fed8",

       "name": "Sandbox Failover to Cloud",

       "serverName": "vac",

       "vmCount": 1,

       "type": "Cloud",

       "state": "Ready",

       "actions": [

         "start",

         "undo"

       ],

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/failoverPlans/9db53527-76ae-4c7e-b998-edc8fbd5fed8"

         },

         "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.