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

POST Method

The POST HTTPS method in Veeam Backup for Microsoft Office 365 RESTful API can be used in two different ways:

Post a New Resource

All requests creating a new resource require a request body. The body must contain properties for this resource. For example, to create a new backup repository, send a request of the following type:

Request:

POST https://<Backup-Office365>:4443/v1/BackupRepositories

 

Request Header:

Authorization: Bearer <Access-Token>

 

Request Body:

 

{

  "name": "ABC Support",

  "proxyId": "5a905bb5-9071-433c-9d2f-f805d4da2cf4",

  "retentionPeriodType": "Daily",

  "dailyRetentionPeriod": 14,

  "retentionFrequencyType": "Daily",

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

  "description": "",

  "dailyType": "Weekends",

  "path": "C:\\ABC_support",

  "attachUsedRepository": "true"

}

Post an Action

All requests performing an operation require a request body. The body must contain action properties. For example, to export backed up mailbox items to a PST file, send a request of the following type:

Request:

POST https://<Backup-Office365>/v1/RestoreSessions/{ID}/Organization/Mailboxes/{ID}/Items/Action

 

Request Header:

Authorization: Bearer <Access-Token>

 

Request Body:

 

{

 "exporttoPst":

 {"contentKeywords": "support"

 }

}

In case of success, the POST HTTPS method returns the HTTP response code 201 Created or 200 OK. Depending on the resource, the method can return a response to a corresponding action in the response body.

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference