新版本一对一后台接口.md 1.82 KB

996.icu

新版本一对一 后台接口

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