POST api/ExamPlan/Check
检查
Request Information
URI Parameters
None.
Body Parameters
AutoSeatArrangementInputDtoName | Description | Type | Additional information |
---|---|---|---|
ExamPlanId |
考务编号 |
globally unique identifier |
None. |
DateSession |
时间场次 |
Collection of DateSession |
None. |
ExamPlaceIds |
考场编号 |
Collection of integer |
None. |
SubjectClass |
专业班级 |
Collection of SubjectClass |
None. |
CanSplitMerge |
拆合班 |
boolean |
None. |
CanAcrossProfession |
允许跨专业混排 |
boolean |
None. |
PriorityItem |
优先项 |
PriorityItem |
None. |
TeaCodes |
监考老师们 |
Collection of string |
None. |
IsReArrangement |
是否重排 |
boolean |
None. |
ArrangementStrategy |
排考策略 |
ArrangementStrategy |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExamPlanId": "e67fc117-8051-4f8a-9903-204ef6f51ef5", "DateSession": [ { "ExamDate": "2024-09-25T00:08:33.3496112+08:00", "ExamTimeRangeId": 2, "SessionName": "sample string 3" }, { "ExamDate": "2024-09-25T00:08:33.3496112+08:00", "ExamTimeRangeId": 2, "SessionName": "sample string 3" } ], "ExamPlaceIds": [ 1, 2 ], "SubjectClass": [ { "SubjectId": "2fac5836-c334-4b08-bca3-7b0c56f3dff9", "ProfessionalCourseClass": [ { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] }, { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] } ] }, { "SubjectId": "2fac5836-c334-4b08-bca3-7b0c56f3dff9", "ProfessionalCourseClass": [ { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] }, { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] } ] } ], "CanSplitMerge": true, "CanAcrossProfession": true, "PriorityItem": 1, "TeaCodes": [ "sample string 1", "sample string 2" ], "IsReArrangement": true, "ArrangementStrategy": 1 }
text/html
Sample:
{"ExamPlanId":"e67fc117-8051-4f8a-9903-204ef6f51ef5","DateSession":[{"ExamDate":"2024-09-25T00:08:33.3496112+08:00","ExamTimeRangeId":2,"SessionName":"sample string 3"},{"ExamDate":"2024-09-25T00:08:33.3496112+08:00","ExamTimeRangeId":2,"SessionName":"sample string 3"}],"ExamPlaceIds":[1,2],"SubjectClass":[{"SubjectId":"2fac5836-c334-4b08-bca3-7b0c56f3dff9","ProfessionalCourseClass":[{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]},{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]}]},{"SubjectId":"2fac5836-c334-4b08-bca3-7b0c56f3dff9","ProfessionalCourseClass":[{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]},{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]}]}],"CanSplitMerge":true,"CanAcrossProfession":true,"PriorityItem":1,"TeaCodes":["sample string 1","sample string 2"],"IsReArrangement":true,"ArrangementStrategy":1}
application/xml, text/xml
Sample:
<AutoSeatArrangementInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ArrangementStrategy>专业内随机</ArrangementStrategy> <CanAcrossProfession>true</CanAcrossProfession> <CanSplitMerge>true</CanSplitMerge> <DateSession> <DateSession> <ExamDate>2024-09-25T00:08:33.3496112+08:00</ExamDate> <ExamTimeRangeId>2</ExamTimeRangeId> <SessionName>sample string 3</SessionName> </DateSession> <DateSession> <ExamDate>2024-09-25T00:08:33.3496112+08:00</ExamDate> <ExamTimeRangeId>2</ExamTimeRangeId> <SessionName>sample string 3</SessionName> </DateSession> </DateSession> <ExamPlaceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ExamPlaceIds> <ExamPlanId>e67fc117-8051-4f8a-9903-204ef6f51ef5</ExamPlanId> <IsReArrangement>true</IsReArrangement> <PriorityItem>StuNum</PriorityItem> <SubjectClass> <SubjectClass> <ProfessionalCourseClass> <ProfessionalCourseClass> <ClassNames xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </ClassNames> <ProfessionalCourseName>sample string 1</ProfessionalCourseName> </ProfessionalCourseClass> <ProfessionalCourseClass> <ClassNames xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </ClassNames> <ProfessionalCourseName>sample string 1</ProfessionalCourseName> </ProfessionalCourseClass> </ProfessionalCourseClass> <SubjectId>2fac5836-c334-4b08-bca3-7b0c56f3dff9</SubjectId> </SubjectClass> <SubjectClass> <ProfessionalCourseClass> <ProfessionalCourseClass> <ClassNames xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </ClassNames> <ProfessionalCourseName>sample string 1</ProfessionalCourseName> </ProfessionalCourseClass> <ProfessionalCourseClass> <ClassNames xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </ClassNames> <ProfessionalCourseName>sample string 1</ProfessionalCourseName> </ProfessionalCourseClass> </ProfessionalCourseClass> <SubjectId>2fac5836-c334-4b08-bca3-7b0c56f3dff9</SubjectId> </SubjectClass> </SubjectClass> <TeaCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </TeaCodes> </AutoSeatArrangementInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
检查
JsonRtnDtoOfCheckAutoSeatArrangementName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | CheckAutoSeatArrangement |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "StudentCheckByTimeRanges": [ { "StuCode": "sample string 1", "ClassRoom": "sample string 2", "Date": "2024-09-25T00:08:33.3905039+08:00", "ExamTimeRangeId": 4 }, { "StuCode": "sample string 1", "ClassRoom": "sample string 2", "Date": "2024-09-25T00:08:33.3905039+08:00", "ExamTimeRangeId": 4 } ], "ClassRoomCheckByTimeRanges": [ { "ClassRoom": "sample string 1", "ExamPlaceId": 2, "Date": "2024-09-25T00:08:33.3905039+08:00", "ExamTimeRangeId": 4 }, { "ClassRoom": "sample string 1", "ExamPlaceId": 2, "Date": "2024-09-25T00:08:33.3905039+08:00", "ExamTimeRangeId": 4 } ], "SeatsIsOk": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"StudentCheckByTimeRanges":[{"StuCode":"sample string 1","ClassRoom":"sample string 2","Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4},{"StuCode":"sample string 1","ClassRoom":"sample string 2","Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4}],"ClassRoomCheckByTimeRanges":[{"ClassRoom":"sample string 1","ExamPlaceId":2,"Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4},{"ClassRoom":"sample string 1","ExamPlaceId":2,"Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4}],"SeatsIsOk":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfCheckAutoSeatArrangementv3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <ClassRoomCheckByTimeRanges> <ClassRoomCheckByTimeRange> <ClassRoom>sample string 1</ClassRoom> <Date>2024-09-25T00:08:33.3905039+08:00</Date> <ExamPlaceId>2</ExamPlaceId> <ExamTimeRangeId>4</ExamTimeRangeId> </ClassRoomCheckByTimeRange> <ClassRoomCheckByTimeRange> <ClassRoom>sample string 1</ClassRoom> <Date>2024-09-25T00:08:33.3905039+08:00</Date> <ExamPlaceId>2</ExamPlaceId> <ExamTimeRangeId>4</ExamTimeRangeId> </ClassRoomCheckByTimeRange> </ClassRoomCheckByTimeRanges> <SeatsIsOk>true</SeatsIsOk> <StudentCheckByTimeRanges> <StudentCheckByTimeRange> <ClassRoom>sample string 2</ClassRoom> <Date>2024-09-25T00:08:33.3905039+08:00</Date> <ExamTimeRangeId>4</ExamTimeRangeId> <StuCode>sample string 1</StuCode> </StudentCheckByTimeRange> <StudentCheckByTimeRange> <ClassRoom>sample string 2</ClassRoom> <Date>2024-09-25T00:08:33.3905039+08:00</Date> <ExamTimeRangeId>4</ExamTimeRangeId> <StuCode>sample string 1</StuCode> </StudentCheckByTimeRange> </StudentCheckByTimeRanges> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfCheckAutoSeatArrangementv3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"StudentCheckByTimeRanges":[{"StuCode":"sample string 1","ClassRoom":"sample string 2","Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4},{"StuCode":"sample string 1","ClassRoom":"sample string 2","Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4}],"ClassRoomCheckByTimeRanges":[{"ClassRoom":"sample string 1","ExamPlaceId":2,"Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4},{"ClassRoom":"sample string 1","ExamPlaceId":2,"Date":"2024-09-25T00:08:33.3905039+08:00","ExamTimeRangeId":4}],"SeatsIsOk":true}});