Час та відвідування

Робочий час, відпустки, графіки та свята — логуйте та читайте відвідування програмно.

Цей довідник згенеровано зі схеми API. Описи полів і будь-який текст, який ще не перекладено, показано англійською.

Робочий час

Endpoints

Робочий час: 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}

Поля схеми

Робочий час: Поля схеми
ПолеТип
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

Свято

Endpoints

Свято: Endpoints
МетодШлях
GET/holidays
POST/holidays
GET/holidays/{id}
PATCH/holidays/{id}
DELETE/holidays/{id}
GET/holidays/active

Поля схеми

Свято: Поля схеми
ПолеТип
idinteger
type*string
employee*string (iri-reference)
managerstring (iri-reference)
descriptionstringnull
dateFrom*string (date-time)
dateTo*string (date-time)
secondsintegernull
requestedSecondsintegernull
notifyboolean
payrollEligibleboolean
holidayRequestsarray
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
employeeFullnamestring
employeeReversedFullnamestring
relatedEmployeestring,null (iri-reference)
deletedboolean

Графік

Endpoints

Графік: Endpoints
МетодШлях
GET/schedules
POST/schedules
GET/schedules/{id}
PATCH/schedules/{id}
GET/schedules/plan/{date}

Поля схеми

Графік: Поля схеми
ПолеТип
namestring
descriptionstringnull
numberOfDaysinteger
regularboolean
overwriteBankHolidaysboolean
scheduleRangesarray
scheduleEmployeesarray

Офіційне свято

Endpoints

Офіційне свято: 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}

Поля схеми

Офіційне свято: Поля схеми
ПолеТип
date*string
publicNotesstringnull
yearFromintegernull
yearTointegernull

Заявка на відпустку

Endpoints

Заявка на відпустку: 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

Поля схеми

Заявка на відпустку: Поля схеми
ПолеТип
idinteger
statusstring
employeestring (iri-reference)
holidaystring,null (iri-reference)
type*string
descriptionstringnull
dateFrom*string (date-time)
dateTo*string (date-time)
secondsintegernull
requestedSecondsintegernull
holidayRequestLogsarray
createdAtstring (date-time)
updatedAtstring (date-time)
requestedAtdatetime

Тип відпустки

Endpoints

Тип відпустки: Endpoints
МетодШлях
GET/holiday-types
POST/holiday-types
GET/holiday-types/{id}
PATCH/holiday-types/{id}

Поля схеми

Тип відпустки: Поля схеми
ПолеТип
statusstring
name*string
colorstring
descriptionRequiredboolean
iconstringnull
reducesWorkingTimeboolean
requiresApprovalboolean

Ліміт днів відпустки

Endpoints

Ліміт днів відпустки: Endpoints
МетодШлях
GET/holiday-days-limits
POST/holiday-days-limits
GET/holiday-days-limits/{id}
PATCH/holiday-days-limits/{id}
DELETE/holiday-days-limits/{id}

Поля схеми

Ліміт днів відпустки: Поля схеми
ПолеТип
idinteger
employee*string (iri-reference)
seconds*integer
holidayTypestring,null (iri-reference)
variant*string
allowRequestWhenUsedboolean
dateFromstring (date-time)
notesstringnull
createdAtstring (date-time)
updatedAtstring (date-time)
notApplicableReasonstringnull
vacationLimitboolean
relatedEmployeestring,null (iri-reference)

Ліміт днів відпустки за замовчуванням

Endpoints

Ліміт днів відпустки за замовчуванням: 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}

Поля схеми

Ліміт днів відпустки за замовчуванням: Поля схеми
ПолеТип
idstring
holidayTypestring (iri-reference)
seconds*integer
variant*string
allowRequestWhenUsedboolean
dateFromstring (date-time)
createdAtstring (date-time)
updatedAtstring (date-time)

Графік співробітника

Endpoints

Графік співробітника: Endpoints
МетодШлях
GET/schedule-employees
POST/schedule-employees
GET/schedule-employees/{id}
PATCH/schedule-employees/{id}
DELETE/schedule-employees/{id}

Поля схеми

Графік співробітника: Поля схеми
ПолеТип
employeestring (iri-reference)
schedulestring (iri-reference)
dateFromstring (date-time)
dateTostring,null (date-time)
typestring
notifiedAtstring,null (date-time)

Діапазон графіка

Endpoints

Діапазон графіка: Endpoints
МетодШлях
GET/schedule-ranges
POST/schedule-ranges
GET/schedule-ranges/{id}
PATCH/schedule-ranges/{id}
DELETE/schedule-ranges/{id}

Поля схеми

Діапазон графіка: Поля схеми
ПолеТип
idstring
scheduleobject
dayinteger
timeFrominteger
timeTointeger
namestringnull

Відрядження

Endpoints

Відрядження: Endpoints
МетодШлях
GET/delegations
POST/delegations
GET/delegations/{id}
PATCH/delegations/{id}
DELETE/delegations/{id}

Поля схеми

Відрядження: Поля схеми
ПолеТип
idinteger
employee*string (iri-reference)
projectstring,null (iri-reference)
projectTaskstring,null (iri-reference)
dateFrom*string (date-time)
dateTo*string (date-time)
secondsintegernull
descriptionstringnull
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
daysinteger
deletedboolean