Skip to main content
POST
Create a hole-filling course (Lambda)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
studentSourcedId
string
required

The student's OneRoster sourced ID

studentEmail
string
required

The student's email address

subject
string
required

Academic subject

grade
string
required

Grade level

lessons
object[]
required

Lessons to include in the hole-filling course

gapAnalysisId
string
required

Gap analysis record ID

assignmentId
number
required

The assignment ID from AlphaTest

baseCourseSourcedId
string

Base course sourced ID for hole-filling lineage

testType
enum<string>

Type of test that triggered hole-filling

Available options:
end of course,
test out,
placement
missedQuestions
string[]

List of missed question IDs

Response

Hole-filling course created

courseSourcedId
string
required

Created course sourced ID

classSourcedId
string | null
required

Created class sourced ID (null if enrollment failed)

enrollmentSourcedId
string | null
required

Created enrollment sourced ID (null if enrollment failed)