from_time / to_time 按 device_sync_record.created_at 过滤,使用 10 位 Unix 秒级时间戳。sync_time 为同步记录创建时间,使用 10 位 Unix 秒级时间戳。{
"offset": 0,
"limit": 20,
"user_id": 5101,
"user_name": "杨帆",
"job_number": "",
"device_id": 104,
"from_time": 1767532800,
"to_time": 1767619200
}curl --location '/openapi/sync/log/employee?access_token=undefined' \
--header 'Content-Type: application/json' \
--data '{
"offset": 0,
"limit": 20,
"user_id": 5101,
"user_name": "杨帆",
"job_number": "",
"device_id": 104,
"from_time": 1767532800,
"to_time": 1767619200
}'{
"code": 0,
"message": "success",
"count": 1,
"data": [
{
"id": 45437,
"device_id": 104,
"device_name": "B7B6618754EF87F3",
"user_id": 5101,
"user_name": "杨帆",
"job_number": "",
"sync_status": 0,
"sync_time": 1767620026,
"error_message": "用户编号:5101, 新增时发生错误:[YBY] 注册人员失败: 请求超时",
"operation_type": "同步"
}
]
}