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

Get Restore Plan Data

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

Request

To retrieve a representation of a restore plan, send the HTTP GET request to the URL of the /RestorePlans/{id} resource.

HTTP Request

GET https://<hostname>:<port>/v2/RestorePlans/{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 /RestorePlans/{id} resource.

Example Get Restore Plan Data

The following example returns an entity representation of a restore plan with the ID 3300bcf2-af35-46f9-b309-c68cfbb9b67b.

Request:

GET https://uwin2012r2.n.local:9899/v2/RestorePlans/3300bcf2-af35-46f9-b309-c68cfbb9b67b

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 Success

 

Response Body:

[

 {

   "name": "customRestore",

   "id": "3300bcf2-af35-46f9-b309-c68cfbb9b67b",

   "contactName": "John Smith",

   "contactEmail": "john.smith@veeam.com",

   "contactTel": "654367615646",

   "description": "Custom restore plan 1",

   "planState": "Disabled",

   "planStateDetails": "Passed check",

   "planInUse": false,

   "scheduleEnabled": false,

   "scheduleType": null,

   "scheduleAfter": null,

   "scheduleAfterPlanName": null,

   "scheduleTime": null,

   "siteScopeId": "69069519-4b36-4477-a226-a23d6cb84895",

   "targetRPO": 59940,

   "targetRTO": 60,

   "_links": {

     "self": {

       "href": "/v2/RestorePlans/3300bcf2-af35-46f9-b309-c68cfbb9b67b"

     }

   }

 }

]

Veeam Large Logo

User Guide

Deployment Guide

Group Management Guide

REST API Reference