Using the new /payroll.xro/1.0/LeaveApplications/v2 endpoint for AU Payroll doesn't include LeaveTypeID properties for leave applications that have REQUESTED or REJECTED statuses.
To Reproduce
Steps to reproduce the behavior:
Connect the Xero API Explorer to an organisation that includes requested and/or rejected leave applications.
All leave applications returned should include a LeaveTypeID property.
Note: Loading any of the leave applications that are missing the LeaveTypeID individually with the /payroll.xro/1.0/LeaveApplications/{LeaveApplicationID} endpoint correctly includes in the LeaveTypeID.
SDK:
Describe the bug
Using the new
/payroll.xro/1.0/LeaveApplications/v2
endpoint for AU Payroll doesn't includeLeaveTypeID
properties for leave applications that haveREQUESTED
orREJECTED
statuses.To Reproduce
Steps to reproduce the behavior:
Expected behavior
All leave applications returned should include a
LeaveTypeID
property.Note: Loading any of the leave applications that are missing the
LeaveTypeID
individually with the/payroll.xro/1.0/LeaveApplications/{LeaveApplicationID}
endpoint correctly includes in theLeaveTypeID
.Screenshots
N/A
Additional context
N/A