| Param name | Description |
|---|---|
|
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[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[labor_agreement_attributes][vacation_year_start]
optional |
Vacation year start date. The year component does not matter. 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[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:
|