🎉 开放平台文档站换新颜。 欢迎填问卷给我们建议,意见,反馈,夸夸 →
Skip to Content
API文档教学信息课表信息教室课表信息

教室课表信息

最近更新时间: 2023年06月26日 05时38分49秒
实时

描述

通过教室id查询课表

支持的模式

客户端模式

请求方法

GET

请求地址

https://api.tongji.edu.cn/v1/rt/onetongji/classroom/get_timetable_by_classroom

数据来源

教务系统

请求参数

参数名是否必填备注
calendarId学期编号,为空默认为当前学期
classroomIds教室编号列表,支持批量,用英文逗号分隔

返回参数

参数名类型备注码表
calendarIdstring学期代码
calendarNamestring学期名称
campusstring校区代码
campusI18nstring校区名称
classroomIdstring教室id
classroomNamestring教室名称
occupiedExplainstring课程说明
timeStartstring一日中从第几节课开始上课,如5表示第5节课
timeEndstring一日中从第几节课下课
weekDaystring上课周,如2表示周二
weekStartstring一学期从第几周开始上课,如1表示第1周
weekEndstring一学期该课程到第几周结课,如9表示第9周
usageCodestring用途代码
usageCodeI18nstring用途名称
classCapacitystring
capacitystring
createTimestring创建时间
updateTimestring更新时间
deleteStatusstring删除标识
dicstring
isSharedstring
occupiedBusinessIdstring
idstring
pageNum_string
pageSize_string
remarkstring
timeBitstring
timeRangestring
weekBitstring

请求示例

curl -X GET \ 'https://api.tongji.edu.cn/v1/rt/onetongji/classroom/get_timetable_by_classroom' \ -H 'calendarId: ' \ -H 'classroomIds: '

返回示例

{ "code": "A00000", "data": { "data": [ { "calendarName": "2022-2023第2学期", "campus": "1", "campusI18n": "四平路校区", "classCapacity": 20, "classroomName": "C508", "classroomOccupationList": [ { "calendarId": null, "capacity": null, "classroomId": null, "createTime": null, "deleteStatus": null, "dic": true, "id": null, "isShared": null, "occupiedBusinessId": null, "occupiedExplain": "专题设计(Ⅳ)(2000163001411)排课 星期一5-8[1-9]", "pageNum_": 1, "pageSize_": 10, "remark": null, "timeBit": 240, "timeEnd": 8, "timeRange": null, "timeStart": 5, "updateTime": null, "usageCode": "01", "usageCodeI18n": "排课", "weekBit": 511, "weekDay": 1, "weekEnd": 9, "weekStart": 1 }, { "calendarId": null, "capacity": null, "classroomId": null, "createTime": null, "deleteStatus": null, "dic": true, "id": null, "isShared": null, "occupiedBusinessId": null, "occupiedExplain": "专题设计(Ⅳ)(2000163001411)排课 星期四1-4[1-9]", "pageNum_": 1, "pageSize_": 10, "remark": null, "timeBit": 15, "timeEnd": 4, "timeRange": null, "timeStart": 1, "updateTime": null, "usageCode": "01", "usageCodeI18n": "排课", "weekBit": 511, "weekDay": 4, "weekEnd": 9, "weekStart": 1 } ], "examCapacity": 10, "towerCode": "126_yjs", "towerName": "城规学院C", "type": "0", "typeI18n": "非公共教室" } ], "size": 1 }, "msg": "操作成功" }