Before you begin
- Explore Attendance API to learn about the attendance module in Bob and how to use the API.
Required permissions
To use the attendance API, make sure the service user has the following permissions granted:
| Action | Permission |
|---|---|
| Import attendance entries, Manage attendance entries, Fetch attendance summaries and daily breakdowns | People's data > Time attendance > Manage time attendance sheets |
Rate limiting
Rate limits are restrictions that our API imposes on the number of times a user can access our endpoints within a specified period of time. To learn more about rate limiting best practices, see Rate limiting.
Below is a table detailing the rate limits for each endpoint in the attendance endpoints.
| Method | Endpoint | Limit per minute |
|---|---|---|
| POST | Import attendance data | 5 |
| POST | Fetch attendance summaries | 100 |
| POST | Fetch daily attendance breakdown | 100 |
| POST | Create entries | 100 |
| POST | Update entries for an employee | 100 |
| PATCH | Delete entry | 100 |
| POST | Search entries | 200 |
| PATCH | Clock in | 100 |
| DEL | Clock out | 100 |
