Employee missing properties (NI category)
csnuknet opened this issue · 1 comments
SDK you're using (please complete the following information):
- Version [e.g. 1.x.x]
Describe the bug
When using the latest PHP SDK the following properties aren't exposed but are present in the returned response (as validated with the API explorer), these attributes also do not seem to be present in the Open API spec used to generate the SDK.
"niCategory": "A", "niCategories": [ { "startDate": null, "niCategory": "A", "niCategoryID": 1657128 } ], "employeeNumber": "10",
To Reproduce
Call ->getEmployee() on the SDK vs a direct call to the endpoint. https://api.xero.com/payroll.xro/2.0/employees/{employeeID}
Expected behavior
Provide feature parity with the endpoint response data, thus exposing the properties.
Hi @csnuknet yes, it does appear to be missing this niCategories array. I'm just waiting for confirmation over the exact properties of the array, and then we'll add into the OpenAPI spec for all languages, and then we'll generated the next PHP SDK with it in all being well.
Thanks for finding it!