
| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 是 | 查询企业考勤数据权限 | 调试 |
| 第三方企业应用 | 是 | 查询企业考勤数据权限 | 调试 |
| 第三方个人应用 | 否 | — | — |
curl --location --request POST 'https://oapi.dingtalk.com/attendance/listRecord?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"checkDateFrom": "2020-09-07 00:00:00",
"userIds": [
"user456",
"user123"
],
"isI18n": "false",
"checkDateTo": "2020-09-08 00:00:00"
}'{
"errcode": 0,
"errmsg": "ok",
"recordresult": [
{
"gmtModified": 1599454972000,
"baseCheckTime": 1599442200000,
"groupId": 685935028,
"timeResult": "Normal",
"deviceId": "67da0fxxxx",
"approveId": 2376620852,
"userAccuracy": 65,
"classId": 677995086,
"workDate": 1599408000000,
"bizId": "E171DCCExxxx",
"planId": 144872188720,
"id": 43047156750,
"checkType": "OnDuty",
"planCheckTime": 1599442200000,
"corpId": "dinge8axxxx5384",
"locationResult": "Outside",
"userLongitude": 120.017139,
"isLegal": "N",
"procInstId": "59f77e82-xxxx",
"gmtCreate": 1599441505000,
"userId": "manager4220",
"outsideRemark": "拜访客户",
"userAddress": "浙江省杭州市",
"userLatitude": 30.285413,
"sourceType": "USER",
"userCheckTime": 1599441505000,
"locationMethod": "MAP"
},
{
"gmtModified": 1599450909000,
"deviceId": "67da0fxxxx",
"userAccuracy": 65,
"workDate": 1599408000000,
"bizId": "E171DCCExxxx",
"id": 43055377426,
"invalidRecordType": "Other",
"corpId": "dinge8axxxx5384",
"userLongitude": 120.017019,
"gmtCreate": 1599450909000,
"invalidRecordMsg": "需要二次确认",
"userId": "manager4220",
"userAddress": "浙江省杭州市",
"userLatitude": 30.285622,
"sourceType": "USER",
"userCheckTime": 1599450909000,
"locationMethod": "MAP"
}
]
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通

扫码加入交流群