Time & attendance

Work time, leave, schedules and holidays — log and read attendance programmatically.

Work Time

Endpoints

GET/employee-working-hours
POST/employee-working-hours
GET/employee-working-hours/{id}
PATCH/employee-working-hours/{id}
DELETE/employee-working-hours/{id}
GET/work-times
POST/work-times
GET/work-times/{id}
PATCH/work-times/{id}
DELETE/work-times/{id}

Schema fields

FieldType
idinteger
employee*string (iri-reference)
project*string (iri-reference)
date*string (date-time)
seconds*integer
descriptionstringnull
projectTaskstring,null (iri-reference)
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
deletedboolean

Holiday

Endpoints

GET/holidays
POST/holidays
GET/holidays/{id}
PATCH/holidays/{id}
DELETE/holidays/{id}
GET/holidays/active

Schema fields

FieldType
idinteger
typestring
employee*string (iri-reference)
managerstring (iri-reference)
descriptionstringnull
dateFromstring (date-time)
dateTostring (date-time)
secondsintegernull
requestedSecondsintegernull
holidayRequestsarray
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
employeeFullnamestring
employeeReversedFullnamestring
relatedEmployeestring,null (iri-reference)
deletedboolean

Schedule

Endpoints

GET/schedules
POST/schedules
GET/schedules/{id}
PATCH/schedules/{id}
GET/schedules/plan/{date}

Schema fields

FieldType
namestring
descriptionstringnull
numberOfDaysinteger
regularboolean
overwriteBankHolidaysboolean
scheduleRangesarray
scheduleEmployeesarray

Bank Holiday

Endpoints

GET/bank-holidays
POST/bank-holidays
GET/bank-holidays/{id}
PATCH/bank-holidays/{id}
DELETE/bank-holidays/{id}
GET/holiday-days-frees
POST/holiday-days-frees
GET/holiday-days-frees/{id}
PATCH/holiday-days-frees/{id}
DELETE/holiday-days-frees/{id}

Schema fields

FieldType
date*string
publicNotesstringnull
yearFromintegernull
yearTointegernull

Holiday Request

Endpoints

GET/holiday-requests
POST/holiday-requests
GET/holiday-requests/{id}
PATCH/holiday-requests/{id}
DELETE/holiday-requests/{id}
POST/holiday-requests/{id}/approve
POST/holiday-requests/{id}/reject

Schema fields

FieldType
idinteger
statusstring
employeestring (iri-reference)
holidaystring,null (iri-reference)
type*string
descriptionstringnull
dateFromstring (date-time)
dateTostring (date-time)
secondsintegernull
requestedSecondsintegernull
holidayRequestLogsarray
createdAtstring (date-time)
updatedAtstring (date-time)
requestedAtdatetime

Holiday Type

Endpoints

GET/holiday-types
POST/holiday-types
GET/holiday-types/{id}
PATCH/holiday-types/{id}

Schema fields

FieldType
statusstring
name*string
colorstring
descriptionRequiredboolean
iconstringnull

Holiday Days Limit

Endpoints

GET/holiday-days-limits
POST/holiday-days-limits
GET/holiday-days-limits/{id}
PATCH/holiday-days-limits/{id}
DELETE/holiday-days-limits/{id}

Schema fields

FieldType
idinteger
employee*string (iri-reference)
days*integer
holidayTypestring,null (iri-reference)
variant*string
allowRequestWhenUsedboolean
dateFromstring (date-time)
notesstringnull
createdAtstring (date-time)
updatedAtstring (date-time)
relatedEmployeestring,null (iri-reference)

Holiday Days Limit Default

Endpoints

GET/holiday-days-limit-defaults
POST/holiday-days-limit-defaults
GET/holiday-days-limit-defaults/{id}
PATCH/holiday-days-limit-defaults/{id}
DELETE/holiday-days-limit-defaults/{id}

Schema fields

FieldType
idstring
holidayTypestring (iri-reference)
days*integer
variant*string
allowRequestWhenUsedboolean
dateFromstring (date-time)
createdAtstring (date-time)
updatedAtstring (date-time)

Schedule Employee

Endpoints

GET/schedule-employees
POST/schedule-employees
GET/schedule-employees/{id}
PATCH/schedule-employees/{id}
DELETE/schedule-employees/{id}

Schema fields

FieldType
employeestring (iri-reference)
schedulestring (iri-reference)
dateFromstring (date-time)
dateTostring,null (date-time)
typestring
notifiedAtstring,null (date-time)

Schedule Range

Endpoints

GET/schedule-ranges
POST/schedule-ranges
GET/schedule-ranges/{id}
PATCH/schedule-ranges/{id}
DELETE/schedule-ranges/{id}

Schema fields

FieldType
idstring
scheduleobject
dayinteger
timeFrominteger
timeTointeger
namestringnull