Zeit & Anwesenheit

Arbeitszeit, Urlaub, Zeitpläne und Feiertage — protokollieren und lesen Sie Anwesenheitsdaten programmatisch.

Arbeitszeit

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}

Schemafelder

FeldTyp
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

Urlaub

Endpoints

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

Schemafelder

FeldTyp
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

Zeitplan

Endpoints

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

Schemafelder

FeldTyp
namestring
descriptionstringnull
numberOfDaysinteger
regularboolean
overwriteBankHolidaysboolean
scheduleRangesarray
scheduleEmployeesarray

Feiertag

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}

Schemafelder

FeldTyp
date*string
publicNotesstringnull
yearFromintegernull
yearTointegernull

Urlaubsantrag

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

Schemafelder

FeldTyp
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

Urlaubsart

Endpoints

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

Schemafelder

FeldTyp
statusstring
name*string
colorstring
descriptionRequiredboolean
iconstringnull

Urlaubstage-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}

Schemafelder

FeldTyp
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)

Standard-Urlaubstage-Limit

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}

Schemafelder

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

Dienstplan-Mitarbeiter

Endpoints

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

Schemafelder

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

Dienstplanzeitraum

Endpoints

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

Schemafelder

FeldTyp
idstring
scheduleobject
dayinteger
timeFrominteger
timeTointeger
namestringnull