Skip to main content

Student Data

Student Data is imported through the /import/students endpoint, which accepts a POST request with a JSON body that looks like this:

[
{
name: "A Pupil"
username: "22apupil"
upn: "Abcdef"
yearGroup: "Year 8"
regGroup: "8L"
},
{
name: "B Pupil"
username: "23bpupil"
upn: "zxyv1"
yearGroup: "Year 7"
regGroup: "7O"
}
]
FieldValue
nameThe students display name
usernameThe students username as passed through azure-upn
upnThe students UPN from the MIS
yearGroupThe students year group, exposed as a scope
regGroupThe students registration group, exposed as a scope

Any user imported on this endpoint will be matched by username and have the user type set to STUDENT.