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

(GET) /Jobs

Returns a resource representation of а collection of all backup jobs managed in Veeam Backup for Microsoft Office 365.

Request

To get a list of jobs managed in Veeam Backup for Microsoft Office 365, send the GET HTTPS request to the URL of the/Jobs resource.

HTTPS Request

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

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

Example

Request:

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

 

Request Header:

Content-Type: application/json

Authorization: Bearer <Access-Token>

 

Response:

200 OK

[

 {

   "id": "e1714f5b-e51b-496b-9e46-e7bf979aa6d6",

   "name": "test_job",

   "description": "",

   "lastRun": "2017-06-06T15:18:22.6664413Z",

   "nextRun": "2017-06-13T15:00:00Z",

   "isEnabled": true,

   "backupType": "SelectedItems",

   "lastStatus": "Success",

   "schedulePolicy": {

     "backupWindowEnabled": true,

     "backupWindowSettings": {

       "backupWindow": [

         true,

         true,

         true,

          ...

       ],

       "minuteOffset": 0

     },

     "type": "Daily",

     "dailyType": "Wednesday",

     "dailyTime": "08:00:00",

     "retryEnabled": true,

     "retryNumber": 3,

     "retryWaitInterval": 10

   },

   "_links": {

     "self": {

       "href": "https://support.east.local:4443/v2/jobs/e1714f5b-e51b-496b-9e46-e7bf975aa6d6"

     },

     "organization": {

       "href": "https://support.east.local:4443/v2/organizations/ae1a5622-7fb2-49ec-b7b2-393da59fbed2"

     },

     "backupRepository": {

       "href": "https://support.east.local:4443/v2/backuprepositories/83846d9a-d468-497e-b524-ab5ec782b607"

     },

     "jobsessions": {

       "href": "https://support.east.local:4443/v2/jobs/e1714f5b-e51b-496b-9e46-e7bf379aa6d6/jobsessions"

     },

     "excludedItems": {

       "href": "https://support.east.local:4443/v2/jobs/e1714f5b-e51b-496b-9e46-e7bf979ba6d6/excludedItems"

     },

     "selectedItems": {

       "href": "https://support.east.local:4443/v2/jobs/e1714f5b-e51b-496b-9e46-e7bf949ga6d6/selectedItems"

     }

   }

 }

]

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference