新版本一对一后台接口.md 1.2 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
        }
    ]
}