POST api/2.0/backup/createbackupschedule This function requires authentication

Description

Creates the backup schedule of the current portal with the parameters specified in the request.

Parameters
Name Description Type Example
StorageType
sent in body
Storage type string some text
StorageParams
sent in body
Storage parameters Collection of ASC.Api.Collections.ItemKeyValuePair{System.Objecs
collection
BackupsStored
sent in body
Maximum number of the stored backup copies string some text
CronParams
sent in body
Cron parameters ASC.Data.Backup.ApiModels.Cron
Example
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"
  }
}
Returns

Boolean value: true if the operation is successful