Add Leave Type

Allow customers to add specific leave type by country.

  • day_type: Working/Calendar

  • require_attachment: Whether an attachment is required when applying for this leave type.

  • allow_negative_balance: Whether this leave type allows a negative balance.

post

Authentication: required

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_idinteger · int64Required
countrystringRequired
langstringOptionalDefault: EN
leave_typestringRequired
day_typestringOptional
notesstringOptional
require_attachmentbooleanOptionalDefault: false
allow_negative_balancebooleanOptionalDefault: false
system_updatebooleanOptionalDefault: false
Responses
post
/add-leave-type

Last updated