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

PayRollNZ Employee class missing EmploymentType member #480

Open
roaddirect-development opened this issue Jun 21, 2023 · 3 comments
Open

Comments

@roaddirect-development
Copy link

SDK you're using (please complete the following information):
Xero.NetStandard.OAuth2 3.33.0

Describe the bug
https://github.com/XeroAPI/Xero-NetStandard/blob/master/Xero.NetStandard.OAuth2/Model/PayrollNz/Employee.cs
Missing EmploymentType member/property

To Reproduce
Steps to reproduce the behavior:
Make a call to GetEmployeesAsync using Xero.NetStandard.OAuth2 3.33.0

Expected behavior
Class should include EmploymentType which is returned when using
https://api-explorer.xero.com/payrollnz/employees/getemployees

Additional context
Example response from https://api-explorer.xero.com/payrollnz/employees/getemployees for Demo Company (NZ)

{
      "employeeID": "9110fe65-90a8-4113-9317-88eb4ffca00c",
      "firstName": "Casual",
      "lastName": "Worker",
      "dateOfBirth": "1994-12-01T00:00:00",
      "gender": "M",
      "email": null,
      "phoneNumber": null,
      "startDate": "2023-02-09T00:00:00",
      "address": {
        "addressLine1": "30 King St",
        "addressLine2": null,
        "city": "Rangiora",
        "suburb": null,
        "countryName": "NEW ZEALAND",
        "postCode": "7400"
      },
      "payrollCalendarID": "f32fcef0-0c27-4951-a15b-3a669c3a7cc1",
      "updatedDateUTC": "2023-05-23T00:49:50",
      "createdDateUTC": "2023-05-22T23:40:22",
      "endDate": null,
      **"employmentType": "Employee",**
      "jobTitle": null
    }
@github-actions
Copy link

PETOSS-306

@github-actions
Copy link

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

@guilhermeblima
Copy link

bump

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