TOOL API

attendance__batch_get_employee_shifts

Batch-queries attendance shift records for multiple employees over a date range, returning each record's userId, workDate, checkType, planCheckTime and isRest flag. The range cannot exceed 7 days and must fall within the last 180 days; pass at most 50 userIds per call. Only employees the caller has permission to view are returned.

enterpriseOAuth1 credits

Call information

Tool slug
dingtalk.attendance__batch_get_employee_shifts
Provider
DingTalk
Average response
0 ms
Calls in 7 days
0

Input parameters

fromDateTimerequired

起始日期,Unix时间戳,单位毫秒。 开始时间和结束时间的间隔不能超过7天。 查询时间限制距今180天内。

toDateTimerequired

结束日期,Unix时间戳,单位毫秒。开始时间和结束时间的间隔不能超过7天。 查询时间限制距今180天内。

userIdsrequired

要查询的人员userId列表,多个userId用列表表示,一次最多可传50个。