新版本一对一后台接口.md
1.95 KB
新版本一对一 后台接口
1. 候选学生列表查询接口
- URL: {{localhost}}/boxfish-online-card/classSmall/manager/queryCandidateStudent
- Method: POST
- RequestBody:
{
"studentId": 100000008016,
"classTypeList": [
"CLASS_ONLINE_US_0101"
]
}
在这个接口中,
classTypeList
字段的参数值为固定写死的。
2. 创建班级,创建课表接口
- URL: {{localhost}}/boxfish-online-card/classOnline/manage/createStudentSchedule
- Method: POST
- RequestBody:
{
"operationAccount": "xxx@b.cb",
"orderEntityId": 326,
"name": "326-测试班课",
"englishName": "326-test_class_name",
"grade": "GRADE_5_B",
"mentorName": "测试mentor",
"classOpenTime": 1560528000000,
"classCloseTime": 1561824000000,
"scheduleList": [
{
"weekend": "MONDAY",
"scheduleStartTime": 1561111200000,
"scheduleEndTime": 1561113000000
},
{
"weekend": "THURSDAY",
"scheduleStartTime": 1561120200000,
"scheduleEndTime": 1561121700000
}
]
}
3. 一对一班级列表接口查询
- URL: {{localhost}}/boxfish-online-card/classSmall/manager/queryClass
- Method: POST
- RequestBody:
{
"name": "326-测试班课",
"mentorName": "测试mentor",
"flagEnable": true, // 班级是否开放
"flagTeacherChinese": false, // 是否安排中教
"flagTeacherEnglish": false, // 是否安排外教
"flagSchedule": true, // 是否安排课表
"flagClassClosed": false, // 课程是否结束
"groupType": "GROUP_CLASS_ONLINE_0101"
}
该接口还是小班课班级列表查询接口,原来接口多条件查询参数不变, 只是这个接口在原来的接口基础上增加参数
groupType
,参数值为GROUP_CLASS_ONLINE_0101