POST api/ArchiveBackup/ArchiveBackupConfig

备份设置

Request Information

URI Parameters

None.

Body Parameters

ArchiveBackupConfig
NameDescriptionTypeAdditional information
IntervalTime

间隔时间

integer

None.

BeginTime

开始时间

date

None.

Enabled

启用

boolean

None.

IncrementalBackup

是否增量备份

boolean

None.

LastCheckTime

最后一次执行时间

date

None.

LastExecTime

最后一次执行时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "IntervalTime": 1,
  "BeginTime": "2024-09-25T00:09:39.8122265+08:00",
  "Enabled": true,
  "IncrementalBackup": true,
  "LastCheckTime": "2024-09-25T00:09:39.8122265+08:00",
  "LastExecTime": "2024-09-25T00:09:39.8122265+08:00"
}

text/html

Sample:
{"IntervalTime":1,"BeginTime":"2024-09-25T00:09:39.8122265+08:00","Enabled":true,"IncrementalBackup":true,"LastCheckTime":"2024-09-25T00:09:39.8122265+08:00","LastExecTime":"2024-09-25T00:09:39.8122265+08:00"}

application/xml, text/xml

Sample:
<ArchiveBackupConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <BeginTime>2024-09-25T00:09:39.8122265+08:00</BeginTime>
  <Enabled>true</Enabled>
  <IncrementalBackup>true</IncrementalBackup>
  <IntervalTime>1</IntervalTime>
  <LastCheckTime>2024-09-25T00:09:39.8122265+08:00</LastCheckTime>
  <LastExecTime>2024-09-25T00:09:39.8122265+08:00</LastExecTime>
</ArchiveBackupConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

备份设置

JsonRtnDtoOfString
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": "sample string 2"
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":"sample string 2"}

application/xml, text/xml

Sample:
<JsonRtnDtoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>sample string 2</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfstring>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":"sample string 2"});