Get all courses
Returns a paginated list of all courses
Query Parameters
- Type: integerlimitmin:1max:100
Maximum number of items to return
- Type: integeroffsetmin:0
Number of items to skip
- Type: stringsort
Field to sort by
- Type: stringenumorder
By Sort direction
values- A
S C - D
E S C
- Type: stringfields
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
Responses
- application/json
- application/json
- application/json
Request Example for get/rostering/1.0/courses
curl 'https://platform.dev.timeback.com/rostering/1.0/courses?limit=10&offset=0&sort=&orderBy=ASC&fields=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"courses": [
{
"sourcedId": "string",
"status": "active",
"dateLastModified": "2026-04-22T22:13:59.231Z",
"metadata": null,
"title": "string",
"courseCode": "string",
"grades": [
"string"
],
"subjects": [
"string"
],
"subjectCodes": [
"string"
],
"resources": [
{
"href": "https://example.com",
"sourcedId": "string",
"type": "academicSession"
}
],
"org": {
"href": "https://example.com",
"sourcedId": "string",
"type": "academicSession"
},
"schoolYear": {
"href": "https://example.com",
"sourcedId": "string",
"type": "academicSession"
}
}
],
"offset": 1,
"limit": 1,
"total": 1
}