POST api/ExamPlan/AutoSeatArrAngement
自动排考
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": "fce0ff54-4be8-40fe-8d0f-d95d2b2c94e0", "DateSession": [ { "ExamDate": "2024-09-25T00:09:29.8750329+08:00", "ExamTimeRangeId": 2, "SessionName": "sample string 3" }, { "ExamDate": "2024-09-25T00:09:29.8750329+08:00", "ExamTimeRangeId": 2, "SessionName": "sample string 3" } ], "ExamPlaceIds": [ 1, 2 ], "SubjectClass": [ { "SubjectId": "ec1c5134-f4b3-4c20-bf78-1f8180b61d31", "ProfessionalCourseClass": [ { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] }, { "ProfessionalCourseName": "sample string 1", "ClassNames": [ "sample string 1", "sample string 2" ] } ] }, { "SubjectId": "ec1c5134-f4b3-4c20-bf78-1f8180b61d31", "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":"fce0ff54-4be8-40fe-8d0f-d95d2b2c94e0","DateSession":[{"ExamDate":"2024-09-25T00:09:29.8750329+08:00","ExamTimeRangeId":2,"SessionName":"sample string 3"},{"ExamDate":"2024-09-25T00:09:29.8750329+08:00","ExamTimeRangeId":2,"SessionName":"sample string 3"}],"ExamPlaceIds":[1,2],"SubjectClass":[{"SubjectId":"ec1c5134-f4b3-4c20-bf78-1f8180b61d31","ProfessionalCourseClass":[{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]},{"ProfessionalCourseName":"sample string 1","ClassNames":["sample string 1","sample string 2"]}]},{"SubjectId":"ec1c5134-f4b3-4c20-bf78-1f8180b61d31","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:09:29.8750329+08:00</ExamDate> <ExamTimeRangeId>2</ExamTimeRangeId> <SessionName>sample string 3</SessionName> </DateSession> <DateSession> <ExamDate>2024-09-25T00:09:29.8750329+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>fce0ff54-4be8-40fe-8d0f-d95d2b2c94e0</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>ec1c5134-f4b3-4c20-bf78-1f8180b61d31</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>ec1c5134-f4b3-4c20-bf78-1f8180b61d31</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
自动排考
JsonRtnDtoOfObjectName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": {} }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data /> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfanyType>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{}});