Discussions
Absence endpoint pagination issue
I'm unfortunately unable to get pagination to work for the following endpoint: company/time-offs
I'm passing an http request as follows:
{
"table_name": "Absences",
"endpoint": "company/time-offs",
"custom_params": {
"updated_from": "@{subtractFromTime(utcnow(), 1, 'Month', 'yyyy-MM-dd')}",
"updated_to": "@{utcnow('yyyy-MM-dd')}"
},
"should_paginate": true
}
Which returns the first 200 rows but does not paginate (we are utilising the Attendances endpoint and this will paginate for start_date and end_date (you state that date isn't possible for pagination on your documentation:
https://developer.personio.de/reference/get_company-time-offs
At a bit of a loss here and would appreciate your help (I assume its some sort of formatting for date??)
best,
Euan