Discussions
offset employees
over 1 year ago by frederik elsen
we see in response:
"total_elements": 236,
"total_pages": 2
so we need to get two pages:
https://api.personio.de/v1/company/employees?offset=1&limit=200
https://api.personio.de/v1/company/employees?offset=2&limit=200
the result would be 1 page with 200 items and a second one with 36
but what we get is: two pages with 200 items and some employees are on both pages.
is there something wrong with the api?