POST api/Conf/SetAutoArchiveAfterExam
设置考试结束后的自动归档时间
Request Information
URI Parameters
None.
Body Parameters
AutoArchiveAfterExamInputDtoName | Description | Type | Additional information |
---|---|---|---|
Enabled |
启用 |
boolean |
None. |
TimeRange |
考试结束N天后归档 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Enabled": true, "TimeRange": 1 }
text/html
Sample:
{"Enabled":true,"TimeRange":1}
application/xml, text/xml
Sample:
<AutoArchiveAfterExamInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Enabled>true</Enabled> <TimeRange>1</TimeRange> </AutoArchiveAfterExamInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
设置考试结束后的自动归档时间
JsonRtnDtoOfStringName | Description | Type | Additional 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"});