Closed fatihsevimtc closed 2 years ago
Hi @fatihperth, thanks for bringing this to our attention!
It appears the route cause stems back to our AU Payroll API spec not indicating the param format is date-time. We will get this change implemented in our next release.
Apologies for the inconvenience.
Hi @rdemarco-xero, thanks for the response..now 2 quick questions:
Many Thanks Fatih
Hi @fatihperth , version 4.13.0 has the fix for ifModifiedSince which is now a Java OffsetDateTime.
UK Payroll does not support this header param so the only solution currently would be to retrieve all the employees and then filter by UpdatedDateUTC in your own application.
SDK you're using (please complete the following information):
Describe the bug For PayrollAu Api, date/time filtering does not work in your java SDK but on your API Explorer. It produces variable-type mismatch errors.
In your source code, the type of variable is: "String ifModifiedSince"
but in ( HttpHeaders extends GenericData ) it is required as List as indicate here: "private List ifModifiedSince"
and the variable name is colliding with google's variable name..if you change your variable name or make the type compatible with the one in HttpHeader, the issue will be resolved I guess..please advise if you need any further details or some screenshots, but your timely response will be highly appreciated.