Resolve Ed-Fi resource dependency order via the metadata dependencies endpoint before loading StudentSchoolAssociation enrollment records.

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

Steps

  1. Authenticate with OAuth 2.0 client credentials against /oauth/token using Basic auth of client key/secret to get a bearer access token.
  2. Call the API root to retrieve the Discovery document, listing the data API base URL, version, and available data models.
  3. GET /metadata/data/v3/dependencies to retrieve the required load order for resources, since Ed-Fi enforces referential integrity.
  4. Create/verify the Student and School resources referenced by a StudentSchoolAssociation before POSTing the association itself.
  5. POST the StudentSchoolAssociation with studentReference, schoolReference, entryDate, entryGradeLevelDescriptor, and exitWithdrawDate on exit.
  6. Use correctly namespaced descriptor URIs (e.g., uri://ed-fi.org/GradeLevelDescriptor#...) and check for state-specific descriptor extensions.

Known gotchas

Related routes

Query Ed-Fi ODS API composite resources to retrieve enrollment data across multiple entities in one request
docs.ed-fi.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ 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