Discussions

Ask a Question
Back to All

absence-periods 'Filter by absence periods that start at or before given date.' is wrong.

Good evening,

We are creating an interface with Personio to retrieve absence requests. This information will be forwarded to another application.

Every hour we do retrieve the absence requests and only process the requests that are not yet send to the other application. We are using the absence-periods API for this and want to retrieve absence request between a particular start and end date.

https://api.personio.de/v1/company/absence-periods?start_date=2024-05-05&end_date=2025-06-04&limit=200&offset=0

We were surprised to see objects with a start date 2024-04-22 in the results. So, we did read the documentation again and we can't query the start and end date because of something strange. The start_date is: 'Filter by absence periods that start at or before given date.'. This makes the field impossible to query.

The fields should be:
Start_date is: 'Filter by absence periods that start at or after given date.'
End date: "Filter by absence periods that start at or before given date."

Is this a bug or do we see this the wrong way?