PostEnrollmentDto

Type Alias: PostEnrollmentDto

[object Object]

Defined in: app/api/types.gen.ts:1162

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.

Properties

activityId?

optional activityId?: number

Defined in: app/api/types.gen.ts:1166

Reference to the unique identifier of the activity which is enrolled for.


memberId?

optional memberId?: string

Defined in: app/api/types.gen.ts:1170

The ID of the user, as determined by the used OAuth application, which enrolls for the activity.


specificationAnswers?

optional specificationAnswers?: PostSpecificationAnswerDto[] | null

Defined in: app/api/types.gen.ts:1174

The answers for the specification questions associated with this enrollment.

On this page