Discussions
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.
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?