Exam Rooms & Candidate Numbers (Xếp Phòng Thi)

Allocate candidates to exam rooms: candidate numbers in Vietnamese alphabetical order by given name, seats, mixed classes, posted lists as XLSX.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Send the candidate list as students (JSON array, CSV text or an uploaded CSV / XLSX file; Vietnamese headers such as ho_ten, lop, ngay_sinh are recognised) and the rooms (rooms as a number or [{ name, capacity }], or just capacity, default 24). Candidates are ordered like Vietnamese class lists – by given name, then family and middle names, with the Vietnamese collation of /v1/vn-sort (An < Anh < Ánh < Bình, đ after d) – or by order=class, random (reproducible with seed) or given.

Candidate numbers (sbd_prefix, sbd_start, sbd_digits) follow that order; rooms are filled to capacity (fill=sequential) or evenly (balanced), and interleave_classes=true seats neighbours from different classes. Extra columns (subject, exam code…) are kept on each candidate.

format=xlsx gives the master list plus one sheet per room to post on the door and use as the signature sheet (sheets, exam code, signature, invigilators). Nothing is stored.

Use this in your code

curl -X POST "https://apibox.io.vn/v1/vn-exam-rooms" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"students":[{"ho_ten":"Nguyễn Văn Bình","lop":"9A"},{"ho_ten":"Trần Thị An","lop":"9B"},{"ho_ten":"Lê Văn Đức","lop":"9A"}],"capacity":2,"sbd_prefix":"HK1-"}'

API documentation → Get a free API key

FAQ

How are Vietnamese names sorted?

By given name first (the last word), then family and middle names, letter by letter in the Vietnamese alphabet with tone order ngang, huyền, hỏi, ngã, sắc, nặng.

Can I keep the same random order next time?

Yes: order=random with the same seed always gives the same order.

Is there a PDF admission card?

Not yet: use the XLSX sheets, or fill a card template with /v1/docx-template.