Add Leave Record
Allow customer to add leave record for the user.
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_idstringRequired
unique_identifierstringRequired
emailstring | nullableOptional
staff_idstring | nullableOptional
leave_typestringRequired
countrystringRequired
langstringOptionalDefault:
ENentitlement_daysstringRequired
effective_datestring · date | nullableRequired
carried_daysstring | nullableOptional
carried_expiry_datestring · date | nullableOptional
notesstring | nullableOptional
Responses
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-ee-leave-detailsLast updated