v1

latestOpenAPI 3.0.02026-07-14132334.4 KB

This endpoint is responsible for updating attendance data for the company employees. Attributes are not required and if not specified, the current value will be used. It is not possible to change the employee id.

patch/company/attendances/{id}

Path parameters

idinteger required

ID of the attendance period to update

Request body

breakinteger

Break in minutes

commentstring

Optional comment

datestring date

Attendance date as YYYY-MM-DD

end_timestring

End time as HH:MM

start_timestring

Start time as HH:MM

Example request

{
  "break": 35,
  "comment": null,
  "date": "2019-03-17",
  "end_time": "12:00",
  "start_time": "9:00"
}

Response

Success response

dataobject required
successboolean required