企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[info] 查询员工智能考勤机列表 调用本接口,查询员工智能考勤机列表。 调用本接口,可获取员工智能考勤机列表,包括考勤机名称、考勤机类型名称等。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/query-the-list-of-employee-intelligent-attendance-machines) ***** * 代码: ~~~ $userid = 'manager3451'; $offset = 0; $size = 10; $res = SmartDevice::getByUserId($userid, $offset, $size); echo $res; ~~~ * 返回: ``` { "errcode": 0, "errmsg": "ok", "result": { "hasMore": false, "machineList": [ { "deviceName": "东门考勤机", "deviceid": "abc123456", "devid": 123456, "productName": "M1X" } ] } } ```