b6ca3e4d06fc

latestOpenAPI 3.0.02026-08-126291,3462.0 MB
Musiclessons

Import selected OpenApply music lesson requests

Requires permission: MusicAdmins

Creates one lesson per selected pupil-instrument pair, linked to an instrument but with no teacher, plus an ML_Students row for any pupil who is not already a music student. Pairs that already have a non-archived lesson are skipped, so re-running is safe.

post/MusicLessons/Import

Query parameters

pageinteger required
pageSizeinteger required
includesstring[] nullable
sortstring nullable
filterstring nullable

Request body

Example request

{
  "items": []
}

Response

Success - Success

lessonsCreatedinteger
studentsCreatedinteger
skippedinteger
errorsstring[]