POST
/api/v1/academic-year/new
curl \
--request POST 'http://localhost:3500/api/v1/academic-year/new' \
--header "Content-Type: application/json" \
--data '{"yearLabel":"string","startDate":"2025-05-04T09:42:00Z","endDate":"2025-05-04T09:42:00Z","status":"string"}'
Request examples
{
"yearLabel": "string",
"startDate": "2025-05-04T09:42:00Z",
"endDate": "2025-05-04T09:42:00Z",
"status": "string"
}
Response examples (200)
{
"message": "string"
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}