POST api/contest/editcompetitiondetail
给学生竞赛分配考场和生成学号
Request Information
URI Parameters
None.
Body Parameters
学号、详情ID、考场ID集合
TempClassName | Description | Type | Additional information |
---|---|---|---|
list |
报名详情结合 |
Collection of CompetitionDetail |
None. |
sepList |
正式考试考场分配记录 |
Collection of StuExamPlace |
None. |
Request Formats
application/json, text/json
Sample:
{ "list": [ { "Id": 1, "ExamCode": "sample string 2", "CompetitionId": "c0c78761-37ed-4e2a-8209-7e92658a6bc0", "StuId": "sample string 4", "ExamPlaceId": 5, "CreatedTime": "2024-09-25T00:11:17.8602271+08:00" }, { "Id": 1, "ExamCode": "sample string 2", "CompetitionId": "c0c78761-37ed-4e2a-8209-7e92658a6bc0", "StuId": "sample string 4", "ExamPlaceId": 5, "CreatedTime": "2024-09-25T00:11:17.8602271+08:00" } ], "sepList": [ { "Id": 1, "StuId": "sample string 2", "StuName": "sample string 3", "StuSex": "sample string 4", "PaperId": "8f962a3f-db21-4b20-8035-75ad37d5099f", "ExamPlaceId": 6, "CreateTime": "2024-09-25T00:11:17.8602271+08:00" }, { "Id": 1, "StuId": "sample string 2", "StuName": "sample string 3", "StuSex": "sample string 4", "PaperId": "8f962a3f-db21-4b20-8035-75ad37d5099f", "ExamPlaceId": 6, "CreateTime": "2024-09-25T00:11:17.8602271+08:00" } ] }
text/html
Sample:
{"list":[{"Id":1,"ExamCode":"sample string 2","CompetitionId":"c0c78761-37ed-4e2a-8209-7e92658a6bc0","StuId":"sample string 4","ExamPlaceId":5,"CreatedTime":"2024-09-25T00:11:17.8602271+08:00"},{"Id":1,"ExamCode":"sample string 2","CompetitionId":"c0c78761-37ed-4e2a-8209-7e92658a6bc0","StuId":"sample string 4","ExamPlaceId":5,"CreatedTime":"2024-09-25T00:11:17.8602271+08:00"}],"sepList":[{"Id":1,"StuId":"sample string 2","StuName":"sample string 3","StuSex":"sample string 4","PaperId":"8f962a3f-db21-4b20-8035-75ad37d5099f","ExamPlaceId":6,"CreateTime":"2024-09-25T00:11:17.8602271+08:00"},{"Id":1,"StuId":"sample string 2","StuName":"sample string 3","StuSex":"sample string 4","PaperId":"8f962a3f-db21-4b20-8035-75ad37d5099f","ExamPlaceId":6,"CreateTime":"2024-09-25T00:11:17.8602271+08:00"}]}
application/xml, text/xml
Sample:
<TempClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeachingSysApi.Areas.JingSai.Controllers"> <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:CompetitionDetail> <d2p1:CompetitionId>c0c78761-37ed-4e2a-8209-7e92658a6bc0</d2p1:CompetitionId> <d2p1:CreatedTime>2024-09-25T00:11:17.8602271+08:00</d2p1:CreatedTime> <d2p1:ExamCode>sample string 2</d2p1:ExamCode> <d2p1:ExamPlaceId>5</d2p1:ExamPlaceId> <d2p1:Id>1</d2p1:Id> <d2p1:StuId>sample string 4</d2p1:StuId> </d2p1:CompetitionDetail> <d2p1:CompetitionDetail> <d2p1:CompetitionId>c0c78761-37ed-4e2a-8209-7e92658a6bc0</d2p1:CompetitionId> <d2p1:CreatedTime>2024-09-25T00:11:17.8602271+08:00</d2p1:CreatedTime> <d2p1:ExamCode>sample string 2</d2p1:ExamCode> <d2p1:ExamPlaceId>5</d2p1:ExamPlaceId> <d2p1:Id>1</d2p1:Id> <d2p1:StuId>sample string 4</d2p1:StuId> </d2p1:CompetitionDetail> </list> <sepList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:StuExamPlace> <d2p1:CreateTime>2024-09-25T00:11:17.8602271+08:00</d2p1:CreateTime> <d2p1:ExamPlaceId>6</d2p1:ExamPlaceId> <d2p1:Id>1</d2p1:Id> <d2p1:PaperId>8f962a3f-db21-4b20-8035-75ad37d5099f</d2p1:PaperId> <d2p1:StuId>sample string 2</d2p1:StuId> <d2p1:StuName>sample string 3</d2p1:StuName> <d2p1:StuSex>sample string 4</d2p1:StuSex> </d2p1:StuExamPlace> <d2p1:StuExamPlace> <d2p1:CreateTime>2024-09-25T00:11:17.8602271+08:00</d2p1:CreateTime> <d2p1:ExamPlaceId>6</d2p1:ExamPlaceId> <d2p1:Id>1</d2p1:Id> <d2p1:PaperId>8f962a3f-db21-4b20-8035-75ad37d5099f</d2p1:PaperId> <d2p1:StuId>sample string 2</d2p1:StuId> <d2p1:StuName>sample string 3</d2p1:StuName> <d2p1:StuSex>sample string 4</d2p1:StuSex> </d2p1:StuExamPlace> </sepList> </TempClass>
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});