Teachers API
The Teachers module manages teacher profiles, qualifications, and assignments.
Model
{
"id": "uuid",
"code": "TCH001",
"name": "John Smith",
"first_name": "John",
"last_name": "Smith",
"email": "john.smith@school.edu",
"phone_mobile": "+84123456789",
"status": "active",
"employee_id": "EMP001",
"hire_date": "2020-09-01",
"department_id": "dept-uuid",
"subjects": [...],
"qualifications": [...],
"lms_id": "canvas-123",
"team_id": "team-uuid"
}
Status Values
Status |
Description |
|---|---|
|
Currently employed |
|
On leave or inactive |
|
No longer employed |
Endpoints
Standard CRUD
Method |
Endpoint |
Description |
|---|---|---|
POST |
|
List teachers |
GET |
|
Get teacher |
POST |
|
Create teacher |
PUT |
|
Update teacher |
DELETE |
|
Delete teacher |
POST |
|
Export to Excel |
Relationships
Qualifications
POST /api/teachers/list_relate/:id/education_qualifications/EducationQualification
Work Experience
POST /api/teachers/list_relate/:id/work_experiences/WorkExperience
Certifications
POST /api/teachers/list_relate/:id/certifications/Certification
Filterable Fields
Field |
Type |
Description |
|---|---|---|
|
text |
Teacher code |
|
enum |
Employment status |
|
relate |
Department |
|
date |
Hire date |
|
relate |
Campus |
Canvas Integration
Teachers sync to Canvas as users with instructor role. Course assignments sync as Canvas enrollments.