POST api/settings/scheduled-backup

Request Information

URI Parameters

None.

Body Parameters

SaveScheduleSettingsRequestModel
NameDescriptionTypeAdditional information
Enabled

boolean

None.

Frequency

string

None.

BackupPath

string

None.

TimeOfDay

string

None.

DayOfWeek

integer

None.

DayOfMonth

integer

None.

MonthOfYear

integer

None.

modifiedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Enabled": true,
  "Frequency": "sample string 2",
  "BackupPath": "sample string 3",
  "TimeOfDay": "sample string 4",
  "DayOfWeek": 1,
  "DayOfMonth": 1,
  "MonthOfYear": 1,
  "modifiedUserID": 5
}

application/xml, text/xml

Sample:
<SaveScheduleSettingsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BackupPath>sample string 3</BackupPath>
  <DayOfMonth>1</DayOfMonth>
  <DayOfWeek>1</DayOfWeek>
  <Enabled>true</Enabled>
  <Frequency>sample string 2</Frequency>
  <MonthOfYear>1</MonthOfYear>
  <TimeOfDay>sample string 4</TimeOfDay>
  <modifiedUserID>5</modifiedUserID>
</SaveScheduleSettingsRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveScheduleSettingsRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.