POST api/ExamPlan/SaveExamTimeRange
保存场次信息
Request Information
URI Parameters
None.
Body Parameters
ExamTimeRangeName | Description | Type | Additional information |
---|---|---|---|
Id |
排考时间端变红 |
integer |
None. |
SessionId |
考试场次 |
string |
None. |
SessionName |
场次名称 |
string |
None. |
BeginTime |
开始时间 |
date |
None. |
DisplayBeginTime |
开始时间 |
string |
None. |
EndTime |
结束时间 |
date |
None. |
DisplayEndTime |
结束时间 |
string |
None. |
Enabled |
是否启用 |
boolean |
None. |
TotalMinute |
考试总时长 |
integer |
None. |
IsDeleted |
是否已删除 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "SessionId": "sample string 2", "SessionName": "sample string 3", "BeginTime": "2024-09-25T00:08:49.5326286+08:00", "DisplayBeginTime": "00:08", "EndTime": "2024-09-25T00:08:49.5326286+08:00", "DisplayEndTime": "00:08", "Enabled": true, "TotalMinute": 7, "IsDeleted": true }
text/html
Sample:
{"Id":1,"SessionId":"sample string 2","SessionName":"sample string 3","BeginTime":"2024-09-25T00:08:49.5326286+08:00","DisplayBeginTime":"00:08","EndTime":"2024-09-25T00:08:49.5326286+08:00","DisplayEndTime":"00:08","Enabled":true,"TotalMinute":7,"IsDeleted":true}
application/xml, text/xml
Sample:
<ExamTimeRange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <BeginTime>2024-09-25T00:08:49.5326286+08:00</BeginTime> <Enabled>true</Enabled> <EndTime>2024-09-25T00:08:49.5326286+08:00</EndTime> <Id>1</Id> <IsDeleted>true</IsDeleted> <SessionId>sample string 2</SessionId> <SessionName>sample string 3</SessionName> <TotalMinute>7</TotalMinute> </ExamTimeRange>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存场次信息
JsonRtnDtoOfExamTimeRangeName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ExamTimeRange |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "SessionId": "sample string 2", "SessionName": "sample string 3", "BeginTime": "2024-09-25T00:08:49.5468885+08:00", "DisplayBeginTime": "00:08", "EndTime": "2024-09-25T00:08:49.5468885+08:00", "DisplayEndTime": "00:08", "Enabled": true, "TotalMinute": 7, "IsDeleted": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"SessionId":"sample string 2","SessionName":"sample string 3","BeginTime":"2024-09-25T00:08:49.5468885+08:00","DisplayBeginTime":"00:08","EndTime":"2024-09-25T00:08:49.5468885+08:00","DisplayEndTime":"00:08","Enabled":true,"TotalMinute":7,"IsDeleted":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfExamTimeRangemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:BeginTime>2024-09-25T00:08:49.5468885+08:00</d2p1:BeginTime> <d2p1:Enabled>true</d2p1:Enabled> <d2p1:EndTime>2024-09-25T00:08:49.5468885+08:00</d2p1:EndTime> <d2p1:Id>1</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:SessionId>sample string 2</d2p1:SessionId> <d2p1:SessionName>sample string 3</d2p1:SessionName> <d2p1:TotalMinute>7</d2p1:TotalMinute> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfExamTimeRangemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"SessionId":"sample string 2","SessionName":"sample string 3","BeginTime":"2024-09-25T00:08:49.5468885+08:00","DisplayBeginTime":"00:08","EndTime":"2024-09-25T00:08:49.5468885+08:00","DisplayEndTime":"00:08","Enabled":true,"TotalMinute":7,"IsDeleted":true}});