POST api/ExamPlan/SaveSeatArrangement
保存排考信息
Request Information
URI Parameters
None.
Body Parameters
ExamArrangementInputDtoName | Description | Type | Additional information |
---|---|---|---|
ExamArrangements |
考试安排 |
Collection of ExamArrangement |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExamArrangements": [ { "ExamPlanId": "6d1b4896-7e46-490f-8147-354964105991", "StuCode": "sample string 2", "ExamPlaceId": 3, "RowPosition": 4, "ColumnPosition": 5, "Date": "2024-09-25T00:06:43.8593979+08:00", "ExamTimeRangeId": 7, "SubjectId": "c68bb3c6-d7b6-47de-a5a5-85fa4740d243" }, { "ExamPlanId": "6d1b4896-7e46-490f-8147-354964105991", "StuCode": "sample string 2", "ExamPlaceId": 3, "RowPosition": 4, "ColumnPosition": 5, "Date": "2024-09-25T00:06:43.8593979+08:00", "ExamTimeRangeId": 7, "SubjectId": "c68bb3c6-d7b6-47de-a5a5-85fa4740d243" } ] }
text/html
Sample:
{"ExamArrangements":[{"ExamPlanId":"6d1b4896-7e46-490f-8147-354964105991","StuCode":"sample string 2","ExamPlaceId":3,"RowPosition":4,"ColumnPosition":5,"Date":"2024-09-25T00:06:43.8593979+08:00","ExamTimeRangeId":7,"SubjectId":"c68bb3c6-d7b6-47de-a5a5-85fa4740d243"},{"ExamPlanId":"6d1b4896-7e46-490f-8147-354964105991","StuCode":"sample string 2","ExamPlaceId":3,"RowPosition":4,"ColumnPosition":5,"Date":"2024-09-25T00:06:43.8593979+08:00","ExamTimeRangeId":7,"SubjectId":"c68bb3c6-d7b6-47de-a5a5-85fa4740d243"}]}
application/xml, text/xml
Sample:
<ExamArrangementInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ExamArrangements xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:ExamArrangement> <d2p1:ColumnPosition>5</d2p1:ColumnPosition> <d2p1:Date>2024-09-25T00:06:43.8593979+08:00</d2p1:Date> <d2p1:ExamPlaceId>3</d2p1:ExamPlaceId> <d2p1:ExamPlanId>6d1b4896-7e46-490f-8147-354964105991</d2p1:ExamPlanId> <d2p1:ExamTimeRangeId>7</d2p1:ExamTimeRangeId> <d2p1:RowPosition>4</d2p1:RowPosition> <d2p1:StuCode>sample string 2</d2p1:StuCode> <d2p1:SubjectId>c68bb3c6-d7b6-47de-a5a5-85fa4740d243</d2p1:SubjectId> </d2p1:ExamArrangement> <d2p1:ExamArrangement> <d2p1:ColumnPosition>5</d2p1:ColumnPosition> <d2p1:Date>2024-09-25T00:06:43.8593979+08:00</d2p1:Date> <d2p1:ExamPlaceId>3</d2p1:ExamPlaceId> <d2p1:ExamPlanId>6d1b4896-7e46-490f-8147-354964105991</d2p1:ExamPlanId> <d2p1:ExamTimeRangeId>7</d2p1:ExamTimeRangeId> <d2p1:RowPosition>4</d2p1:RowPosition> <d2p1:StuCode>sample string 2</d2p1:StuCode> <d2p1:SubjectId>c68bb3c6-d7b6-47de-a5a5-85fa4740d243</d2p1:SubjectId> </d2p1:ExamArrangement> </ExamArrangements> </ExamArrangementInputDto>
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});