| Param name | Description |
|---|---|
|
id
required |
Work-time group ID. Validations:
|
|
work_time_group
required |
Work-time group parameters. Validations:
|
|
work_time_group[name]
required |
Work-time group name. Must be unique within the company. Validations:
|
|
work_time_group[hide_flex_time]
optional |
Hide flex time. The total flex balance will be 0 Validations:
|
|
work_time_group[labor_agreement_attributes]
optional |
Work-time group’s labor agreement. If absent, company’s labor agreement will be used. Validations:
|
|
work_time_group[labor_agreement_attributes][working_hours_per_week]
optional |
N of working hours per week, e.g. Validations:
|
|
work_time_group[labor_agreement_attributes][working_weekdays]
optional |
Working weekdays. 0 - Mon, 1 - Tue, …, 6 - Sun. Default: Validations:
|
|
work_time_group[labor_agreement_attributes][vacation_days_per_year]
optional |
N of vacation days per year, e.g. Validations:
|
|
work_time_group[long_absence_types_attributes]
optional |
Work-time group’s long absence types. There is no fallback to company’s long absence types. Validations:
|
|
work_time_group[long_absence_types_attributes][name]
optional |
Long absence type’s name. Must be unique within the work-time group. Validations:
|
|
work_time_group[long_absence_types_attributes][separate_saldo]
optional |
Separate saldo will be calculated for this absence type, based on Compensation Time in user settings. Validations:
|
|
work_time_group[long_absence_types_attributes][flex_leave]
optional |
Flex-leave absence type. Counted as informational; does not reduce mandatory work time and is excluded from payroll. Validations:
|
|
work_time_group[absence_approval_settings_attributes]
optional |
Work-time group’s absence approval settings. Must be configured for Vacations/Sick leaves for the corresponding absence types to be created successfully. There is no fallback to company’s absence approval settings. Validations:
|
|
work_time_group[absence_approval_settings_attributes][absence_type]
optional |
Absence type. Validations:
|
|
work_time_group[absence_approval_settings_attributes][absence_subtype_id]
optional |
Long absence type ID. Only for Validations:
|
|
work_time_group[absence_approval_settings_attributes][approval_type]
optional |
Approval type. Default: Validations:
|
|
work_time_group[absence_approval_settings_attributes][approver_ids]
optional |
Approver IDs. Only for Validations:
|