POST Method
The POST HTTPS method in Veeam Backup for Microsoft Office 365 REST API can be used in two different ways:
Request: POST https://<hostname>:4443/v5/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 } |
Request: POST https://hostname/v5/RestoreSessions/{id}/Organization/Mailboxes/{id}/items/action
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "exporttoPst": { "contentKeywords": "support" } } |