Discussions

Ask a Question
Back to All

API call to /absences missing data

Hey guys,

it looks like the API call to /absences is not responding the full data (Get Absences in Range). For example, I try to get the absence on 24th August 2020 with the following GET request:

https://app.papershift.com/public_api/v1/absences?api_token=&page=1&range_end=2020-08-24&range_start=2020-08-24

I retrieve the absence I was looking for, but if I extend the time range and query all pages, I don't get the same absence, which is very weird. Here's the new URL:

https://app.papershift.com/public_api/v1/absences?api_token=&page=3&range_end=2020-08-24&range_start=2020-07-24

It looks like there are whole pages missing, because I only get max. 3 pages all the time. A few weeks back, everything was working fine.

Any ideas? Have there been recent changes to the API?

~ Julian