Update an attendance for a given attendance id.

Updates the attendance entry specified by attendanceId. Only the fields sent in the body are updated.
Overnight: When updating endTime to a time on the next calendar day (e.g. changing an open entry to close at 06:00 next day), send endTime = 06:00:00 and isOvernightShift = true. For overnight shifts, endTime cannot be later than 18:00; otherwise the API returns 400 with message "For overnight shifts, end time cannot be later than 18:00."
Same-day rule: When isOvernightShift is not set or is false, endTime must be after startTime (same calendar day). If you send an end time earlier than start time (e.g. 22:00 start and 06:00 end) without isOvernightShift = true, the API returns 400 with message "When isOvernightShift is not set, endTime must be after startTime. For shifts that end the next day, set isOvernightShift to true."

Language
URL
Click Try It! to start a request and see the response here!