Where import is available
The integration provides a template download (GET /api/student-import/template) and upload (POST /api/student-import, multipart field file). Both require students.import. These routes declare no faculty, department or profession scopes. The current Students page uses the shared table without mounting the import form. The table export action downloads data. To add a student manually, open the new record form.
Fill in the XLSX template
- Download the supplied
students-template.xlsx. Keep the required sheet nameDefault Languageexactly as supplied. It holds data in the institution's default language. Additional configured languages use uppercase code sheets such asENorRUwhen these are additional languages. The supplied workbook includes translation sheets namedUSandAM. Check them against your installation’s additional language codes. The importer reads matching codes only. - Keep the field names in row 2. For example, the template headings
First NameandEmail Addressare read asfirst_nameandemail_address. Data starts in row 3. In translation sheets put the same person's translated values on the same row. Avoid gaps. Rows missing a first or last name are skipped, and a run of skipped rows can end the import early. - Required columns are
first_name,last_name,gender,citizenship_status,primary(primary citizenship country),document_type,documentandemail_address. Names accept letters, spaces and hyphens. Email addresses must be valid, unique in both the file and the database, and 10–255 characters long. Use the institution's catalog labels for country, citizenship status and document type. - Where available, include birthdate, patronymic, second country, contact details, addresses, previous education, social information and military service. The birthdate is needed later for portal invitations.
For example, enter Mari, Sahakyan, TEST-042 and [email protected] in their respective columns on row 3. Supply existing gender, citizenship status, country and document type labels. On a translation sheet you could enter «Մարի» and «Սահակյան» on row 3. These translations form one record.
Check the response and complete enrollment
The service processes eligible rows in batches of up to 500. Inspect errors and warnings even when the response says the import succeeded. A row error identifies its row number and student details. Duplicate emails and unresolved critical catalog values prevent the affected row from being imported. An unresolved optional value such as a region or educational institution can generate a warning.
Find the new people in the registry after upload. Correct and resubmit only skipped rows to avoid duplicate emails for records already imported. Import creates personal records and the details supplied in the file. Open educational details and verify enrollment, plan and educational status before expecting the student in active lists or distributions.
Implementation references
- frontend-edusystems · Students/container/index.tsx
- frontend-edusystems · StudentsAttributes/App/StudentsAttributes.tsx
- frontend-edusystems · Students/store/thunk.ts
- backend-edusystems · Students/routes/api.php
- backend-edusystems · Http/Controllers/StudentsImportController.php
- backend-edusystems · Students/Services/StudentsImportService.php
- backend-edusystems · resources/templates/students_import_template.xlsx