Add Leave Type
Allow customers to add specific leave type by country.
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_idinteger · int64Required
countrystringRequired
langstringOptionalDefault:
ENleave_typestringRequired
day_typestringOptional
notesstringOptional
require_attachmentbooleanOptionalDefault:
falseallow_negative_balancebooleanOptionalDefault:
falsesystem_updatebooleanOptionalDefault:
falseResponses
200
Success!
application/json
400
Input Error. Check the request payload for issues.
401
Unauthorized
403
Access denied. Additional privileges are needed access the requested resource.
404
Not Found. The requested resource does not exist.
429
Rate Limited. Too many requests.
500
Unexpected error
post
/add-leave-typeLast updated