Perform Office 365 Sharepoint Backup
Select
SaaS
Customer Managed
Perform Office 365 Sharepoint Backup
Path Parameters
- appId int32 required
Commvault Sharepoint app id
- application/json
Request Body
- totalRunningTime int32
Total running time of the backup in minutes
- sites object[]
- type string
Possible values: [
ALL_SITES
,SITES_BACKED_UP_RECENTLY
,SITES_NEVER_BACKED_UP
,SITES_NOT_BACKED_UP_RECENTLY
]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- taskId int32
- jobIds string[]
JobIds for the immediate run request
{
"taskId": 0,
"jobIds": [
"string"
]
}
POST /v4/office365/sharepoint/:appid/backup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Backup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"totalRunningTime": 0,
"sites": [
{
"GUID": "string",
"name": "string",
"type": "SUBSITE"
}
],
"type": "ALL_SITES"
}'