curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/classes/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"class": {
"status": "active",
"metadata": {},
"title": "<string>",
"classCode": "<string>",
"classType": "homeroom",
"location": "<string>",
"grades": [
"-1"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"periods": [
"<string>"
],
"resources": [
{
"sourcedId": "<string>"
}
],
"terms": [
{
"sourcedId": "<string>"
}
]
}
}
'{
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"classCode": "<string>",
"classType": "homeroom",
"location": "<string>",
"course": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
},
"school": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
},
"terms": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
}
],
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"grades": [
"3"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"periods": [
"<string>"
],
"resources": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
}
]
}To update an existing Class. The sourcedId for the record to be updated is supplied by the requesting system.
curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/classes/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"class": {
"status": "active",
"metadata": {},
"title": "<string>",
"classCode": "<string>",
"classType": "homeroom",
"location": "<string>",
"grades": [
"-1"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"periods": [
"<string>"
],
"resources": [
{
"sourcedId": "<string>"
}
],
"terms": [
{
"sourcedId": "<string>"
}
]
}
}
'{
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"classCode": "<string>",
"classType": "homeroom",
"location": "<string>",
"course": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
},
"school": {
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
},
"terms": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "<string>"
}
],
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"grades": [
"3"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"periods": [
"<string>"
],
"resources": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "<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.
The access token received from the authorization server in the OAuth 2.0 flow.
Class sourcedId
Show child attributes
Class successfully updated
Represents a class.
active, tobedeleted homeroom, scheduled Show child attributes
Show child attributes
Show child attributes
Additional metadata for the object
The grades of the course
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 The subjects of the course
Reading, Language, Vocabulary, Social Studies, Writing, Science, FastMath, Math, None, Other Show child attributes