Allow the viewing of all leave applications
Currently the LeaveApplications endpoint in the Payroll API only lets you see approved leave applications. I believe it should show all leave applications (awaiting approval, approved, rejected) with an appropriate status for each.
A use case for this is to develop an automated shared calendar that lists all leave for an organisation, with leave awaiting approval in as "tentative" and approved leave in as "confirmed", allowing all employees to see at a glance if someone else is taking leave at the time they're going to request.
Indivarie Ubhayaratne commented
Need this feature to see rejected applications
Steve Butler commented
This seams a pretty basic function of a leave endpoint and I am disappointed that Xero have decided to leave such data out of the endpoint
Justin Dixon commented
This is pretty important.
Need to know the difference between leave approved, pending and rejected.
Please help me I am facing this issue when I am using Leave Application API
Error: You do not have permission to access this resource.
John Crane commented
Need this and the ability to alert on new requests
Bump. This would be a fantastic feature and solve the missing piece of the puzzle. Highly valued!
Thankyou for taking this feedback on.
need this functionality!
Mike Fieldhouse commented
I've been looking for the same functionality and a link to Google Calendar - currently we have to do this as a manual process. Good one to do.
Rana Saeed commented
This is a fairly basic functionality when you touch on employee leaves. Surprised there is no action taken on this request by Xero !
I'd like this because I want to create a tool to easily review/approve applications through the API.
Peter Sawyer commented
We definitely require more than what is delivered.
I personally would ignore items with "awaiting approval" and "rejected", but I really do need the ones that are "approved" because these will sit there until the pay date before the Payroll Admin gets to them to put them into a "scheduled" status, which is a bit late when trying to add to a calendar.
Using a get modified since will mean we will get the record again at a later date, with "scheduled" or "completed", but no harm there.
Hi, we also require this to be enabled so that we can integrate with Outlook properly.