Retrieve enrollment records from a OneRoster 1.2 REST provider and match them to users and classes

domain: imsglobal.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate using OAuth 2.0 client credentials and obtain a bearer token scoped to the roster read scope
  2. GET /enrollments to retrieve all enrollment objects, paginating with limit and offset
  3. Each enrollment contains a user sourcedId reference and a class sourcedId reference; collect these for joining
  4. GET /users and GET /classes to build lookup maps keyed by sourcedId
  5. Join enrollments to users and classes using the sourcedId references to build complete membership records
  6. Respect the role field on each enrollment (student, teacher, aide) when constructing membership sets

Known gotchas

Related routes

Fetch organization and class hierarchy from a OneRoster 1.2 REST provider
imsglobal.org · 6 steps · unrated
Sync student rosters from a district SIS using OneRoster 1.1 REST API
imsglobal.org · 5 steps · unrated
Sync student and section rosters from Infinite Campus using its OneRoster 1.2 REST API
infinitecampus.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans