POST api/2.0/backup/createbackupschedule
Creates the backup schedule of the current portal with the parameters specified in the request.
Name |
Description |
Type |
Example |
StorageType
sent in body
|
Storage type
|
System.String
|
|
StorageParams
sent in body
|
Storage parameters
|
System.Collections.Generic.IEnumerable{ASC.Api.Collections.ItemKeyValuePair{System.Object
|
|
BackupsStored
sent in body
|
Maximum number of the stored backup copies
|
System.String
|
|
CronParams
sent in body
|
Cron parameters
|
ASC.Data.Backup.ApiModels.Cron
|
|
POST api/2.0/backup/createbackupschedule
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"StorageType": "Documents",
"BackupsStored": "some text",
"CronParams": {
"Period": "0",
"Hour": "0",
"Day": "0"
}
}
Boolean value: true if the operation is successful