Imports student data from a CSV file. The file must include the following headers, and all fields are required:
Nama Lengkap — full name of the student
Email Sekolah — school email address (must be unique)
Password — initial password for the student account
NISN — national student identification number (must be unique)
NIPD — internal student ID number (must be unique)
Jenis Kelamin — gender
Agama — religion
Each row represents a student record to be created or updated in the system. The API validates required fields, ensures that Email Sekolah, NISN, and NIPD are unique, and returns a summary of successful and failed imports.
Request
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://sims.sman1samarinda.sch.id/api/students/import' \
--form'file=@"/Users/akhmadqasim/Downloads/contoh-import-student-excel.xlsx"'