家长读取学生的留言记录
GET
https://api2.hik-cloud.com/api/v1/edu/wechat/leaveMessage/actions/getLeavingAMessageByStudentId
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/edu/wechat/leaveMessage/actions/getLeavingAMessageByStudentId' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNo": 1,
"pageSize": 10,
"studentId": "11a795f4a25d4de09edd091f28747efc",
"startTime": "2020-10-26T08:00:00+08:00",
"endTime": "2020-10-27T08:00:00+08:00",
"pageType": "next",
"rowKey": "20191101000154c245968c0db38e8433cc22",
"dateLong": 1572834119000,
"schoolId": "11a795f4a25d4de09333391f28747efc"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"pageNo": 1,
"pageSize": 10,
"totalPage": 2,
"total": 11,
"hasNextPage": false,
"hasPreviousPage": true,
"firstPage": false,
"lastPage": true,
"rows": [
{
"rowKey": "2019100100010000c73c53434gga34",
"dateLong": 1603385141499,
"dateTime": "2020-05-02T12:06:00+08:00",
"parentId": "00a795f4a25d4de09edd091f28747eb4",
"parentName": "张XXX",
"studentId": "00a795f4a25d4de09edd091f28741234",
"studentName": "张XXX",
"dataType": 0,
"content": "放学爸爸来接你",
"sendPersonType": 0,
"fileUrl": "",
"isRead": 0,
"voiceTime": 0
}
]
}
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json