Teams
Get Team Attendance
Returns attendance data for a team on a given week, including per-member schedules and bookings.
GET
Get Team Attendance
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Team Attendance
Returns the attendance matrix for a team centred on a given date. Includes per-member day-of-week attendance preferences (office, home, abroad, not working), aggregate statistics, and any bookings overlapping the requested week.Authentication
Requires a valid customer bearer token. The customer must be a member or administrator of the specified team.Path Parameters
Numeric identifier of the team. Returned as
Id from GET /api/public/teams/my.Query Parameters
ISO 8601 UTC datetime specifying the week to retrieve. The API returns the full week containing this date.
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation.
Response
Whether the authenticated customer is an administrator of this team. Used by the portal to show or hide the attendance editing UI.
The attendance data object.
Attendance Details
Numeric identifier of the team.
Display name of the team.
Average booked minutes per week across all members.
Average number of members with bookings per day.
Average number of members checked in per day.
Average check-in days per week.
Attendance.Coworkers[]
Numeric identifier of the member.
Display name of the member.
Member type code.
Company name associated with the member, if any.
Monday attendance status:
1 = Office, 2 = Home, 3 = Abroad, 4 = Not Working, 5 = Undefined.Tuesday attendance status (same values as Monday).
Wednesday attendance status.
Thursday attendance status.
Friday attendance status.
Saturday attendance status.
Sunday attendance status.
Attendance.Days[]
ISO 8601 date for this day.
Bookings on this day.
Booking identifier.
Booking start time.
Booking end time.
Identifier of the booked resource.
Name of the booked resource.
Customer who owns the booking, if applicable.
Examples
Fetch attendance for a week
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
Team dashboard attendance KPIs (/dashboard/team/{teamId}) | src/views/user/dashboards/team/components/TeamAttendanceKpiSection.tsx |
Team attendance section (/team/attendance/{teamId}) | src/views/user/team/attendance/components/TeamAttedanceSection.tsx |
Attendance management (/team/attendance/{teamId}) | src/views/user/team/attendance/components/AttendanceManagementSection.tsx |
Error Responses
The customer is not authenticated or the session has expired.
Team with the specified ID does not exist.
Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
PUT | /api/public/teams/{teamId}/attendance | Update member attendance preferences |
GET | /api/public/teams/{teamId}/kpi | Team KPI data |
GET | /api/public/teams/{teamId}/metrics | Team performance metrics |
GET | /api/public/teams/{teamId}/profile | Full team profile |
Get Team Attendance