GET activities
BearerAuthorizationBearer <token>Paste your JWT token here
IncludePast?booleanIndicates whether to include past activities in the response. If set to true, activities that have already occurred will be included in the response; if set to false, only upcoming activities will be included.
IncludeFuture?booleanIndicates whether to include future activities in the response. If set to true, activities that are scheduled for the future will be included in the response; if set to false, only past activities will be included.
Year?integerIndicates the year for which to retrieve activities. If specified, only activities that are associated with the given year will be included in the response.
int32OpenForPayment?booleanIndicates whether to include activities that are open for payment in the response. If set to true, activities that are currently open for payment will be included in the response; if set to false, only activities that are not open for payment will be included.
OnlyWithPaidEnrollments?booleanIndicates whether to only include activities with at least one enrollment (not on the waiting list) that has a price above zero.
Page?integerThe page number for pagination (1-indexed). If specified with PageSize, pagination will be applied.
int32PageSize?integerThe page size for pagination. Defaults to 50 if Page is specified without PageSize.
int32UserId?stringThe ID of the user for whom to retrieve activities. This property can be used to filter activities based on the user's enrollments or other criteria related to the user's participation in activities.
uuidSearch?stringA search term to filter activities by. If specified, only activities whose name or location contains the search term (case-insensitive) will be included in the response.
OK
application/json- response
[index: integer]?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.
curl -X GET 'https://example.com/activities'[ { "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 }]