获取打卡记录数据
POST
/cgi-bin/checkin/getcheckindata
服务端API企业内部开发第三方应用开发
第三方应用可获取应用可见范围内指定员工指定日期的打卡记录数据。
1.
2.
3.
4.
5.
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/90262
https://open.work.weixin.qq.com/api/doc/90001/90143/94205
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckindata?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"opencheckindatatype":3,"starttime":1492617600,"endtime":1492790400,"useridlist":["james","paul"]}'
响应示例响应示例
{
"errcode": 0,
"checkindata": [
{
"checkin_time": 0,
"wifiname": "string",
"notes": "string",
"lng": 0,
"location_detail": "string",
"groupid": 0,
"userid": "string",
"groupname": "string",
"deviceid": "string",
"checkin_type": "string",
"exception_type": "string",
"location_title": "string",
"wifimac": "string",
"mediaids": [
"string"
],
"timeline_id": 0,
"schedule_id": 0,
"lat": 0,
"sch_checkin_time": 0
}
],
"errmsg": "string"
}
请求参数
Query 参数
access_token
必需
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:48