Skip to main content
POST
/
ims
/
oneroster
/
rostering
/
v1p2
/
classes
/
{classSourcedId}
/
teachers
Add a teacher to a Class
curl --request POST \
  --url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/classes/{classSourcedId}/teachers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enrollment": {
    "user": {
      "sourcedId": "<string>"
    },
    "primary": "false",
    "beginDate": "2024-01-01",
    "endDate": "2024-01-01"
  }
}
'
{
  "sourcedIdPairs": {
    "suppliedSourcedId": "<string>",
    "allocatedSourcedId": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.timeback.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

classSourcedId
string
required

Class sourcedId

Body

application/json
enrollment
object
required

Response

Teacher successfully assigned to class

sourcedIdPairs
object
required