GET activities Id
BearerAuthorizationBearer <token>Paste your JWT token here
id*integerThe unique identifier of the activity to retrieve.
int32OK
application/json- response
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.
id*integerThe unique identifier of an activity, assigned incrementally.
int32name*stringThe name of the activity.
price*numberThe price of the activity.
doubleposterPath?|The Path where the poster for the activity is stored, if any.
posterFileName?|The filename of the poster for the activity, if any.
dutchDescription*stringA dutch description or arbitrary length, explaining everything there is to know about the activity.
englishDescription*stringAn english description or arbitrary length, explaining everything there is to know about the activity.
dateTimeStart*stringThe date and time at which the activity will start.
date-timedateTimeEnd*stringThe date and time at which the activity will end.
date-timeunenrollmentDeadline?|The deadline for unenrollment from the activity.
date-timeenrollmentDeadline?|The deadline for enrollment from the activity.
date-timeenrollOpenDate?|The date and time at which the activity will be open for enrolling.
date-timelocation*stringThe location where the activity will take place.
participantLimit?|The maximum number of participants for the activity.
int32organizerId?|The unique identifier of the organizer group.
int32showInKoala*booleanWhether the activity is shown in Koala.
showOnWebsite*booleanWhether the activity is shown on the website.
isEnrollable*booleanWhether the activity is open for enrollment.
areParticipantsVisible*booleanWhether the participants are visible to each other.
isAdultOnly*booleanWhether the activity is 18+ only.
allowedAudience?TargetAudienceRepresents 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"isWeeklyDrinks*booleanWhether the activity belongs to the weekly drinks or not.
vatRate?|The VAT rate applicable to the activity.
int32glAccountId?|The general ledger account associated with this activity for financial tracking. Dutch: Grootboekrekening
costCenterId?|The cost center associated with this activity for financial tracking. Dutch: Kostenplaats
costUnitId?|The cost unit associated with this activity for financial tracking. Dutch: Kostendrager
enrollments*array<>The members enrolled in this activity.
specificationQuestions*array<>An extra specification question for the activity.
paymentDeadline?|The payment deadline for the activity.
date-timeisOpenForPayment?|Whether the activity is open for payment.
curl -X GET 'https://example.com/activities/0'{ "id": 0, "name": "string", "price": 0.1, "posterPath": "string", "posterFileName": "string", "dutchDescription": "string", "englishDescription": "string", "dateTimeStart": "2019-08-24T14:15:22Z", "dateTimeEnd": "2019-08-24T14:15:22Z", "unenrollmentDeadline": "2019-08-24T14:15:22Z", "enrollmentDeadline": "2019-08-24T14:15:22Z", "enrollOpenDate": "2019-08-24T14:15:22Z", "location": "string", "participantLimit": 0, "organizerId": 0, "showInKoala": true, "showOnWebsite": true, "isEnrollable": true, "areParticipantsVisible": true, "isAdultOnly": true, "allowedAudience": "None", "isWeeklyDrinks": true, "vatRate": 0, "glAccountId": "string", "costCenterId": "string", "costUnitId": "string", "enrollments": [ { "isOnWaitingList": true, "registeredOn": "2019-08-24T14:15:22Z", "member": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "studentNumber": "string", "firstName": "string", "lastName": "string", "email": "user@example.com", "phoneNumber": "string", "street": "string", "houseNumber": "string", "postalCode": "string", "city": "string", "dateOfBirth": "2019-08-24T14:15:22Z", "parentPhoneNumber": "string", "notes": "string", "registeredOn": "2019-08-24T14:15:22Z", "preferredLanguage": "NL", "studyEnrollments": [ { "id": 0, "memberId": "92983ab9-49c8-444b-85ae-6e40402cf72e", "memberName": "string", "studyId": 0, "studyTitle": "string", "studyType": "Bachelor", "enrollmentDate": "2019-08-24T14:15:22Z", "completionDate": "2019-08-24T14:15:22Z", "status": "Enrolled" } ], "groupMemberships": [ { "id": 0, "memberId": "92983ab9-49c8-444b-85ae-6e40402cf72e", "memberName": "string", "groupId": 0, "groupName": "string", "groupType": "Committee", "membershipYear": 0, "roleAliasId": 0, "roleAliasName": "string" } ], "gratie": true, "lidVanVerdienste": true, "ereLid": true, "begunstiger": true, "suspended": true, "profilePicturePath": "string" }, "specificationAnswers": [ { "questionId": 0, "answerId": 0, "answer": "string", "isPublic": true } ], "price": 0, "activity": {} } ], "specificationQuestions": [ { "questionDutch": "string", "questionEnglish": "string", "type": "String", "isMandatory": true, "isPublic": true, "options": [ "string" ], "closeOnUnenrollmentDeadline": true, "id": 0 } ], "paymentDeadline": "2019-08-24T14:15:22Z", "isOpenForPayment": true}