v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Trainings > SessionAttendance

Bulk update session attendances

Updates the status or completed duration of multiple session attendances. When status is set to completed, completed_duration is automatically set to session duration. When only completed_duration is provided, attendances must already be in completed status.

post/api/2026-07-01/resources/trainings/session_attendances/bulk_update

Request body

idsstring[] required

List of session attendance IDs to update

statusstring

New status for the session attendances

completed_durationstring

Completed duration in hours (decimal format, e.g. 1.5 means 1h 30m)

Example request

{
  "ids": [
    "1"
  ],
  "status": "completed",
  "completed_duration": "1.5"
}

Response

OK

idstring required

Unique identifier of the session attendance

status'pending' | 'missing' | 'inprogress' | 'completed' required

Status of the session attendance

session_access_membership_idstring required

Identifier of the session access membership

access_idstring required

Identifier of the access associated with the employee

employee_idstring

Identifier of the employee

completed_durationstring

Completed duration in hours (decimal format, e.g. 1.5 means 1h 30m). Null when session attendance status is not completed.

Example response

[
  {
    "id": "1",
    "status": "completed",
    "session_access_membership_id": "1",
    "access_id": "20",
    "employee_id": "20",
    "completed_duration": "1.5"
  }
]