Discussions

Ask a Question
Back to All

Filter on employee IDs in /company/employees

Hi!

Would it possible for you to add "employees" query param to /company/employees, exactly like the one for /company/time-offs?

Our usecase is that we fetch all absences for a time interval, and then we want to fetch all employees for that time interval. The reason we need to fetch the full employee data is that we need one of our custom properties in order to match an employee to our payroll system. We can fetch them one by one, but I'm not sure how you rate limit this part of the API (have only found rate limit values for the Recruitment API)

Bonus question: How come updated_since/updated_to for /company/time-offs is a date rather than a datetime like /company/absence-periods (and /company/employees)? Would it be possible to also allow datetimes there? We would like to continuously fetch time-offs updates, but with a granularity of 1 day we would end up processing the same entry multiple times

Cheers / Fredrik