获取作业本列表

拥有此API的权限集
作业管理-查询

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.exercise_book.api.list.base/1.0.0
  • 频率限制: 10秒3000次

在线调试工具

请求

响应

请求参数

参数名 必选 类型 说明
access_token string 专属token
search_content string 搜索内容
page_index int 页码
page_size int 页大小

请求示例

{
    "access_token": "xxxxx",
    "search_content":"",
    "page_index":1,
    "page_size":10
}

返回参数

参数名 类型 说明
code int 状态码
msg string 请求状态描述信息
data object 当前页数
data.list array 列表
data.total int 总数

data.list列表

参数名 类型 说明
exercise_book_id string 作业本id
title string 作业本名称
resource_type int 资源类型
resource_id string 资源id
community_id string 圈子id
resource_info object 资源信息
resource_info.img_url string 图片
resource_info.title string 名称
resource_info.price int 价格(分)
resource_info.state int 状态
submitted_num string 提交人数
reviewed_num string 点评人数
community_name string 圈子名称
teachers_list array 老师列表
exercise_count integer 作业数

teachers_list老师列表

参数名 类型 说明
app_id string 店铺id
exercise_book_id string 作业本id
user_id string 用户id
role_type int 角色,0-老师;1-助教
state int 角色状态,0-正常;1-删除
wx_nickname string 微信昵称
wx_avatar string 微信头像

返回示例

