DTOs
Parent namespace: Backend.Controllers
Classes
| Type | Description |
|---|---|
AbstractPaymentDTO | Defines the abstract base class for payment DTOs, containing common properties for payment-related data transfer objects, including the member ID and a flag indicating whether the payment was manually marked as paid. The AbstractPaymentDTO serves as a foundation for specific payment DTOs, ensuring consistency and reusability of common payment-related properties across different payment operations within the application. |
AbstractPostMailDTO | Defines the DTOs for mail-related operations, including posting mails and activity mails. The PostMailDTO is used to transfer data from the client to the server when creating a new mail, containing the necessary information such as subject, HTML content, and recipients. The PostActivityMailDTO is used to transfer data for creating an activity-related mail, including the activity ID and an option to include waiting list members. These DTOs ensure that all required information is provided and validated appropriately for the mail creation process, allowing for effective communication through email based on the specified criteria and content. |
ActivityResponseDTO | Represents the response DTO for an activity, containing all relevant information about the activity, including its properties and related entities such as enrollments and specification questions. The ActivityResponseDTO is used to transfer comprehensive activity data from the server to the client when retrieving activity information, allowing for a complete representation of the activity's details, enrollment status, and associated specification questions in the response payload. |
BaseActivityDTO<TQuestion> | Defines Data Transfer Objects (DTOs) for activities, including the base DTO for creating and updating activities (BaseActivityDTO), as well as specific DTOs for posting new activities (PostActivityDTO), putting updates to existing activities (PutActivityDTO), and retrieving activity information (ActivityResponseDTO). These DTOs are used to facilitate the transfer of data between the client and server when managing activities within the system, ensuring that the necessary information is captured and validated appropriately for each operation related to activities. |
CalendarFeedUrlDTO | Represents the personal iCalendar feed URL of the requesting member. This DTO is returned when a member asks for their own subscription link, and after the member regenerates that link, so the frontend can present the current URL for copying into a calendar application. |
EnrollmentResponseDTO | Represents the response DTO for an enrollment, containing all relevant information about the enrollment, including its properties and information about the associated member and activity. The EnrollmentResponseDTO is used to transfer comprehensive enrollment data from the server to the client when retrieving enrollment information, allowing for a complete representation of the enrollment's details, member information, activity information, and any specification answers provided by the member in the response payload. |
ErrorResponseDto | Represents an error response. |
ExternalLinkResponseDTO | Represents the response DTO for an external link. |
ExternalLinkUpdateDTO | Defines the DTO for updating an external link. |
FileResultDto | Represents the DTO for a file result, containing the necessary information to represent a file response, including the file stream and its content type. The FileResultDto is used to transfer file data from the server to the client when returning a file as part of a response, allowing for the proper handling and representation of the file data based on its content type in the client application. |
GetActivitiesDTO | Represents the DTO for retrieving activity information, containing all relevant details about the activity, including its properties and associated specification questions. The ActivityResponseDTO is used to transfer comprehensive activity data from the server to the client when retrieving activity information, allowing for a complete representation of the activity's details, enrollment status, and associated specification questions in the response payload. |
GetAnnouncementResponseDTO | Represents the response DTO for an announcement, containing all relevant information about the announcement, including its properties and information about the creator. The GetAnnouncementResponseDTO is used to transfer comprehensive announcement data from the server to the client when retrieving announcement information, allowing for a complete representation of the announcement's details, creator information, and creation timestamp in the response payload. |
GetEnrollmentsDTO | Defines the DTO for retrieving enrollments, containing the necessary information for filtering and retrieving enrollment data based on specific criteria. The GetEnrollmentsDTO is used to transfer data from the client to the server when retrieving enrollment information, allowing for the application of filters such as member ID to retrieve enrollments associated with a specific member, ensuring that the retrieved enrollment data is relevant and tailored to the client's needs. |
GetGroupDTO | Defines the DTO for retrieving groups, containing the necessary information for filtering and retrieving group data based on specific criteria. The GetGroupDTO is used to transfer data from the client to the server when retrieving group information, allowing for the application of filters such as membership year and active status to retrieve groups that match the specified criteria, ensuring that the retrieved group data is relevant and tailored to the client's needs. |
GetGroupMembershipsDTO | Defines the DTO for retrieving group memberships, containing the necessary information for filtering and retrieving group membership data based on specific criteria. The GetGroupMembershipsDTO is used to transfer data from the client to the server when retrieving group membership information, allowing for the application of filters such as group ID, membership year, and member ID to retrieve group memberships that match the specified criteria, ensuring that the retrieved group membership data is relevant and tailored to the client's needs. |
GetMembersDto | Defines the DTO for retrieving member information, containing all relevant details about a member, including personal information, contact details, and any associated data such as study enrollments and group memberships. The MemberResponseDTO is used to transfer comprehensive member data from the server to the client when retrieving member information, allowing for a complete representation of the member's details in the response payload. The MemberResponseDTO can include properties such as the member's unique identifier, name, email, phone number, address details, date of birth, mail subscriptions, preferred language, and any associated study enrollments or group memberships, providing a comprehensive view of the member data for the client application. |
GetSpecificationQuestionResponseDTO | Represents the response DTO for a specification question, containing all relevant information about the specification question, including its properties and any associated data. The GetSpecificationQuestionResponseDTO is used to transfer comprehensive specification question data from the server to the client when retrieving specification question information, allowing for a complete representation of the specification question's details in the response payload. The GetSpecificationQuestionResponseDTO can include properties such as the question ID, activity ID, question text in both Dutch and English, question type, mandatory status, public visibility, and any associated options, providing a comprehensive view of the specification question data for the client application. |
GetStudyDTO | Defines the DTO for retrieving studies, allowing filtering based on active status. The GetStudyDTO is used to transfer filter criteria from the client to the server when retrieving study data, ensuring that public consumers of the study catalog (e.g. the registration form) only see currently active studies, while administrative views can opt in to see inactive ones as well. |
GetStudyEnrollmentsDTO | Defines the DTO for retrieving study enrollments, containing all necessary information for filtering and retrieving study enrollment data. The GetStudyEnrollmentsDTO is used to transfer data from the client to the server when retrieving study enrollment information, allowing for filtering based on member ID and ensuring that the provided information is validated appropriately for the retrieval process. |
GroupMembershipResponseDTO | Represents the response DTO for a group membership, containing all relevant information about the group membership, including its properties and information about the associated member and group. The GroupMembershipResponseDTO is used to transfer comprehensive group membership data from the server to the client when retrieving group membership information, allowing for a complete representation of the group membership's details, member information, group information, and any associated role alias information in the response payload. |
GroupMembershipUpdateDTO | Defines the DTO for updating an existing group membership, containing all necessary information for modifying a group membership's properties. The GroupMembershipUpdateDTO is used to transfer data from the client to the server when updating an existing group membership, allowing for changes to be made to the group membership's details while ensuring that the provided information is validated appropriately for the update process. |
GroupResponseDTO | Represents the response DTO for a group, containing all relevant information about the group, including its properties and any associated data. The GroupResponseDTO is used to transfer comprehensive group data from the server to the client when retrieving group information, allowing for a complete representation of the group's details in the response payload. The GroupResponseDTO can include properties such as the group's unique identifier, name, active status, type, and any associated group picture information, providing a comprehensive view of the group data for the client application. |
GroupUpdateDTO | Defines the DTO for updating an existing group, containing all necessary information for modifying a group's properties. The GroupUpdateDTO is used to transfer data from the client to the server when updating an existing group, allowing for changes to be made to the group's details while ensuring that the provided information is validated appropriately for the update process. |
MemberResponseDTO | Defines the DTO for retrieving member information, containing all relevant details about a member, including personal information, contact details, and any associated data such as study enrollments and group memberships. The MemberResponseDTO is used to transfer comprehensive member data from the server to the client when retrieving member information, allowing for a complete representation of the member's details in the response payload. The MemberResponseDTO can include properties such as the member's unique identifier, name, email, phone number, address details, date of birth, mail subscriptions, preferred language, and any associated study enrollments or group memberships, providing a comprehensive view of the member data for the client application. |
MemberUpdateDTO | Defines the DTO for updating an existing member, containing all necessary information for modifying a member's properties. The MemberUpdateDTO is used to transfer data from the client to the server when updating an existing member, allowing for changes to be made to the member's details while ensuring that the provided information is validated appropriately for the update process. |
PatchCuratedMailinglistDTO | Defines the DTO for changing a curated mailing list's visibility. |
PaymentStatusResponse | Defines the response DTO for payment status, containing the necessary information about a member's payment status, including whether they have ever paid for membership, whether they currently have an active membership payment, whether they have paid for all activities, and a list of any unpaid enrollments. The PaymentStatusResponse is used to transfer data from the server to the client when retrieving a member's payment status, providing a comprehensive overview of their payment history and current payment status for both membership and activities within the application. |
PostActivityDTO | Represents the DTO for creating a new activity, containing all necessary information for defining an activity, including its properties and associated specification questions. The PostActivityDTO is used to transfer data from the client to the server when creating a new activity, ensuring that all required information is provided and validated appropriately for the creation process. |
PostActivityMailDTO | Defines the DTO for posting an activity mail, containing the necessary information for creating a new mail related to a specific activity, including the activity ID and an option to include waiting list members. The PostActivityMailDTO is used to transfer data from the client to the server when creating an activity-related mail, ensuring that all required information is provided and validated appropriately for the creation process. The PostActivityMailDTO allows for the specification of whether to include waiting list members in the mail, enabling effective communication with both confirmed participants and those on the waiting list based on the provided criteria in the request payload. This DTO ensures that the activity mail is created with the necessary information to effectively communicate relevant updates or information about the specified activity to the intended recipients, providing a structured and validated approach to activity mail creation in the application. |
PostActivityPaymentDTO | Defines the DTO for posting an activity payment, containing the necessary information for creating a new activity payment, including the member ID, an optional flag indicating whether the payment was manually marked as paid, and a list of unique identifiers of the activities for which the activity payment is being created. The PostActivityPaymentDTO is used to transfer data from the client to the server when creating a new activity payment, ensuring that all required information is provided and validated appropriately for the creation process, allowing for effective tracking and management of activity payments based on the provided activity IDs in the request payload. |
PostAnnouncementDTO | Defines Data Transfer Object (DTO) for posting announcements, containing the necessary information for creating a new announcement, including its title and content. The PostAnnouncementDTO is used to transfer data from the client to the server when creating a new announcement, ensuring that all required information is provided and validated appropriately for the creation process. |
PostBegunstigerPaymentDTO | Defines the DTO for posting a "Begunstiger" (benefactor) fee payment, containing the necessary information for creating a new begunstiger payment, including the member ID and an optional flag indicating whether the payment was manually marked as paid. This is a distinct payment type from PostMembershipPaymentDTO so that a begunstiger cannot pay the (cheaper) regular membership fee through the membership payment endpoint instead of their own fee. |
PostCuratedMailinglistDTO | Defines the DTO for curating a new mailing list. |
PostEnrollmentDTO | Defines Data Transfer Object (DTO) for posting enrollments, containing the necessary information for creating a new enrollment, including the activity ID, member ID, and any specification answers provided by the member. The PostEnrollmentDTO is used to transfer data from the client to the server when creating a new enrollment, ensuring that all required information is provided and validated appropriately for the enrollment creation process. |
PostEnrollmentResponseDTO | Represents the response DTO for a post enrollment operation, containing the unique identifiers of the activity and member associated with the newly created enrollment. The PostEnrollmentResponseDTO is used to transfer essential enrollment data from the server to the client after successfully creating a new enrollment, allowing for confirmation of the enrollment creation and providing key information about the associated activity and member in the response payload. |
PostExternalLinkDTO | Defines the DTO for creating an external link. |
PostGroupDTO | Defines the DTO for posting a group, containing the necessary information for creating a new group, including its name, type, and an optional group picture. The PostGroupDTO is used to transfer data from the client to the server when creating a new group, ensuring that all required information is provided and validated appropriately for the creation process. |
PostGroupMembershipDTO | Defines the DTO for posting a group membership, containing the necessary information for creating a new group membership, including member ID, group ID, membership year, and an optional role alias ID. The PostGroupMembershipDTO is used to transfer data from the client to the server when creating a new group membership, ensuring that all required information is provided and validated appropriately for the creation process. |
PostMailDTO | Defines the DTO for posting a mail, containing the necessary information for creating a new mail, including its subject, HTML content, and recipients. The PostMailDTO is used to transfer data from the client to the server when creating a new mail, ensuring that all required information is provided and validated appropriately for the creation process. The PostMailDTO allows for the specification of multiple recipients for the mail, enabling effective communication with multiple individuals or groups based on the provided recipient information in the request payload. The recipients can be specified using the MailRecipient class, which includes properties such as the recipient's email address and name, allowing for personalized and targeted communication through email based on the specified recipient details. The PostMailDTO ensures that the mail is created with the necessary information to effectively communicate the intended message to the specified recipients, providing a structured and validated approach to mail creation in the application. |
PostMemberDTO | Defines the DTO for posting a member, containing the necessary information for creating a new member, including personal details, contact information, and other relevant properties. The PostMemberDTO is used to transfer data from the client to the server when creating a new member, ensuring that all required information is provided and validated appropriately for the creation process. |
PostMembershipPaymentDTO | Defines the DTO for posting a membership payment, containing the necessary information for creating a new membership payment, including the member ID and an optional flag indicating whether the payment was manually marked as paid. The PostMembershipPaymentDTO is used to transfer data from the client to the server when creating a new membership payment, ensuring that all required information is provided and validated appropriately for the creation process. |
PostPaymentResponse | Defines the response DTO for a payment, containing the necessary information about the payment response, including an optional checkout URL. The PostPaymentResponse is used to transfer data from the server to the client after creating a new payment, allowing for the inclusion of relevant information such as a checkout URL if applicable, providing a structured and informative response for payment-related operations in the application. |
PostRegisterReasonDTO | Defines the DTO for creating a register reason, containing localized text and ordering. |
PostRegisterSlideDTO | Defines the DTO for creating a register slide. |
PostRegistrationDocumentDTO | Defines the DTO for creating a registration document. |
PostRoleAliasDTO | Defines the DTO for posting a role alias, containing the necessary information for creating a new role alias, including its name and the associated parent role ID. The PostRoleAliasDTO is used to transfer data from the client to the server when creating a new role alias, ensuring that all required information is provided and validated appropriately for the creation process. |
PostRoleDTO | Defines the DTO for posting a role, containing the necessary information for creating a new role, including its name. The PostRoleDTO is used to transfer data from the client to the server when creating a new role, ensuring that all required information is provided and validated appropriately for the creation process. |
PostSpecificationAnswerDTO | Defines the DTO for posting a specification answer, containing the necessary information for creating a new specification answer, including the question ID and the answer text. The PostSpecificationAnswerDTO is used to transfer data from the client to the server when creating a new specification answer, ensuring that all required information is provided and validated appropriately for the creation process. |
PostSpecificationQuestionDTO | Defines the DTO for posting a specification question, containing the necessary information for creating a new specification question, including the activity ID and all relevant properties of the specification question. The PostSpecificationQuestionDTO is used to transfer data from the client to the server when creating a new specification question, ensuring that all required information is provided and validated appropriately for the creation process. |
PostStudyDTO | Defines the DTO for posting a study, containing the necessary information for creating a new study, including its title, nominal duration in years, and type. The PostStudyDTO is used to transfer data from the client to the server when creating a new study, ensuring that all required information is provided and validated appropriately for the creation process. |
PostStudyEnrollmentDTO | Defines the DTO for posting a study enrollment, containing the necessary information for creating a new study enrollment, including the study ID, member ID, enrollment date, and status. The PostStudyEnrollmentDTO is used to transfer data from the client to the server when creating a new study enrollment, ensuring that all required information is provided and validated appropriately for the creation process. |
PutActivityDTO | Represents the DTO for updating an existing activity, containing all necessary information for modifying an activity's properties and associated specification questions. The PutActivityDTO is used to transfer data from the client to the server when updating an existing activity, allowing for changes to be made to the activity's details while ensuring that the provided information is validated appropriately for the update process. |
RegisterReasonResponseDTO | Represents the response DTO for a register reason. |
RegisterReasonUpdateDTO | Defines the DTO for updating a register reason. |
RegisterSlideResponseDTO | Represents the response DTO for a register slide. |
RegisterSlideUpdateDTO | Defines the DTO for updating a register slide. |
RegistrationDocumentResponseDTO | Represents the response DTO for a registration document. |
RegistrationDocumentUpdateDTO | Defines the DTO for updating a registration document. |
RoleAliasUpdateDTO | Defines the DTO for updating an existing role alias, containing all necessary information for modifying a role alias's properties. The RoleAliasUpdateDTO is used to transfer data from the client to the server when updating an existing role alias, allowing for changes to be made to the role alias's details while ensuring that the provided information is validated appropriately for the update process. |
RoleUpdateDTO | Defines the DTO for updating an existing role, containing all necessary information for modifying a role's properties. The RoleUpdateDTO is used to transfer data from the client to the server when updating an existing role, allowing for changes to be made to the role's details while ensuring that the provided information is validated appropriately for the update process. |
SpecificationAnswerResponseDTO | Represents the response DTO for a specification answer, containing all relevant information about the specification answer, including its properties and any associated data. The SpecificationAnswerResponseDTO is used to transfer comprehensive specification answer data from the server to the client when retrieving specification answer information, allowing for a complete representation of the specification answer's details in the response payload. The SpecificationAnswerResponseDTO can include properties such as the question ID, answer ID, and the answer text, providing a comprehensive view of the specification answer data for the client application. |
SpecificationQuestionDTO | Defines the DTO for specification questions, containing all necessary information for creating, updating, and retrieving specification question data. The SpecificationQuestionDTO serves as a base class for various |
StudyEnrollmentResponseDTO | Represents the response DTO for a study enrollment, containing all relevant information about the study enrollment, including its properties and any associated data. The StudyEnrollmentResponseDTO is used to transfer comprehensive study enrollment data from the server to the client when retrieving study enrollment information, allowing for a complete representation of the study enrollment's details in the response payload. The StudyEnrollmentResponseDTO can include properties such as the enrollment ID, member ID, member name, study ID, study title, study type, enrollment date, completion date, and status, providing a comprehensive view of the study enrollment data for the client application. |
StudyUpdateDTO | Defines the DTO for updating an existing study, containing all necessary information for modifying a study's properties. The StudyUpdateDTO is used to transfer data from the client to the server when updating an existing study, allowing for changes to be made to the study's details while ensuring that the provided information is validated appropriately for the update process. |
UpdateAnnouncementDTO | Defines the DTO for updating an existing announcement, containing all necessary information for modifying an announcement's properties. The UpdateAnnouncementDTO is used to transfer data from the client to the server when updating an existing announcement, allowing for changes to be made to the announcement's details while ensuring that the provided information is validated appropriately for the update process. |
UpdateSpecificationQuestionDTO | Defines the DTO for updating an existing specification question, containing all necessary information for modifying a specification question's properties. The UpdateSpecificationQuestionDTO is used to transfer data from the client to the server when updating an existing specification question, allowing for changes to be made to the specification question's details while ensuring that the provided information is validated appropriately for the update process. |
UploadPictureResponse | Represents the response returned after successfully uploading a profile picture. The UploadPictureResponse class encapsulates the essential information about the uploaded image, primarily the generated path where the profile picture is stored. This DTO is used to communicate the result of the upload operation back to the client, allowing it to reference the new profile picture in subsequent requests or updates. By providing a clear and concise response structure, this class facilitates seamless integration between the client and server during profile picture management operations. |