New API Endpoint: "Who is absent" 🤖
We've had this one requested by a few people and it's always been a good idea. So today we're solving a pain point with the API.
Who is absent on x day?
Previously you'd need to query the bank holidays, work schedules, holidays endpoint for every user to get a nice list of who is off. Then merge them all together at your side. 😱
Now?
Just query api/absences
with your dates and what type of absences you want and you'll get a list broken down by day and by user with everyone's absences. 👌
You can query for just public holidays, bookings, all types of absence (public holidays, non working days, bookings) or if you've got an external dashboard/app to update and want to get everything you see on the wallchart then query "AllEvents" and you'll get work anniversaries, birthdays, locked dates and all absences. We include some basic data and the associated record ID so you can query for more data if you need it.
We limit the endpoint to 31 days so you can query for a whole month at a time and we've had to rate limit this to 1 request per second.
Full details are in our API docs: https://app.timetastic.co.uk/api-docs/index.html
Show us your integrations - we'd be keen to see how this is being used! https://x.com/timetastic