Mark Staff Attendance
Sets attendance for up to 50 entries in one request. Each entry is one staff member on one date, and a request can mix staff and dates. Shared rules: see Writing data.
- All or nothing: if any entry is refused, nothing is saved.
errors.entrieslists the entries in request order, with{}for each one that was fine. datemust be within the last 60 days in the staff member’s time zone, not in the future, and not in a finalised payroll month.- Each staff member and date pair can appear only once per request. A repeat returns
400. - An entry without
leave_typeclears any leave already recorded for that day, as the app does.is_half_day_leaveneedsleave_type. - Saving recalculates the staff member’s payroll for the affected cycle, as the app does.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
entries
The attendance to set, 1 to 50 entries. Each entry is one staff member on one date.
Response
The attendance was saved.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
409
Conflict Error
