Create a course schedule slot

Creates a recurring course slot with its academic year, audience, staff, and time boundaries.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
academic_year_idintegerRequired
course_idintegerRequired
staff_member_idintegerRequired
audience_typeenumRequired
Allowed values:
audience_idintegerRequired
week_in_cycleintegerRequired1-52
day_of_weekintegerRequired1-7
start_timestringRequiredformat: "^\\d{2}:\\d{2}$"
end_timestringRequiredformat: "^\\d{2}:\\d{2}$"
calendar_schedule_idinteger or nullOptional
effective_start_datedate or nullOptional
effective_end_datedate or nullOptional
activeboolean or nullOptional

Response

Course schedule slot created successfully.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error