Polska firma — tworzymy w Polsce 🇵🇱

Czas i frekwencja

Czas pracy, urlopy, harmonogramy i święta — rejestruj i odczytuj frekwencję programowo.

Czas pracy

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}

Pola schematu

PoleTyp
id integer
employee* string (iri-reference)
project* string (iri-reference)
date* string (date-time)
seconds* integer
description stringnull
projectTask string,null (iri-reference)
createdAt string (date-time)
updatedAt string (date-time)
deletedAt string,null (date-time)
deleted boolean

Urlop

Endpoints

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

Pola schematu

PoleTyp
id integer
type string
employee* string (iri-reference)
manager string (iri-reference)
description stringnull
dateFrom string (date-time)
dateTo string (date-time)
seconds integernull
requestedSeconds integernull
holidayRequests array
createdAt string (date-time)
updatedAt string (date-time)
deletedAt string,null (date-time)
employeeFullname string
employeeReversedFullname string
relatedEmployee string,null (iri-reference)
deleted boolean

Harmonogram

Endpoints

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

Pola schematu

PoleTyp
name string
description stringnull
numberOfDays integer
regular boolean
overwriteBankHolidays boolean
scheduleRanges array
scheduleEmployees array

Dzień wolny od pracy

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}

Pola schematu

PoleTyp
date* string
publicNotes stringnull
yearFrom integernull
yearTo integernull

Wniosek urlopowy

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

Pola schematu

PoleTyp
id integer
status string
employee string (iri-reference)
holiday string,null (iri-reference)
type* string
description stringnull
dateFrom string (date-time)
dateTo string (date-time)
seconds integernull
requestedSeconds integernull
holidayRequestLogs array
createdAt string (date-time)
updatedAt string (date-time)
requestedAt datetime

Rodzaj urlopu

Endpoints

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

Pola schematu

PoleTyp
status string
name* string
color string
descriptionRequired boolean
icon stringnull

Limit dni urlopowych

Endpoints

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

Pola schematu

PoleTyp
id integer
employee* string (iri-reference)
days* integer
holidayType string,null (iri-reference)
variant* string
allowRequestWhenUsed boolean
dateFrom string (date-time)
notes stringnull
createdAt string (date-time)
updatedAt string (date-time)
relatedEmployee string,null (iri-reference)

Domyślny limit dni urlopowych

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}

Pola schematu

PoleTyp
id string
holidayType string (iri-reference)
days* integer
variant* string
allowRequestWhenUsed boolean
dateFrom string (date-time)
createdAt string (date-time)
updatedAt string (date-time)

Pracownik harmonogramu

Endpoints

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

Pola schematu

PoleTyp
employee string (iri-reference)
schedule string (iri-reference)
dateFrom string (date-time)
dateTo string,null (date-time)
type string
notifiedAt string,null (date-time)

Zakres harmonogramu

Endpoints

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

Pola schematu

PoleTyp
id string
schedule object
day integer
timeFrom integer
timeTo integer
name stringnull