Added
Session Attendance API Enhancements
7 months ago by Abdias
Session Attendance
-
Introduced new endpoints for managing session attendance:
POST /session-attendances/createto create attendance recordsPUT /session-attendances/update/{session_attendance_id}to update existing records- Enhanced validation to ensure:
- API user authorization for event access
- Registrant and session belong to same event
- Prevention of duplicate attendance records
-
Added support for comprehensive attendance tracking with fields:
check_in_date- Timestamp for session check-incheck_out_date- Timestamp for session check-outduration- Total attendance durationchecked_in_by- User who recorded check-inchecked_out_by- User who recorded check-out
-
Implemented robust validation rules:
- Prevent updates to
registrant_idandsession_idafter creation - Ensure unique attendance records per registrant/session pair
- Validate event ownership and access permissions
- Prevent updates to