{
  "code": 0,
  "msg": "获取作业本列表成功",
  "data": {
    "total_count": 12,
    "list": [
      {
        "exercise_book_id": "e63086e57c2c8c_r0O1gUpS",
        "title": "主流程1",
        "resource_type": 1,
        "resource_id": "i_63086e43e4b0eca59c2830e9",
        "community_id": "c_62eb278a5a7c7_xkoDjjhX3725",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320425l70bhn1n08gy.jpg",
          "title": "勿动111",
          "price": 1,
          "state": 0
        },
        "submitted_num": "3",
        "reviewed_num": "3",
        "community_name": "再来一个圈子",
        "teachers_list": [
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e63086e57c2c8c_r0O1gUpS",
            "user_id": "u_5efad25656369_bbla6mYIFT",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "紫英",
            "wx_avatar": "http://wechatavator-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/u_5efad25656369_bbla6mYIFT.png"
          }
        ],
        "exercise_count": 3
      },
      {
        "exercise_book_id": "e63086ce6f4123_aqrRfa3H",
        "title": "测试 主流程",
        "resource_type": 35,
        "resource_id": "bclass_62ff93d7bccac_0YwSo8",
        "community_id": "c_62eb278a5a7c7_xkoDjjhX3725",
        "resource_info": {
          "img_url": "https://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/b_u_5b2225aa46488_oGKN7IvA/l70bhol70plt.jpg",
          "title": "停售",
          "price": 1,
          "state": 0
        },
        "submitted_num": "0",
        "reviewed_num": "0",
        "community_name": "再来一个圈子",
        "teachers_list": [
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e63086ce6f4123_aqrRfa3H",
            "user_id": "u_5efab5301891d_VrMMGZOkdn",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "云涛一叶",
            "wx_avatar": "http://wechatavator-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/u_5efab5301891d_VrMMGZOkdn.png"
          }
        ],
        "exercise_count": 3
      },
      {
        "exercise_book_id": "e6307117b3a8a1_dNRwonRg",
        "title": "作业本分享",
        "resource_type": 1,
        "resource_id": "i_62a85717e4b0ab2af5c44c6a",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320969l47vq0120b1u.png",
          "title": "教育部:我国十年来培养了700多万名硕博研究生",
          "price": 0,
          "state": 0
        },
        "submitted_num": "1",
        "reviewed_num": "0",
        "community_name": "",
        "teachers_list": [],
        "exercise_count": 1
      },
      {
        "exercise_book_id": "e62eb245ee0ee4_OjknhPAi",
        "title": "iuuuu",
        "resource_type": 5,
        "resource_id": "p_62eb243ee4b0eca59c1e6c4f",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/41432041652987400_1652325212.png",
          "title": "课堂互动",
          "price": 0,
          "state": 0
        },
        "submitted_num": "1",
        "reviewed_num": "0",
        "community_name": "",
        "teachers_list": [],
        "exercise_count": 6
      },
      {
        "exercise_book_id": "e62ea23268fc69_dAL05X2M",
        "title": "奥士达大厦",
        "resource_type": 5,
        "resource_id": "p_62ea2238e4b050af23a44d53",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/41432034576210200_1659424302.png",
          "title": "课堂互动==验证练习",
          "price": 0,
          "state": 0
        },
        "submitted_num": "0",
        "reviewed_num": "0",
        "community_name": "",
        "teachers_list": [],
        "exercise_count": 7
      },
      {
        "exercise_book_id": "e62e9e0ba8a9e0_swy0l45Q",
        "title": "jay",
        "resource_type": 1,
        "resource_id": "i_62e8c79de4b0a51fef0775f2",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320420l43yn8cd0i4d.png",
          "title": "付费课程",
          "price": 1,
          "state": 0
        },
        "submitted_num": "3",
        "reviewed_num": "2",
        "community_name": "",
        "teachers_list": [
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e62e9e0ba8a9e0_swy0l45Q",
            "user_id": "u_62349e0539d99_9jz3XabRCV",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "志杰  ",
            "wx_avatar": "http://wechatavator-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/u_62349e0539d99_9jz3XabRCV.png"
          }
        ],
        "exercise_count": 2
      },
      {
        "exercise_book_id": "e62e8ca8e25702_I6o5he0C",
        "title": "看看课堂互动!!!!!!!!",
        "resource_type": 5,
        "resource_id": "p_62e8c895e4b0a51fef0776b2",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320505l242vu910ljn.gif",
          "title": "看看课程互动",
          "price": 0,
          "state": 0
        },
        "submitted_num": "2",
        "reviewed_num": "1",
        "community_name": "",
        "teachers_list": [],
        "exercise_count": 14
      },
      {
        "exercise_book_id": "e62de378a12ff5_HQ2plubj",
        "title": "作业本推送",
        "resource_type": 1,
        "resource_id": "i_62b319dde4b069a5d9dd5c34",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320505l242vu910ljn.gif",
          "title": "图文信息采集测试2131",
          "price": 0,
          "state": 0
        },
        "submitted_num": "1",
        "reviewed_num": "1",
        "community_name": "",
        "teachers_list": [
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e62de378a12ff5_HQ2plubj",
            "user_id": "u_62349e0539d99_9jz3XabRCV",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "志杰  ",
            "wx_avatar": "http://wechatavator-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/u_62349e0539d99_9jz3XabRCV.png"
          }
        ],
        "exercise_count": 2
      },
      {
        "exercise_book_id": "e628aec675a719_Yt4r7Rjo",
        "title": "0526课程独立车勿动",
        "resource_type": 1,
        "resource_id": "i_627a2976e4b01c509aae6cad",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320594l2zx8us50tmf.jpeg",
          "title": "这是图文的名字3333333333333",
          "price": 0,
          "state": 0
        },
        "submitted_num": "4",
        "reviewed_num": "2",
        "community_name": "",
        "teachers_list": [
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e628aec675a719_Yt4r7Rjo",
            "user_id": "u_5efab5301891d_VrMMGZOkdn",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "云涛一叶",
            "wx_avatar": "http://wechatavator-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/u_5efab5301891d_VrMMGZOkdn.png"
          },
          {
            "app_id": "appdjJfqIoxxxxx",
            "exercise_book_id": "e628aec675a719_Yt4r7Rjo",
            "user_id": "u_62b29724a2623_ZP8S1r8RVx",
            "role_type": 0,
            "state": 0,
            "wx_nickname": "miya",
            "wx_avatar": "http://commonresource-xxxxxxxxxxxx.cdn.xiaoeknow.com/image/default.svg"
          }
        ],
        "exercise_count": 3
      },
      {
        "exercise_book_id": "e623d90cf0d8fc_gq5pS1fW",
        "title": "作业1752",
        "resource_type": 3,
        "resource_id": "v_623d9028e4b0f7cb7c76c2e6",
        "community_id": "-1",
        "resource_info": {
          "img_url": "http://wechatapppro-xxxxxxxxxxxx.file.myqcloud.com/appdjJfqIoxxxxx/image/compress/414320532l13bl2je09kr.jpg",
          "title": "视频1748--视频试看",
          "price": 1,
          "state": 0
        },
        "submitted_num": "1",
        "reviewed_num": "1",
        "community_name": "",
        "teachers_list": [],
        "exercise_count": 1
      }
    ],
    "z_move_mysql_read": 1
  }
}

results matching ""

    No results matching ""