- About Veeam Backup for Microsoft 365 REST API
- Overview
- Changelog
- Authorization
- Accounts
- Amazon Archiver Appliance
- Amazon S3 Object Storage Buckets and Folders
- Applications
- Audit
- Audit Email Notification Settings
- Azure Blob Object Storage Containers and Folders
- Azure Service Accounts
- getGet Azure Service Accounts
- postAdd Azure Service Account
- getGet Azure Service Account Properties by Account ID
- putEdit Azure Service Account
- delRemove Azure Service Account
- postGet Device Code
- getGet Subscriptions
- getGet Subscription by ID
- getGet Resource Groups
- getGet Resource Group by Name
- getGet Locations
- getGet Location by Name
- getGet Virtual Machine Sizes
- getGet Virtual Machine Size by Name
- getGet Virtual Networks
- getGet Virtual Network by Name
- getGet Subnets
- getGet Subnet by Name
- Backup Accounts
- Backup and Backup Copy Job Session Operations
- Backup and Backup Copy Job Sessions
- Backup Applications
- Backup Copy Jobs
- Backup Jobs
- getGet Backup Jobs
- postCreate Backup Job
- getGet Backup Job
- putEdit Backup Job Settings
- delRemove Backup Job
- getGet Backup Copy Job
- getGet Backup Job Items
- postAdd Items to Backup Job
- delRemove Backup Job Items
- getGet Backup Job Item
- putEdit Backup Job Item
- getGet Excluded Items
- postAdd Items to Exclusions
- delRemove Excluded Items
- getGet Excluded Item
- putEdit Excluded Item
- postEnable Backup Job
- postDisable Backup Job
- postStart Backup Job
- postStop Backup Job
- postCreate Restore Session
- Backup Proxy Pools
- Backup Proxy Servers
- getGet Backup Proxy Servers
- postAdd Backup Proxy Server
- getGet Backup Proxy Server
- putEdit Backup Proxy Server Settings
- postRescan Backup Proxy Server
- postEnable Maintenance Mode for Backup Proxy Server
- postDisable Maintenance Mode for Backup Proxy Server
- postRemove Backup Proxy Server
- postRescan Backup Proxy Servers
- postCheck SSH Connection
- Backup Repositories
- getGet Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository
- putEdit Backup Repository Settings
- delRemove Backup Repository
- getGet Backed-Up Organizations
- postSynchronize Cache
- postCreate Restore Session for Backup Repository by Repository ID
- postChange Owner for Backup Repository by Repository ID
- Backup Repository Change Owner Sessions
- Backup Repository Synchronization
- Configuration
- Data Protection Reports
- Data Retrieval Jobs
- Data Retrieval Session Operations
- Data Retrieval Sessions
- Encryption Passwords
- Events
- Excluded Mailbox Folders
- Global Exclusions from Retention Policy
- Group Data Backups
- Health
- Internet Proxy Server Settings
- Job Session History Settings
- License
- License Usage Report
- Licensed Users
- Mailbox Data Backups
- Mailbox Folders Restore
- Mailbox Items Restore
- getGet Mailbox Item
- getGet Mailbox Items
- postRestore Mailbox Items to Original Mailbox
- postRestore Mailbox Items to Another Mailbox
- postExport Mailbox Items
- postSave Mailbox Items
- postSend Mailbox Items to Original Mailbox
- postSend Mailbox Items to Another Mailbox
- postRestore Mailbox Item to Original Mailbox
- postRestore Mailbox Item to Another Mailbox
- postExport Mailbox Item
- postSave Mailbox Item
- postSend Mailbox Item to Original Mailbox
- postSend Mailbox Item to Another Mailbox
- postRestore Mailbox Items by Restore Operator
- Mailboxes Restore
- Management Mode
- OneDrive Data Backups
- OneDrive Documents Restore
- getGet OneDrive Documents
- getGet OneDrive Document
- getGet Previous Versions of OneDrive Document
- getGet Specific Version of OneDrive Document
- postRestore OneDrive Documents
- postCopy OneDrive Documents
- postSend OneDrive Documents
- postSave OneDrive Documents
- postRestore OneDrive Document
- postRestore Version of OneDrive Document
- postCopy OneDrive Document
- postCopy Version of OneDrive Document
- postSave OneDrive Document
- postSave Version of OneDrive Document
- postSend OneDrive Document
- postSend Version of OneDrive Document
- postRestore OneDrive Documents by Restore Operator
- OneDrive Folders Restore
- getGet OneDrive Folders
- getGet OneDrive Folder
- postRestore OneDrive Folders
- getGet Specific Version of OneDrive Folder
- postCopy OneDrive Folders
- postSave OneDrive Folders
- postSend OneDrive Folders
- getGet Previous Versions of OneDrive Folder
- postRestore OneDrive Folder
- postRestore Version of OneDrive Folder
- postCopy OneDrive Folder
- postCopy Version of OneDrive Folder
- postSave OneDrive Folder
- postSave Version of OneDrive Folder
- postSend OneDrive Folder
- postSend Version of OneDrive Folder
- postSearch for OneDrive Items in OneDrive Folder
- OneDrives of Organization User
- OneDrives Restore
- Organization Data Backups
- Organization Data Restore
- Organization Exclusions from Retention Policy
- Organization Group Members
- Organization Groups
- Organization Licensing
- Organization Sites
- Organization Teams
- Organization Users
- Organizations
- Processed Objects
- Protected Data
- Restore Operator Roles
- getGet All Restore Operator Roles
- getGet Restore Operator Role
- putEdit Restore Operator Role Settings
- delRemove Restore Operator Role
- getGet Restore Operators
- postAdd Restore Operators
- delRemove Restore Operators
- getGet Restore Operator
- getGet Objects to Manage
- postAdd Objects to Manage
- delRemove Objects to Manage
- getGet Object to Manage
- getGet Excluded Objects
- postAdd Excluded Objects
- delRemove Excluded Objects
- getGet Excluded Object
- getGet Restore Operator Roles by Organization ID
- postAdd Restore Operator Role
- Restore Points
- Restore Portal Settings
- Restore Session Events
- Restore Sessions
- S3 Compatible Object Storage Buckets and Folders
- SharePoint Attachments Restore
- SharePoint Data Backups
- SharePoint Documents Restore
- getGet SharePoint Documents
- getGet SharePoint Document
- getGet Specific Version of SharePoint Document
- getGet Previous Versions of SharePoint Document
- postRestore SharePoint Documents to Original Location
- postRestore SharePoint Documents to Another Location
- postRestore Version of SharePoint Document to Original Location
- postRestore Version of SharePoint Document to Another Location
- postRestore SharePoint Document to Original Location
- postRestore SharePoint Document to Another Location
- postSave SharePoint Documents
- postSave Version of SharePoint Document
- postSave SharePoint Document
- postSend SharePoint Documents
- postSend Version of SharePoint Document
- postSend SharePoint Document
- postRestore SharePoint Documents by Restore Operator
- SharePoint Folders Restore
- getGet SharePoint Folders
- getGet SharePoint Folder
- getGet Specific Version of SharePoint Folder
- getGet Previous Versions of SharePoint Folder
- postRestore SharePoint Folders to Original Location
- postRestore SharePoint Folders to Another Location
- postRestore SharePoint Folder to Original Location
- postRestore SharePoint Folder to Another Location
- postRestore Version of SharePoint Folder to Original Location
- postRestore Version of SharePoint Folder to Another Location
- postSave SharePoint Folders
- postSave SharePoint Folder
- postSave Version of SharePoint Folder
- postSend SharePoint Folders
- postSend SharePoint Folder
- postSend Version of SharePoint Folder
- postSearch for SharePoint Documents in SharePoint Folder
- SharePoint Items Restore
- getGet SharePoint Items
- getGet SharePoint Item
- getGet Specific Version of SharePoint Item
- getGet Previous Versions of SharePoint Item
- postRestore SharePoint Items to Original Location
- postRestore SharePoint Items to Another Location
- postRestore SharePoint Item to Original Location
- postRestore Version of SharePoint Item to Original Location
- postRestore SharePoint Item to Another Location
- postRestore Version of SharePoint Item to Another Location
- postRestore SharePoint Items by Restore Operator
- SharePoint Libraries Restore
- SharePoint Lists Restore
- SharePoint Sites Restore
- Synchronization of Organization Objects
- Team Data Backups
- Teams Channels Restore
- Teams Files Restore
- Teams Posts Restore
- Teams Restore
- Teams Tabs Restore
- User Data Backups
- Users Logged In to Restore Portal
- Veeam Backup for Microsoft 365 Email Notification Settings
- Veeam Explorer for Microsoft Exchange Email Settings
- Veeam Explorer for Microsoft OneDrive for Business Email Settings
- Veeam Explorer for Microsoft SharePoint Email Settings
- Veeam Explorer for Microsoft Teams Email Settings
- Version and Installation ID
The /Jobs resource collection represents backup jobs created for Microsoft organizations and allows you to create and manage backup jobs.
Get Backup Jobs
Returns a collection of configured backup jobs.
query Parameters
| organizationId | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
| repositoryId | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. |
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "description": "string",
- "backupType": "EntireOrganization",
- "schedulePolicy": {
- "scheduleEnabled": true,
- "backupWindowEnabled": true,
- "backupWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyWindowEnabled": true,
- "periodicallyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyOffsetMinutes": 0,
- "type": "Periodically",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "retryEnabled": true,
- "retryNumber": 0,
- "retryWaitInterval": 0
}, - "id": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "lastRun": "2019-08-24T14:15:22Z",
- "nextRun": "2019-08-24T14:15:22Z",
- "lastBackup": "2019-08-24T14:15:22Z",
- "isEnabled": true,
- "lastStatus": "Stopped",
- "totalObjects": 0,
- "processedObjects": 0,
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Create Backup Job
Creates a backup job for an organization with the specified ID.
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| repositoryId required | string <uuid> Backup repository ID. |
| organizationId required | string <uuid> ID of the Microsoft 365 organization. |
| backupType required | string Type of the backup job. |
| description | string Description of the backup job. |
| runNow | boolean or null Defines whether the job will run right after it is created. |
Array of objects (RESTJobItemComposed) Array of objects that you want to back up. | |
Array of objects (RESTJobItemComposed) Array of objects that you want to exclude from a backup job scope. | |
object (RESTJobSchedulePolicy) | |
| name | string Name of the backup job. |
| isEnabled | boolean or null Defines whether the backup job is enabled. |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "description": "string",
- "backupType": "EntireOrganization",
- "runNow": true,
- "selectedItems": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "excludedItems": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "schedulePolicy": {
- "scheduleEnabled": true,
- "backupWindowEnabled": true,
- "backupWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyWindowEnabled": true,
- "periodicallyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyOffsetMinutes": 0,
- "type": "Periodically",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "retryEnabled": true,
- "retryNumber": 0,
- "retryWaitInterval": 0
}, - "organizationId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "isEnabled": true
}- 201
- default
{- "description": "string",
- "backupType": "EntireOrganization",
- "schedulePolicy": {
- "scheduleEnabled": true,
- "backupWindowEnabled": true,
- "backupWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyWindowEnabled": true,
- "periodicallyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyOffsetMinutes": 0,
- "type": "Periodically",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "retryEnabled": true,
- "retryNumber": 0,
- "retryWaitInterval": 0
}, - "id": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "lastRun": "2019-08-24T14:15:22Z",
- "nextRun": "2019-08-24T14:15:22Z",
- "lastBackup": "2019-08-24T14:15:22Z",
- "isEnabled": true,
- "lastStatus": "Stopped",
- "totalObjects": 0,
- "processedObjects": 0,
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Backup Job
Returns a resource representation of a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "description": "string",
- "backupType": "EntireOrganization",
- "schedulePolicy": {
- "scheduleEnabled": true,
- "backupWindowEnabled": true,
- "backupWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyWindowEnabled": true,
- "periodicallyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyOffsetMinutes": 0,
- "type": "Periodically",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "retryEnabled": true,
- "retryNumber": 0,
- "retryWaitInterval": 0
}, - "id": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "lastRun": "2019-08-24T14:15:22Z",
- "nextRun": "2019-08-24T14:15:22Z",
- "lastBackup": "2019-08-24T14:15:22Z",
- "isEnabled": true,
- "lastStatus": "Stopped",
- "totalObjects": 0,
- "processedObjects": 0,
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Edit Backup Job Settings
Modifies settings of a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| description | string or null Description of the backup job. |
| backupType | string or null Type of the backup job. |
| runNow | boolean or null Defines whether the job will run right after it is created. |
Array of objects or null (RESTJobItemComposed) Array of objects that you want to back up. | |
Array of objects or null (RESTJobItemComposed) Array of objects that you want to exclude from a backup job scope. | |
object (RESTJobSchedulePolicy) | |
| repositoryId | string or null <uuid> Backup repository ID. |
| name | string or null Name of the backup job. |
| isEnabled | boolean or null Defines whether the backup job is enabled. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "description": "string",
- "backupType": "EntireOrganization",
- "runNow": true,
- "selectedItems": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "excludedItems": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "schedulePolicy": {
- "scheduleEnabled": true,
- "backupWindowEnabled": true,
- "backupWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyWindowEnabled": true,
- "periodicallyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}, - "periodicallyOffsetMinutes": 0,
- "type": "Periodically",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "retryEnabled": true,
- "retryNumber": 0,
- "retryWaitInterval": 0
}, - "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "isEnabled": true
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Backup Job
Removes a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Backup Copy Job
Returns a resource representation of a backup copy job created for the backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "backupJobId": "00000000-0000-0000-0000-000000000000",
- "schedulePolicy": {
- "type": "Immediate",
- "periodicallyEvery": "Minutes5",
- "dailyType": "Everyday",
- "dailyTime": "string",
- "backupCopyWindowEnabled": true,
- "backupCopyWindowSettings": {
- "backupWindow": [
- true
], - "minuteOffset": 0
}
}, - "id": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "lastRun": "2019-08-24T14:15:22Z",
- "nextRun": "2019-08-24T14:15:22Z",
- "lastBackup": "2019-08-24T14:15:22Z",
- "isEnabled": true,
- "lastStatus": "Stopped",
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Backup Job Items
Returns a resource representation of items added to a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Add Items to Backup Job
Adds items to the processing list of a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| type | string (RESTJobBackupItemType) Type of the backup item. |
| folders | Array of strings Array of OneDrive folders included in/excluded from the backup job. Note: This property applies to all OneDrives in an organization. Only specified folders will be processed for each OneDrive. |
| id | string or null Backup item ID. Note: This complex ID comprises the combination of the unchangeable identificator of an object type in Veeam Backup for Microsoft 365 and ID of a particular object. Unchangeable identificators have different values depending on an object type. You can use the following values to recognize objects of a particular type in the response:
|
| mailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| oneDrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| archiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| sites | boolean or null Defines whether this backup job will include/exclude the Sites processing option. |
| teams | boolean or null Defines whether this backup job will include/exclude the Teams processing option. |
| teamsChats | boolean or null Defines whether this job will back up team chats. |
object (RESTJobSite) | |
object (RESTTeam) | |
object (RESTUser) | |
| personalSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
object (RESTGroup) | |
| members | boolean or null Defines whether this backup job will include/exclude the Members processing option. |
| memberMailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| memberArchiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| memberOnedrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| memberSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
| groupSite | boolean or null Defines whether this job will back up a group site. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Backup Job Items
Removes specified backup items from a backup job with the specified ID.
Note: You you can specify the backup item IDs either in query or in the request body.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| ids | string Specifies IDs of the items that you want to remove from the backup job processing list. For more information on how to get such IDs, see Get Backup Job Items. To specify multiple items, use comma. |
Request Body schema: application/json
Specifies an array of IDs of the items that you want to remove from the backup job processing list. For more information on how to get such IDs, see Get Backup Job Items.
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- "string"
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Backup Job Item
Returns a resource representation of a backup item with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
| itemId required | string Specifies the identification number of the item in the backup file. For more information on how to get this parameter, see Get Backup Job Items. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}Edit Backup Job Item
Modifies a backup item with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
| itemId required | string Specifies the identification number of the item in the backup file. For more information on how to get this parameter, see Get Backup Job Items. |
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| type | string (RESTJobBackupItemType) Type of the backup item. |
| folders | Array of strings Array of OneDrive folders included in/excluded from the backup job. Note: This property applies to all OneDrives in an organization. Only specified folders will be processed for each OneDrive. |
| id | string or null Backup item ID. Note: This complex ID comprises the combination of the unchangeable identificator of an object type in Veeam Backup for Microsoft 365 and ID of a particular object. Unchangeable identificators have different values depending on an object type. You can use the following values to recognize objects of a particular type in the response:
|
| mailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| oneDrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| archiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| sites | boolean or null Defines whether this backup job will include/exclude the Sites processing option. |
| teams | boolean or null Defines whether this backup job will include/exclude the Teams processing option. |
| teamsChats | boolean or null Defines whether this job will back up team chats. |
object (RESTJobSite) | |
object (RESTTeam) | |
object (RESTUser) | |
| personalSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
object (RESTGroup) | |
| members | boolean or null Defines whether this backup job will include/exclude the Members processing option. |
| memberMailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| memberArchiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| memberOnedrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| memberSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
| groupSite | boolean or null Defines whether this job will back up a group site. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Excluded Items
Returns a resource representation of items excluded from a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Add Items to Exclusions
Excludes items from a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| type | string (RESTJobBackupItemType) Type of the backup item. |
| folders | Array of strings Array of OneDrive folders included in/excluded from the backup job. Note: This property applies to all OneDrives in an organization. Only specified folders will be processed for each OneDrive. |
| id | string or null Backup item ID. Note: This complex ID comprises the combination of the unchangeable identificator of an object type in Veeam Backup for Microsoft 365 and ID of a particular object. Unchangeable identificators have different values depending on an object type. You can use the following values to recognize objects of a particular type in the response:
|
| mailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| oneDrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| archiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| sites | boolean or null Defines whether this backup job will include/exclude the Sites processing option. |
| teams | boolean or null Defines whether this backup job will include/exclude the Teams processing option. |
| teamsChats | boolean or null Defines whether this job will back up team chats. |
object (RESTJobSite) | |
object (RESTTeam) | |
object (RESTUser) | |
| personalSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
object (RESTGroup) | |
| members | boolean or null Defines whether this backup job will include/exclude the Members processing option. |
| memberMailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| memberArchiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| memberOnedrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| memberSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
| groupSite | boolean or null Defines whether this job will back up a group site. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- {
- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Excluded Items
Removes specified items from items excluded from a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
query Parameters
| ids required | string Specifies IDs of the items that you want to remove from the list of exclusions. For more information on how to get such IDs, see Get Excluded Items. To specify multiple items, use comma. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Excluded Item
Returns a resource representation of an excluded item with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
| itemId required | string Specifies the identification number of the item in the backup file. For more information on how to get this parameter, see Get Excluded Items. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}Edit Excluded Item
Modifies an excluded item with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
| itemId required | string Specifies the identification number of the item in the backup file. For more information on how to get this parameter, see Get Excluded Items. |
query Parameters
| skipItemUpdate | boolean Defines whether to ignore updates for properties of the objects that you want to back up or exclude from a backup job scope. |
Request Body schema: application/jsonrequired
| type | string (RESTJobBackupItemType) Type of the backup item. |
| folders | Array of strings Array of OneDrive folders included in/excluded from the backup job. Note: This property applies to all OneDrives in an organization. Only specified folders will be processed for each OneDrive. |
| id | string or null Backup item ID. Note: This complex ID comprises the combination of the unchangeable identificator of an object type in Veeam Backup for Microsoft 365 and ID of a particular object. Unchangeable identificators have different values depending on an object type. You can use the following values to recognize objects of a particular type in the response:
|
| mailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| oneDrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| archiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| sites | boolean or null Defines whether this backup job will include/exclude the Sites processing option. |
| teams | boolean or null Defines whether this backup job will include/exclude the Teams processing option. |
| teamsChats | boolean or null Defines whether this job will back up team chats. |
object (RESTJobSite) | |
object (RESTTeam) | |
object (RESTUser) | |
| personalSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
object (RESTGroup) | |
| members | boolean or null Defines whether this backup job will include/exclude the Members processing option. |
| memberMailbox | boolean or null Defines whether this backup job will include/exclude the Mail processing option. |
| memberArchiveMailbox | boolean or null Defines whether this backup job will include/exclude the Archive processing option. |
| memberOnedrive | boolean or null Defines whether this backup job will include/exclude the OneDrive processing option. |
| memberSite | boolean or null Defines whether this backup job will include/exclude the Site processing option. |
| groupSite | boolean or null Defines whether this job will back up a group site. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "type": "Group",
- "folders": [
- "string"
], - "id": "string",
- "mailbox": true,
- "oneDrive": true,
- "archiveMailbox": true,
- "sites": true,
- "teams": true,
- "teamsChats": true,
- "site": {
- "id": "string",
- "eTag": 0,
- "url": "string",
- "parentUrl": "string",
- "name": "string",
- "isCloud": true,
- "isPersonal": true,
- "title": "string",
- "siteCollectionError": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "team": {
- "id": "00000000-0000-0000-0000-000000000000",
- "eTag": 0,
- "displayName": "string",
- "description": "string",
- "mail": "string",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "user": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User",
- "locationType": "OnPremises",
- "office": "string",
- "assignedLicenses": [
- {
- "skuId": "00000000-0000-0000-0000-000000000000",
- "skuPartNumber": "00000000-0000-0000-0000-000000000000",
- "detectedSkuType": "Other"
}
], - "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "personalSite": true,
- "group": {
- "id": "string",
- "eTag": 0,
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "managedBy": "string",
- "site": "string",
- "type": "Office365",
- "locationType": "OnPremises",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "members": true,
- "memberMailbox": true,
- "memberArchiveMailbox": true,
- "memberOnedrive": true,
- "memberSite": true,
- "groupSite": true
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Enable Backup Job
Enables a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Disable Backup Job
Disables a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Start Backup Job
Starts a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
Request Body schema: application/jsonrequired
| full | boolean Defines whether the backup job will create an active full backup. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "full": true
}- 200
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "jobId": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "mainSessionId": "00000000-0000-0000-0000-000000000000",
- "details": "string",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "retryCount": 0,
- "jobWillBeRetried": true,
- "progress": 0,
- "total": 0,
- "jobType": "Backup",
- "jobSessionConfigType": "Full",
- "status": "Stopped",
- "statistics": {
- "processingRateBytesPS": 0,
- "processingRateItemsPS": 0,
- "readRateBytesPS": 0,
- "writeRateBytesPS": 0,
- "transferredDataBytes": 0,
- "processedObjects": 0,
- "bottleneck": "NA"
}, - "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000"
}Stop Backup Job
Stops a backup job with the specified ID.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Create Restore Session
Creates and starts a restore session for a backup job with the specified ID.
The request command will start a restore session only for backups that were created at the time you specified. The firstBackuptime and lastBackuptime properties of the /Organizations/{organizationId} resource inform you when the organization data was backed up for the first and last times. For more information, see Get Organization by Organization ID.
Mind the following:
- If you specify the point in time which precedes the organization first backup time, the restore session will be created with no backup data for explore or restore.
- If you specify the point in time which exceeds the organization last backup time, the restore session will be created with backup data as of the latest restore point.
path Parameters
| jobId required | string <uuid> Specifies the identification number of the backup job. For more information on how to get this parameter, see Get Backup Jobs. |
Request Body schema: application/jsonrequired
| dateTime | string or null <date-time> Specifies the date and time. |
| type | string or null Specifies a type of the restore session to start. |
| showDeleted | boolean or null Defines whether the restore session will show items that have been removed by the user before the specified date. |
| showAllVersions | boolean or null Defines whether the restore session will show all versions of items that have been modified by the user before the specified date. |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "dateTime": "2019-08-24T14:15:22Z",
- "type": "Vex",
- "showDeleted": true,
- "showAllVersions": true
}- 201
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "organization": "string",
- "type": "Vex",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Working",
- "result": "Success",
- "initiatedBy": "string",
- "details": "string",
- "scopeName": "string",
- "clientHost": "string",
- "reason": "string",
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}