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

(GET) /JobSessions

Returns a resource representation of а collection of all sessions created for backup jobs.

Request

To get a list of all job sessions, send the GET HTTPS request to the URL of the /JobSessions resource.

HTTPS Request

GET https://<Backup-Office365>:4443/v2/JobSessions

Request Headers

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 /JobSessions collection resource.

Example

The following request returns an entity representation of all job sessions in Veeam Backup for Microsoft Office 365.

Request:

GET https://support.east.local:4443/v2/JobSessions

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

[

 {

   "id": "be376069-2865-4156-a9bc-825cef7d687e",

   "creationTime": "2017-04-04T00:07:21.3994255-07:00",

   "endTime": "2017-04-04T00:11:36.9857918-07:00",

   "progress": 3,

   "status": "Success",

   "statistics": {

     "processingRate": "99.1 KB/s (6 items/s)",

     "readRate": "1.0 MB/s",

     "writeRate": "20.8 MB/s",

     "transferredData": "12345 B",

     "processedObjects": 1655,

     "bottleneck": "Source"

   },

   "_links": {

     "self": {

       "href": "https://support.east.local:4443/v2/JobSessions/be376069-2865-4156-a9bc-825cef7d687e"

     },

     "log": {

       "href": "https://support.east.local:4443/v2/JobSessions/be376069-2865-4156-a9bc-825cef7d687e/log"

     },

     "job": {

       "href": "https://support.east.local:4443/v2/Jobs/00b96531-1a68-4c90-a398-91141ffedb3b"

     }

   }

 },

...]

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference