Timetastic API
9 endpoints for Timetastic, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/timetastic
- Connects with
- Your own Timetastic account (employee or manager for the Wallchart and bookings, approver or admin for approvals, an account that can open Settings > Reporting & Backup for reports)
- Integration page
- Timetastic
Read (5)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Absences per person for one month, as the Wallchart shows them. |
| GET | A year of one person's bookings with leave taken and remaining. |
| GET | The requests waiting in your inbox, with the overlaps Timetastic flags. |
| GET | Leave totals per person and leave type for one month, plus the booking rows. |
| GET | Allowance, carry forward, time in lieu, leave used and remaining per person for one year. |
Write (4)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Request leave for yourself or, as a manager or admin, for someone else. |
| POST | Approve one pending request from the inbox. |
| POST | Decline one pending request, with an optional reason. |
| POST | Cancel a booking with an optional reason. |