POST api/ArchiveStorageTask/UpdateArchiveStorageTaskTimeRange?academicYear={academicYear}

存档任务有效时间设置

Request Information

URI Parameters

NameDescriptionTypeAdditional information
academicYear

string

Required

Body Parameters

EffectTimeInput
NameDescriptionTypeAdditional information
BeginTime

开始时间

date

None.

EndTime

结束时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BeginTime": "2024-09-25T00:07:37.8436209+08:00",
  "EndTime": "2024-09-25T00:07:37.8436209+08:00"
}

text/html

Sample:
{"BeginTime":"2024-09-25T00:07:37.8436209+08:00","EndTime":"2024-09-25T00:07:37.8436209+08:00"}

application/xml, text/xml

Sample:
<EffectTimeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <BeginTime>2024-09-25T00:07:37.8436209+08:00</BeginTime>
  <EndTime>2024-09-25T00:07:37.8436209+08:00</EndTime>
</EffectTimeInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

存档任务有效时间设置

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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

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

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