Assign a staff member to a student
Adds a staff association for an existing student: the staff member
gets the student on their caseload with the given caseloadType
(for example TEACHER_OF_RECORD), as if a district admin added it
in Scout. Use it after staff approve an enrollment submission.
Both ids are Scout ids. A student’s id is the sourcedId of its
OneRoster students record; a staff member’s id is the sourcedId
of its OneRoster teachers or users record.
startedAt defaults to now. A student can have only one teacher of
record at a time, and can’t be added twice to the same staff
member’s caseload of one type; both return 400.
Requires the student-staff-associations scope.
Authorizations
Bearer access token from POST /oauth/token (OAuth 2.0 client credentials; the OneRoster /ims/oneroster/v1p1/token and /v1p2/token URLs are aliases). Send it as Authorization: Bearer <access_token>. Tokens expire after 1 hour and carry your API client's granted scopes — an endpoint outside them returns 403.
Body
One of the Caseload type values.