REST API or function to get if the employee Eligible or not.
Hi All,
I'm integrating with another system and facing a challenge when an employee submits a leave request. The issue arises because the employee is in their probation period, and the ERP system can't process the leave request due to eligibility constraints. However, in the other system, there are no eligibility constraints, and all leave options are visible to the user.
Is there a REST API or function available to check if a specific employee meets the eligibility criteria for leave?
Thanks.
0