List drop-in lessons by student with optional date range filtering
GET
/v1/drop-ins/lessons
curl \
--request GET 'https://localhost/v1/drop-ins/lessons?filter%5BstudentId%5D=stu_01hq3gvg8m4wt8fj969h4nr1xx'
Response examples (200)
{
"data": [
{
"id": "dpi_123123123123",
"companyId": "co_123123123123",
"courseId": "cls_123123123123",
"studentId": "stu_01hq3gvg8m4wt8fj969h4nr1xx",
"dropInDate": "2023-12-05",
"dropInTime": "23:15",
"courseName": "Beginner Ballet",
"courseType": "enrolment",
"courseDayOfWeek": "monday",
"courseStartTime": "23:15",
"courseDuration": 60,
"coursePrice": 2500,
"courseImage": "string",
"courseDescription": "string",
"roomId": "rm_123123123123",
"staffId": "stf_123123",
"minAgeMonths": 36,
"maxAgeMonths": 72,
"capacity": 12,
"colorId": "red",
"seasonId": "sea_123123123123",
"seasonName": "Spring 2025",
"status": "active",
"endTime": "23:15"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (422)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}