文档
测试

学生获取考试列表

POST
【考务接口地址】api/Examination/GetStuExamInfo

接口描述

办公平台中学生获取考试列表

请求参数

参数名
类型
描述
必填
TermInfo
string
学期,传空或不传则为全部学期,示例:2020-202101
必填
nTestType
int
考试类型:0-全部考试,1-平时考试,2-期中考试,3-期末考试,(仅大学版)4-补考
必填
nState
int
考试状态 :0-全部状态 1-未发布 2-未开始 3-进行中 4-已结束
必填
sTName
string
按考试名称搜索,可为空,为空或不传则不按名称筛选
必填
PageIndex
int
页码
必填
PageSize
int
每页数量
必填
StuID
string
学生id,示例:s0021
必填
bUniv
boolean
true为大学版,false为中小学版
必填

输入示例

```JSON { "TermInfo": null, "nTestType": 0, "nState": 0, "sTName": null, "PageIndex": 1, "PageSize": 8, "StuID": "Stu001", "bUniv": true } ```

响应参数

参数名
类型
描述
必填
Code
int
1成功,0失败
必填
Msg
object
失败返回的错误信息
必填
Data
object
返回诗句
必填
ExamCount
int
考试总个数
必填
lstExamInfo
array
考试信息列表
必填
sTID
string
加密后的考试id,示例:900200300500200500200900100300000100100000200000200001
必填
sTName
string
考试名称,示例:学校管理员考试测试
必填
nTestType
int
考试类型,1代表平时考试,2代表期中考试,3代表期末考试,(仅大学班中)4代表补考
必填
nState
int
1-未发布,2-未开始,3-进行中,4-已结束
必填
nStudentCount
int
考生人数
必填
sTestSubName
string
考试科目名称(中小学版)/ 考试课程名称(大学版),示例:体育与教育,体育与医疗健康
必填
tBeginDate
string
考试开始日期,示例:2020-11-04T00:00:00
必填
tEndDate
string
考试结束日期,示例:2020-11-09T23:59:59
必填
lstSeat
array
座位详情
必填
RoomAddress
string
考室名称及地址,示例:体育楼301考室(体育楼,3层)
必填
Seat
string
座位号,示例:01
必填
Subject
string
考室科目/课程,示例:体育与教育
必填
ExamTime
string
考试时间,示例:2020.11.04 08:00~09:00
必填

输出示例

```JSON { "Code": 1, "Msg": null, "Data": { "ExamCount": 2, "lstExamInfo": [ { "sTID": "900200300500200500200900100300000100100000200000200001", "sTName": "学校管理员考试测试", "ClassID": null, "nTestType": 3, "nState": 3, "nStudentCount": 20, "sTestSubName": "体育与教育,体育与医疗健康", "tBeginDate": "2020-11-04T00:00:00", "tEndDate": "2020-11-09T23:59:59", "nTestState": 20, "lstSeat": [ { "RoomAddress": "体育楼301考室(体育楼,3层)", "Seat": "01", "Subject": "体育与教育", "ExamTime": "2020.11.04 08:00~09:00" } ] }, { "sTID": "700700900500000300300000100400000100100000200000200001", "sTName": "体育考试", "ClassID": null, "nTestType": 1, "nState": 3, "nStudentCount": 20, "sTestSubName": "体育与教育,体育与医疗健康", "tBeginDate": "2020-11-05T00:00:00", "tEndDate": "2020-11-09T23:59:59", "nTestState": 20, "lstSeat": [ { "RoomAddress": "体育楼102考室(体育楼,1层)", "Seat": "01", "Subject": "体育与教育", "ExamTime": "2020.11.05 08:00~09:00" } ] } ] } } ```