Attach a node to the school structure

Creates a department or grade node under an existing academic-year structure node and returns the refreshed tree.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

yearIdintegerRequired>=1
Academic year receiving the node.

Request

This endpoint expects an object.
nodeable_typeenumRequired
Allowed values:
nodeable_idintegerRequired>=1
parent_node_idintegerRequired>=1

Response

The node was attached and the refreshed school structure tree was returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error