Retrieve all unit offerings for a specific semester.
GET
/api/v1/unit-offerings/by-semester/{semesterId}
curl \
--request GET 'http://localhost:3500/api/v1/unit-offerings/by-semester/semester-uuid'
Response examples (200)
{
"message": "string",
"total": 15,
"offerings": [
{
"id": "uuid-string-here",
"Code": "CS101-2024-1",
"unitVersionId": "uuid-string-here",
"courseIntakeId": "uuid-string-here",
"lecturerId": "uuid-string-here",
"semesterId": "uuid-string-here",
"personalizedOutline": "Custom outline for this offering...",
"studentGroupingsEnabled": false,
"createdAt": "2024-09-01T10:30:00Z",
"updatedAt": "2024-09-15T14:20:00Z"
}
]
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}