Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The LeaveApplicationV2 endpoint doesn't include LeaveTypeID #645

Closed
haydn opened this issue Jul 6, 2023 · 3 comments
Closed

The LeaveApplicationV2 endpoint doesn't include LeaveTypeID #645

haydn opened this issue Jul 6, 2023 · 3 comments

Comments

@haydn
Copy link

haydn commented Jul 6, 2023

SDK:

  • Version 4.35.0

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
Copy link

github-actions bot commented Jul 6, 2023

PETOSS-314

@github-actions
Copy link

github-actions bot commented Jul 6, 2023

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

@rdemarco-xero
Copy link
Contributor

Fixed with a recent release to the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants