Teams
Update Team Attendance
Updates per-member weekly attendance preferences for a team.
PUT
Update 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.
Update Team Attendance
Updates the weekly attendance preferences for one or more team members. Each entry specifies a member and their day-of-week attendance status (office, home, abroad, not working). Only team administrators can update attendance.Authentication
Requires a valid customer bearer token. The customer must be a team administrator of the specified team.Path Parameters
Numeric identifier of the team. Returned as
Id from GET /api/public/teams/my.Request Body
The request body is an array of attendance update objects. Each object specifies a member and one or more day-of-week attendance values.Numeric identifier of the team member whose attendance is being updated.
Monday attendance status:
1 = Office, 2 = Home, 3 = Abroad, 4 = Not Working, 5 = Undefined.Tuesday attendance status (same values).
Wednesday attendance status.
Thursday attendance status.
Friday attendance status.
Saturday attendance status.
Sunday attendance status.
Response
Returns HTTP200 OK with an empty body on success.
Examples
Update attendance for two members
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
Attendance matrix editor (/team/attendance/{teamId}) | src/views/user/team/attendance/components/TeamAttendanceMatrix.tsx |
Error Responses
The customer is not authenticated or the session has expired.
The customer is not an administrator of the specified team.
Invalid request data — for example, an invalid attendance value or unknown member ID.
Team with the specified ID does not exist.
Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/public/teams/{teamId}/attendance | Get current attendance data |
GET | /api/public/teams/{teamId}/kpi | Team KPI data |
GET | /api/public/teams/{teamId}/profile | Full team profile |
GET | /api/public/teams/my | List the customer’s teams |
Update Team Attendance