PUT activities Id
/activities/{id}Paste your JWT token here
In: header
Path Parameters
The unique identifier of the activity to update.
int32The name of the activity.
0 <= length <= 120The price of the activity.
doubleThe 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.
A dutch description or arbitrary length, explaining everything there is to know about the activity.
0 <= length <= 2000An english description or arbitrary length, explaining everything there is to know about the activity.
0 <= length <= 2000The date and time at which the activity will start.
date-timeThe date and time at which the activity will end.
date-timeThe deadline for unenrollment from the activity.
date-timeThe deadline for enrollment from the activity.
date-timeThe date and time at which the activity will be open for enrolling.
date-timeThe location where the activity will take place.
0 <= length <= 200The maximum number of participants for the activity.
int32The unique identifier of the organizer group.
int32A 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.
Whether the activity is shown in Koala.
Whether the activity is shown on the website.
Whether the activity is open for enrollment.
Whether the participants are visible to each other.
Whether the activity is 18+ only.
Whether the activity belongs to the weekly drinks or not.
Represents the target audience for an activity, allowing for the specification of which groups of members are eligible to participate in a given activity. The TargetAudience enum defines various audience options, such as FirstYears, SecondYears, ThirdYearsAndAbove, and Masters, which can be combined using bitwise operations to create more specific audience groups. This entity is used to manage and enforce eligibility criteria for activities based on the academic standing of members, ensuring that activities are appropriately targeted and accessible to the intended audience within the system.
int32"None" | "FirstYears" | "SecondYears" | "ThirdYearsAndAbove" | "Masters" | "Gratie" | "ActiveMembers" | "Begunstigers" | "All"The VAT rate applicable to the activity.
int32The general ledger account associated with this activity for financial tracking. Dutch: Grootboekrekening
The cost center associated with this activity for financial tracking. Dutch: Kostenplaats
The cost unit associated with this activity for financial tracking. Dutch: Kostendrager
The payment deadline for the activity.
date-timeResponse Body
application/json
application/json
application/json
application/json
curl -X PUT "https://loading/activities/0" \ -F Name="string" \ -F DutchDescription="string" \ -F EnglishDescription="string" \ -F DateTimeStart="2019-08-24T14:15:22Z" \ -F DateTimeEnd="2019-08-24T14:15:22Z" \ -F Location="string" \ -F ShowInKoala="true" \ -F ShowOnWebsite="true" \ -F IsEnrollable="true" \ -F AreParticipantsVisible="true" \ -F IsAdultOnly="true" \ -F IsWeeklyDrinks="true"{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"message": "string"
}