Skip to main content
POST
Creates a new vacation configuration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
dayType
enum<string>
required
Available options:
business_day,
calendar_day
pickMode
enum<string>
required
Available options:
by_days,
by_time_range
creationDateNextYear
string
required
needsValidation
boolean
required
employeeRequestDenyExcessDaysOff
boolean
required
hoursQuantityConfigured
boolean
required
allowFreeHoursSelection
boolean
required
employeeRequestEnabled
boolean
required
configurationType
enum<string>
required
Available options:
max_days,
seniority_days,
unlimited_days
requestVacationFrom
string<Y-m>
renewalPeriod
enum<string>
Available options:
working_year,
calendar_year,
each_month
maxDaysOff
number<integer>
maxDateToTakeVacations
number<integer>
halfDayVacationConfiguration
enum<string>
Available options:
weekly_average,
daily_average
enjoyMonthPeriod
number<integer>
notAllowedDateRanges
object[]

Response

200 - application/json

Array of Objects

data
object
meta
object