This API endpoint allows you to retrieve a list of leave types arranged in descending order based on their ID simply by providing a string query. This endpoint is a valuable tool that simplifies the process of sorting through leave types data, facilitating easy access to the desired information.
For greater precision in your request, you can include additional parameters to refine the search and obtain more specific results.
To retrieve a list of items based on a particular query, you must provide a request parameter. If no parameters are provided in the request, the API will return a list of all available items.