POST /api/v1/exam-period/{id}/departments/{departmentId}/link

Associate a department with an exam period. Only admin can perform this action.

Path parameters

  • id string Required
  • departmentId string Required

Responses

  • 200

    Department linked successfully

  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
POST /api/v1/exam-period/{id}/departments/{departmentId}/link
curl \
 --request POST 'http://localhost:3500/api/v1/exam-period/{id}/departments/{departmentId}/link'
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}