CONFIRMADO, PENDIENTE, or CANCELADO.
Attendance states
| State | Meaning |
|---|---|
CONFIRMADO | The user has confirmed they will attend. |
PENDIENTE | The user has expressed interest but not yet confirmed. |
CANCELADO | The user has cancelled their attendance. |
Attendance fields
TheAttendanceDto returned by the API contains the following fields.
| Field | Type | Description |
|---|---|---|
id | Guid | Unique identifier for the attendance record. |
userId | string | ID of the attending user. |
userName | string | Display name of the attending user. |
userMembership | MembershipDto | Active membership of the user, if any. |
eventId | Guid | ID of the event being attended. |
eventTitle | string | Title of the event. |
state | string | Current attendance state (CONFIRMADO, PENDIENTE, or CANCELADO). |
Registering for an event
Authenticate
Obtain a Bearer token by signing in. The
POST /api/attendances endpoint requires the User, Organizer, or Admin role.Choose a state
Decide your initial attendance state. Use
CONFIRMADO if you are certain you will attend, or PENDIENTE if you are still deciding.Submit the attendance record
Send a A successful response returns the newly created
POST request to /api/attendances with your user ID, the event ID, and the chosen state.AttendanceDto.Cancelling attendance
To cancel your registration, either update thestate to CANCELADO via PUT /api/attendances/{id}, or delete the record entirely.
Deleting an attendance record removes it entirely. Updating the state to
CANCELADO keeps the record for tracking purposes.Browsing attendances
The list endpoint is publicly accessible and supports search and pagination.GET /api/events/{id}) also includes the full attendance list and a total count in attendancesCount, which can be used to track event capacity.