Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
RESTful API Reference

(GET) /RestoreSessions/{ID}/Events

Returns a resource representation of restore session events.

Request

To get a resource representation of restore session events, send the GET HTTPS request to the URL of the /RestoreSessions/{ID}/Events resource:

HTTPS Request

GET https://<Backup-Office365>:4443/v2/RestoreSessions/{ID}/Events

Request Headers

The request contains the following headers:

Header

Required

Description

Content-Type: application/json

true

Specifies the type of the content for your request.

Authorization: Bearer <Access-Token>

true

The request header must contain the authorization token for the current logon session.

Request Body

None.

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS 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, the server returns a representation of the /RestoreSessions/{ID}/Events resource.

Example

Request:

GET https://support.east.local:4443/v2/RestoreSessions/{ID}/Events

 

Request Header:

Content-Type: application/json

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

 "offset": 0,

 "limit": 30,

 "results": [

  {

   "id": "f346f90e-a02f-4747-b30e-ef34f980c670",

   "type": "None",

   "status": "Success",

   "startTime": "2017-05-30T13:53:45.0679711+03:00",

   "endTime": "2017-05-30T13:53:45.0679711+03:00",

   "duration": "00:00:00",

   "title": "Restore session started",

   "message": "Restore session started",

   "order": 0,

   "_links": {

    "self": {

     "href": "https://support.north.local:4443/v2/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events/f346f90e-a02f-4747-b30e-ef34f980c670"

    },

    "restoreSession": {

     "href": "https://support.north.local:4443/v2/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4"

    }

   }

  },

  {

   "id": "755d207e-ebd6-49da-9943-3b9e5eb31dee",

   "type": "Save",

   "status": "Success",

   "startTime": "2017-05-30T13:57:28.0422679+03:00",

   "endTime": "2017-05-30T13:57:28.0869607+03:00",

   "duration": "00:00:00.0446928",

   "title": "Item is successfully restored.",

   "message": "Item Image.jpg was saved successfully (type: Item; source: /personal/orgUser/Documents/Image.jpg; target: C:\\Users\\user\\AppData\\Local\\Temp\\REST_SHAREPOINT_EXPORT_224b14b4-95eb-4d6c-b959-6ffc688b7576\\7077ffb8-4f64-40d7-8fcc-32f13999b727)",

   "order": 1,

   "_links": {

    "self": {

     "href": "https://support.north.local:4443/v2/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events/755d207e-ebd6-49da-9943-3b9e5eb31dee"

    },

    "restoreSession": {

     "href": "https://support.north.local:4443/v2/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4"

    }

   }

  }

 ],

 "_links": {

  "self": {

   "href": "https://support.north.local:4443/v2/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events?offset=0&limit=30"

  }

 }

}

 

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference