Discussions

Ask a Question
Back to All

Possible error in the v1 list_employees pagination

Hello,

I just tried to change my scripts to include the pagination. I don't quite Understand the number of pages.

From my understanding an offset of 0 with a limit of 100 should give me the first 100 employees on the first page. So with an offset of 1200 I should be on the 13th page seeing the last 19 employees? But for some reason I am on page 12 of 13.

"metadata": {
"total_elements": 1219,
"current_page": 12,
"total_pages": 13
},
"offset": 1200,
"limit": 100