XeroAPI / xero-node

Xero Node SDK for OAuth 2.0 generated from XeroAPI/Xero-OpenAPI
http://developer.xero.com/
MIT License
192 stars 155 forks source link

The LeaveApplicationV2 endpoint doesn't include LeaveTypeID #645

Closed haydn closed 11 months ago

haydn commented 1 year ago

SDK:

Describe the bug

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:

  1. Connect the Xero API Explorer to an organisation that includes requested and/or rejected leave applications.
  2. Get all the leave applications using the v2 endpoint.

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 the LeaveTypeID.

Screenshots

N/A

Additional context

N/A

github-actions[bot] commented 1 year ago

PETOSS-314

github-actions[bot] commented 1 year ago

Thanks for raising an issue, a ticket has been created to track your request

rdemarco-xero commented 11 months ago

Fixed with a recent release to the API