For Developers

Code Mappings

School systems rarely use the same codes for the same thing. One district might record an absence as AE ("Absent Excused"), while another uses EX ("Excused Absence"). Edlink keeps both: what the school calls it and what it means everywhere else.

What Is a Code Mapping?

A code mapping stores a district or school's local code along with a standardized value that Edlink uses across all integrations. Each code mapping has:

PropertyPurpose
codeThe short code from the school system (e.g. ISS1, AE, STG5).
nameThe label from the school system.
descriptionMore detail about what the code means at that school.
mappingThe standardized value this code corresponds to.

For example, a district might have an attendance flag with code ISS1 and name "In-School Suspension." The Attendance Flag code mapping stores that local code and sets mapping to in_school_suspension, which is the standardized Attendance Entry Flag value.

Why Code Mappings Matter

Code mappings let Edlink:

  1. Keep the original codes — The school's code, name, and description are always available.
  2. Make comparisons easy — The mapping value is the same no matter which district you're looking at.
  3. Customize mappings — Districts can change how their codes map to Edlink's values without changing their SIS/LMS.

When Edlink can't determine a good match for a code, the mapping will default to other during the first sync.

Code Mappings and Standardized Values

Some API resources have names that sound similar to the standardized values they map to, and that is intentional. The resource name (like Attendance Flags) is the district's code list, while the standardized value (like Attendance Entry Flag) is what Edlink uses in the mapping field.

ModelStandardized ValueWhat It Represents
Attendance FlagsAttendance Entry FlagWhy an attendance record is unusual (e.g. a suspension or field trip).
Attendance StatusesAttendance Entry StatusWhether an absence is excused, unexcused, or otherwise classified.
Attendance TypesAttendance Entry TypeWhether a person was present, absent, tardy, or not yet recorded.
Calendar Day IncidentsDay IncidentWhat happened on a calendar day (e.g. a weather or security emergency).
District Enrollment RolesPerson RoleA person's role within a district.
School Enrollment RolesPerson RoleA person's role within a school.
Enrollment RolesPerson RoleA person's role within a class.
Gender IdentitiesGender IdentityA person's gender identity.
Grade LevelsGrade LevelThe grade level a person is in.

When you see a reference to a code mapping in the API, look up its id to get the local code details, then check mapping for the standardized value.