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.
Dylan Halliday commented
please do this
Dale Nursten commented
This is a critical feature! I also need to automate leave approval process and I need to know when leave has been requested.
This is a critical feature! Right now our linked systems cannot tell if a leave application is deleted - unless we regularly compare the entire list.
Oliver Wittet commented
Trying to automate the leave approval process by detecting "clashes" with pending leave applications and this is quite important for that. Bit odd it's not there in the first place actually.
Ariel Rahmane commented
Need this feature to create Leave Requests without bypassing the approval process
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.