Create a report-card course

Creates a course and optionally synchronizes its audiences and teachers for selected academic years.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
subject_idintegerRequired>=1
namestringRequired<=255 characters
sort_orderintegerOptional>=0
period_length_minutesintegerOptional1-1440
times_per_weekintegerOptional1-30
duration_weeksintegerOptional1-520
sync_year_idslist of integersOptional
audienceslist of objectsOptional
teacherslist of objectsOptional

Response

Course created.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error