PostActivitiesData
Type Alias: PostActivitiesData
[object Object]
Defined in: app/api/types.gen.ts:1886
Properties
body?
optionalbody?: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?
optionalAllowedAudience?:TargetAudience
AreParticipantsVisible
[object Object]
Whether the participants are visible to each other.
CostCenterId?
optionalCostCenterId?:string
The cost center associated with this activity for financial tracking. Dutch: Kostenplaats
CostUnitId?
optionalCostUnitId?: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?
optionalEnrollmentDeadline?:string
The deadline for enrollment from the activity.
EnrollOpenDate?
optionalEnrollOpenDate?:string
The date and time at which the activity will be open for enrolling.
GLAccountId?
optionalGLAccountId?: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?
optionalOrganizerId?:number
The unique identifier of the organizer group.
ParticipantLimit?
optionalParticipantLimit?:number
The maximum number of participants for the activity.
PaymentDeadline?
optionalPaymentDeadline?:string
The payment deadline for the activity.
Poster?
optionalPoster?: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?
optionalPrice?: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?
optionalSpecificationQuestionsJson?: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?
optionalUnenrollmentDeadline?:string
The deadline for unenrollment from the activity.
VatRate?
optionalVatRate?:number
The VAT rate applicable to the activity.
path?
optionalpath?:never
Defined in: app/api/types.gen.ts:1993
query?
optionalquery?:never
Defined in: app/api/types.gen.ts:1994
url
[object Object]
Defined in: app/api/types.gen.ts:1995