The endpoint responsible for creating a leave request has been expanded to include a parameter that allows creating a request with any status.
The default status will remain 'Accepted'.
The supported new statuses are:
If a request is sent with the status 'For Acceptance' and the request type has automatic acceptance, such request will be saved as accepted automatically.
API Documentation: https://tomhrm.gitbook.io/api-tomhrm/