企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[info] 获取打卡详情 调用本接口,获取企业内员工的实际打卡详情。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/attendance-clock-in-record-is-open) ***** * 代码: ~~~ $workDateFrom= '2022-10-20 00:00:00'; $workDateTo = '2022-10-26 00:00:00'; $userIdList = [ 'manager3451', ]; $offset = 0; $limit = 10; $isI18n = false; $res = Clock::getList($workDateFrom, $workDateTo, $userIdList, $offset, $limit, $isI18n); echo $res; ~~~ * 返回: ``` { "errcode": 0, "hasMore": false, "errmsg": "ok", "recordresult": [ { "checkType": "OnDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666227600000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666195200000, "sourceType": "SYSTEM", "userCheckTime": 1666227600000, "planId": 437360727696, "id": 260694657296 }, { "checkType": "OffDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666260000000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666195200000, "sourceType": "SYSTEM", "userCheckTime": 1666260000000, "planId": 437360727697, "id": 260815376208 }, { "checkType": "OffDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666346400000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666281600000, "sourceType": "SYSTEM", "userCheckTime": 1666346400000, "planId": 437360727699, "id": 258515983149 }, { "checkType": "OnDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666314000000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666281600000, "sourceType": "SYSTEM", "userCheckTime": 1666314000000, "planId": 437360727698, "id": 260014530261 }, { "checkType": "OffDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666605600000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666540800000, "sourceType": "SYSTEM", "userCheckTime": 1666605600000, "planId": 437360727705, "id": 260586514985 }, { "checkType": "OnDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666573200000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666540800000, "sourceType": "SYSTEM", "userCheckTime": 1666573200000, "planId": 437360727704, "id": 261401119984 }, { "checkType": "OffDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666692000000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666627200000, "sourceType": "SYSTEM", "userCheckTime": 1666692000000, "planId": 437360727707, "id": 260063568735 }, { "checkType": "OnDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666659600000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666627200000, "sourceType": "SYSTEM", "userCheckTime": 1666659600000, "planId": 437360727706, "id": 261653437020 }, { "checkType": "OnDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666746000000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666713600000, "sourceType": "SYSTEM", "userCheckTime": 1666746000000, "planId": 438003767968, "id": 259335482107 }, { "checkType": "OffDuty", "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "locationResult": "NotSigned", "baseCheckTime": 1666778400000, "groupId": 1010275569, "timeResult": "NotSigned", "userId": "manager3451", "workDate": 1666713600000, "sourceType": "SYSTEM", "userCheckTime": 1666778400000, "planId": 438003767969, "id": 261089031762 } ] } ```