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

(GET) /Jobs/{ID}

Returns a resource representation of a backup job with a specified ID.

Request

To get a resource representation of a backup job send the GET HTTPS request to the URL of the /Jobs/{ID} resource:

HTTPS Request

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

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 an entity representation of the /Jobs/{ID} resource.

Example

Request:

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

 

Request Header:

Content-Type: application/json

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

{

 "id": "3c407448-4d05-432f-a651-144827bed5ce",

 "name": "test_job",

 "description": "",

 "lastRun": "2018-05-30T12:19:14.7927466Z",

 "nextRun": "2018-06-02T02:00:00Z",

 "isEnabled": true,

 "backupType": "SelectedItems",

 "lastStatus": "Success",

 "schedulePolicy": {

   "backupWindowEnabled": true,

   "backupWindowSettings": {

     "backupWindow": [

       true,

       true,

       true,

       ...

     ],

     "minuteOffset": 0

   },

   "type": "Daily",

   "dailyType": "Friday",

   "dailyTime": "19:00:00",

   "retryEnabled": false

 },

 "_links": {

   "self": {

     "href": "https://support.east.local:4443/v2/jobs/3c407448-4d05-432f-a651-144827bed5ce"

   },

   "organization": {

     "href": "https://support.east.local:4443/v2/organizations/63e92db4-8c0a-46df-ba92-15f46011c4a5"

   },

   "backupRepository": {

     "href": "https://support.east.local:4443/v2/backuprepositories/ce19de31-329d-4f0f-b85e-4424cc2e6821"

   },

   "jobsessions": {

     "href": "https://support.east.local:4443/v2/jobs/3c407448-4d05-432f-a651-144827bed5ce/jobsessions"

   },

   "excludedItems": {

     "href": "https://support.east.local:4443/v2/jobs/3c407448-4d05-432f-a651-144827bed5ce/excludedItems"

   },

   "selectedItems": {

     "href": "https://support.east.local:4443/v2/jobs/3c407448-4d05-432f-a651-144827bed5ce/selectedItems"

   }

 }

}

 

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference