Skip to content

获取打卡活动下的打卡日记列表

拥有此API的权限集
打卡管理-查询

请求方式及url

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

接口调试

请求参数
响应结果
暂无响应数据

请求参数

参数名必选类型说明
access_tokenstring专属token
activity _idstring打卡活动id
sort_typeint排序类型(按日记发表时间-publish_time排序),1-降序,0-升序
page_indexint页码
page_sizeint每页条数(不超过100)
created_time_startstring起始时间(Y-m-d H:i:s)
created_time_endstring结束时间(Y-m-d H:i:s)

请求示例

 {
    "access_token": "xe_xxxxx",
    "activity _id": "ac_62d50e63008cd_mRBZXQvD",
    "sort_type": 0,
    "page_index": 1,
    "page_size": 2,
    "created_time_start": "2022-07-18 15:43:51",
    "created_time_end": "2022-07-18 15:43:51"
}

返回参数

参数名类型说明
codeint返回码
msgstring返回信息
dataobject返回数据
data.user_idstring学员用户id
data.page_indexint当前页码
data.page_sizeint每页数量
data.total_countint学员日记总数
data.page_countarray总共多少页
data.activity_diary_listarray学员打卡日记列表

学员打卡日记列表data.activity_diary_list

参数名类型说明
content_typeint打卡日记内容类型,0-普通文本,1-AI语音测评打卡
text_contentstring/object打卡日记文本,若content_type=1时,该字段类型为object类型
idstring日记id
clock_theme_idstring打卡活动下,日记的任务id
publish_timestring日记发表时间
file_recordsarray上传的微信文件数组,如ppt文件
img_urlsarray学员上传的图片链接数组
theme_titlestring日记任务的标题

上传的微信文件信息 file_records

参数名类型说明
namestring文件名称
sizeint文件大小,单位:字节(B)
urlstring文件链接
fileIconTypestring文件类型,如pdf,word

打卡日记object text_content

参数名类型说明
total_scoreint总分
fluency_scoreint流利度分
integrity_scoreint完整度分
accuracy_scoreint准确度分
word_scorearray每个单词的得分数组
word_score[].contentstring单词内容
word_score[].total_scoreint单词得分
word_score[].colorstring单词颜色,normal-黑色,green-80分及以上绿色,red-60分以下红色

返回示例

当content_type=0时:

{
    "code": 0,
    "msg": "Success",
    "data": {
    "activity_diary_list": [
     {
        "user_id": "u_6128588b23d07_e2kTYwYCZK",
        "content_type": 0,
        "text_content": "666666",
        "id": "d_62d50f37d5dab_KOHsBwaE",
        "clock_theme_id": "w_62d50edbc76aa_aZ5kdnZu",
        "publish_time": "2022-07-18 15:43:51",
        "file_records": [
         {
            "path": "wxfile://tmp_374bd2c97fb227f49a47fc648897d2b71aa16xxxxxxxx.pdf",
            "name": "0beb871ac31a49d1d34c88a3883002c6.pdf",
            "size": 3006097,
            "type": "file",
            "time": 1635261764,
            "fileIconType": "pdf",
            "fileType": "pdf",
            "id": "82065761c0f005c694e8ee4f318ea860",
            "uploadStatus": 1,
            "progress": "100%",
            "url": "https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-107429941658491229608.pdf",
            "originalUrl": "https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-107429941658491229608.pdf",
            "vid": "d667f89af66c49b04a9bd28f55a126f51658491236"
         }
         ],
        "img_urls": [
"http://littleclockproduct-125xxxxxxx.file.myqcloud.com/app9mjxaz193015/image/cHVuY2hDYXJkLWg1aW1nLXVfNjEyODU4OGIyM2QwN19lMmtUWXdZQ1pLLTc5NDk1NzQ1.jpeg",
"https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-313420911658198084647.jpg"
                    ],
        "theme_title": "作业1"
     }
     ],
    "page_index": 1,
    "page_size": 2,
    "total_count": 3,
    "page_count": 2
    }
}

当content_type=1时:

{
    "code": 0,
    "msg": "Success",
    "data": {
    "activity_diary_list": [
     {
        "user_id": "u_6128588b23d07_e2kTYwYCZK",
        "content_type": 1,
        "text_content":  {
            "total_score": 81,
            "fluency_score": 98,
            "integrity_score": 100,
            "accuracy_score": 78,
            "word_score": [
             {
                 "content": "hello",
                 "total_score": 78,
                 "dp_message": 0,
                 "color": "normal",
                 "type": 0
             }
             ],
            "is_rejected": false,
            "except_info": "",
            "requestId": "1657593524193996364985850433536",
            "status": null
        },
        "id": "d_62d50f37d5dab_KOHsBwaE",
        "clock_theme_id": "w_62d50edbc76aa_aZ5kdnZu",
        "publish_time": "2022-07-18 15:43:51",
        "file_records": [
         {
            "path": "wxfile://tmp_374bd2c97fb227f49a47fc648897d2b71aa163e0xxxxxxxx.pdf",
            "name": "0beb871ac31a49d1d34c88a3883002c6.pdf",
            "size": 3006097,
            "type": "file",
            "time": 1635261764,
            "fileIconType": "pdf",
            "fileType": "pdf",
            "id": "82065761c0f005c694e8ee4f318ea860",
            "uploadStatus": 1,
            "progress": "100%",
            "url": "https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-107429941658491229608.pdf",
            "originalUrl": "https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-107429941658491229608.pdf",
            "vid": "d667f89af66c49b04a9bd28f55a126f51658491236"
         }
         ],
        "img_urls": [
"http://littleclockproduct-125xxxxxxx.file.myqcloud.com/app9mjxaz193015/image/cHVuY2hDYXJkLWg1aW1nLXVfNjEyODU4OGIyM2QwN19lMmtUWXdZQ1pLLTc5NDk1NzQ1.jpeg",
"https://littleclockproduct-125xxxxxxx.file.myqcloud.com/upload_img/eclock-file-u_6128588b23d07_e2kTYwYCZK-313420911658198084647.jpg"
                    ],
        "theme_title": "作业1"
     }
     ],
    "page_index": 1,
    "page_size": 2,
    "total_count": 3,
    "page_count": 2
    }
}