POST api/ArchiveStorageTask/SetEffectTime?taskId={taskId}
设置存档任务有效时间
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taskId | globally unique identifier |
Required |
Body Parameters
EffectTimeInputName | Description | Type | Additional information |
---|---|---|---|
BeginTime |
开始时间 |
date |
None. |
EndTime |
结束时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "BeginTime": "2024-09-25T00:06:34.4386392+08:00", "EndTime": "2024-09-25T00:06:34.4386392+08:00" }
text/html
Sample:
{"BeginTime":"2024-09-25T00:06:34.4386392+08:00","EndTime":"2024-09-25T00:06:34.4386392+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:06:34.4386392+08:00</BeginTime> <EndTime>2024-09-25T00:06:34.4386392+08:00</EndTime> </EffectTimeInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
设置存档任务有效时间
JsonRtnDtoOfBooleanName | Description | Type | Additional 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});