Skip to main content
GET
Get a class by ID

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials flow. Contact timeback@trilogy.com to request credentials for your application.

Path Parameters

sourcedId
string
required

Unique identifier of the class

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Available fields: sourcedId, status, dateLastModified, username, enabledUser, givenName, familyName, middleName, email, phone, sms, identifier, roles, grades, agents, userIds, userMasterIdentifier, preferredFirstName, preferredMiddleName, preferredLastName, primaryOrg.sourcedId, primaryOrg.type, userProfiles, userProfiles.profileId, userProfiles.profileType, userProfiles.vendorId, userProfiles.applicationId

Response

Successful operation

Class information in the OneRoster format

sourcedId
string
required

Unique identifier for the class

status
enum<string>
required

Status of an entity in the system

Available options:
active,
tobedeleted,
inactive
dateLastModified
string<date-time>
required

Timestamp of when the class was last modified

title
string
required

Title or name of the class

classCode
string
required

Code used to identify the class

classType
string
required

Type of class (scheduled, homeroom, etc.)

grades
string[]
required

Array of grade levels associated with the class

subjects
string[]
required

Array of subjects covered in the class

periods
string[]
required

Array of time periods when the class is scheduled

course
object
required

Course information associated with the class

school
object
required

School information associated with the class

terms
object[]
required

Academic sessions (terms) associated with the class

metadata
object | null

Additional metadata associated with the class

location
string | null

Physical location where the class is held

subjectCodes
string[] | null

Array of subject codes for the class

resources
object[]

Array of resources associated with the class