A leave-request is the resource that represents the state of the approval process of one or more leave resources. You can only create leave-requests containing a single leave through the Lucca API, but when created through the app, you can expect a 1-N relationship between leave-requests and leaves.
The leave-request status attribute indicates the final result in regards to the approval process.
Approval is the result of the decision-making process of one or more employees. The list of expected decision-makers is determined by the application settings.
Each expected approver makes his/her decision, which results in the creation of a leave- request-decision resource.
Describes the status of the request in regard to the approval process.
pending: Request has not yet been approved by all expected decision-makers.approved: Request has been approved.denied: Request has been denied through a denial decision.pending, approved, rejected Reference to an employee resource.
Employee who is expected to take a decision regarding this leave-request.