PostActivitiesData

Type Alias: PostActivitiesData

[object Object]

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

Properties

body?

optional body?: object

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

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.

AllowedAudience?

optional AllowedAudience?: TargetAudience

AreParticipantsVisible

[object Object]

Whether the participants are visible to each other.

CostCenterId?

optional CostCenterId?: string

The cost center associated with this activity for financial tracking. Dutch: Kostenplaats

CostUnitId?

optional CostUnitId?: string

The cost unit associated with this activity for financial tracking. Dutch: Kostendrager

DateTimeEnd

[object Object]

The date and time at which the activity will end.

DateTimeStart

[object Object]

The date and time at which the activity will start.

DutchDescription

[object Object]

A dutch description or arbitrary length, explaining everything there is to know about the activity.

EnglishDescription

[object Object]

An english description or arbitrary length, explaining everything there is to know about the activity.

EnrollmentDeadline?

optional EnrollmentDeadline?: string

The deadline for enrollment from the activity.

EnrollOpenDate?

optional EnrollOpenDate?: string

The date and time at which the activity will be open for enrolling.

GLAccountId?

optional GLAccountId?: string

The general ledger account associated with this activity for financial tracking. Dutch: Grootboekrekening

IsAdultOnly

[object Object]

Whether the activity is 18+ only.

IsEnrollable

[object Object]

Whether the activity is open for enrollment.

IsWeeklyDrinks

[object Object]

Whether the activity belongs to the weekly drinks or not.

Location

[object Object]

The location where the activity will take place.

Name

[object Object]

The name of the activity.

OrganizerId?

optional OrganizerId?: number

The unique identifier of the organizer group.

ParticipantLimit?

optional ParticipantLimit?: number

The maximum number of participants for the activity.

PaymentDeadline?

optional PaymentDeadline?: string

The payment deadline for the activity.

Poster?

optional Poster?: Blob | File

The poster file for the activity, which can be uploaded when creating or updating an activity. The Poster property is of type IFormFile, allowing for the handling of file uploads in ASP.NET Core. This property is used to manage the visual representation of the activity, as the poster can be displayed on the website or in the Koala app to attract participants and provide information about the activity. When a poster is uploaded, it can be stored on the server and associated with the activity, enabling better organization and presentation of activities within the system.

Price?

optional Price?: number

The price of the activity.

ShowInKoala

[object Object]

Whether the activity is shown in Koala.

ShowOnWebsite

[object Object]

Whether the activity is shown on the website.

SpecificationQuestionsJson?

optional SpecificationQuestionsJson?: string

A JSON string representing the specification questions associated with the activity. This property is used to capture the details of the specification questions in a structured format, allowing for easy serialization and deserialization when creating or updating an activity. The JSON string can contain an array of specification question objects, each with its own properties such as question text, question type, and possible answers. This approach allows for flexibility in managing the specification questions while ensuring that they are properly associated with the activity in the system.

UnenrollmentDeadline?

optional UnenrollmentDeadline?: string

The deadline for unenrollment from the activity.

VatRate?

optional VatRate?: number

The VAT rate applicable to the activity.


path?

optional path?: never

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


query?

optional query?: never

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


url

[object Object]

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

On this page