POST api/contest/saveexamplan
保存考务信息
Request Information
URI Parameters
None.
Body Parameters
参数
ExamPlanName | Description | Type | Additional information |
---|---|---|---|
Title |
标题名称 |
string |
Max length: 50 |
BeginTime |
开始时间 |
date |
None. |
CanUpSetStuCode |
学号乱序 |
boolean |
None. |
EndTime |
结束时间 |
date |
None. |
Id |
主键 |
globally unique identifier |
None. |
CreatedTime |
创建时间 |
date |
None. |
IsDeleted |
是否删除 |
boolean |
None. |
LastUpdatedTime |
最后更新时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "BeginTime": "2024-09-25T00:08:27.3752981+08:00", "CanUpSetStuCode": true, "EndTime": "2024-09-25T00:08:27.3752981+08:00", "Id": "6f0bae68-e534-4961-9635-69385554a95f", "CreatedTime": "2024-09-25T00:08:27.3752981+08:00", "IsDeleted": true, "LastUpdatedTime": "2024-09-25T00:08:27.3752981+08:00" }
text/html
Sample:
{"Title":"sample string 1","BeginTime":"2024-09-25T00:08:27.3752981+08:00","CanUpSetStuCode":true,"EndTime":"2024-09-25T00:08:27.3752981+08:00","Id":"6f0bae68-e534-4961-9635-69385554a95f","CreatedTime":"2024-09-25T00:08:27.3752981+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:08:27.3752981+08:00"}
application/xml, text/xml
Sample:
<ExamPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <CreatedTime>2024-09-25T00:08:27.3752981+08:00</CreatedTime> <Id>6f0bae68-e534-4961-9635-69385554a95f</Id> <IsDeleted>true</IsDeleted> <LastUpdatedTime>2024-09-25T00:08:27.3752981+08:00</LastUpdatedTime> <BeginTime>2024-09-25T00:08:27.3752981+08:00</BeginTime> <CanUpSetStuCode>true</CanUpSetStuCode> <EndTime>2024-09-25T00:08:27.3752981+08:00</EndTime> <Title>sample string 1</Title> </ExamPlan>
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});