Attach a department to a grade
Creates the requested academic-year relationship between a school department and grade and returns the updated structure tree.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
year_id
Academic year for the relationship.
department_id
Department identifier.
grade_id
Grade identifier.
main_relation
Relation direction supplied by the structure editor.
Response
The department-grade relationship was attached and the updated structure tree was returned.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error

