Accounts & Users
Teacher self-registration (@mitaoe.ac.in), email verification, self-service profile, admin staff provisioning, password resets, and bulk CSV import
Register New Teacher
Self-registers a teacher using an institutional @mitaoe.ac.in email address. Account remains inactive until email verification and administrator approval.
Access: Public (no JWT required).
Register New Teacher › Request Body
email.*@mitaoe\.ac\.in$ · requiredMust match institutional domain pattern .*@mitaoe\.ac\.in$.
employeeIdnamepassword^(?=.*[a-z])(?=.*[A-… · requireddepartmentIdphonespecializationRegister New Teacher › Responses
OK
Get Staff Profile
Returns the authenticated staff member's profile record.
Access: Authenticated caller (Authorization: Bearer <token>).
Get Staff Profile › Responses
OK
employeeIdnameshortName^[A-Z]{2,5}$ · requiredcreatedAtemailidisActiveisApprovedisEmailVerifiedisFirstLoginmaxWeeklyHoursminWeeklyHoursphoneroleAllowed creation roles via POST /api/teachers: TEACHER, TIMETABLE_COORDINATOR, HOD, DEPARTMENT_ADMIN.
specializationupdatedAtUpdate Staff Profile
Updates allowed self-service fields on the authenticated staff member's profile.
Access: Authenticated caller (Authorization: Bearer <token>).
Update Staff Profile › Request Body
maxWeeklyHoursminWeeklyHoursphonespecializationUpdate Staff Profile › Responses
OK
employeeIdnameshortName^[A-Z]{2,5}$ · requiredcreatedAtemailidisActiveisApprovedisEmailVerifiedisFirstLoginmaxWeeklyHoursminWeeklyHoursphoneroleAllowed creation roles via POST /api/teachers: TEACHER, TIMETABLE_COORDINATOR, HOD, DEPARTMENT_ADMIN.
specializationupdatedAtChange Password
Verifies the caller's current password and updates it to the new password.
Access: Authenticated caller (Authorization: Bearer <token>).
Change Password › Request Body
confirmPasswordcurrentPasswordnewPassword^(?=.*[a-z])(?=.*[A-… · requiredChange Password › Responses
OK
Check Short Name Availability
Checks whether a teacher short name is already taken within the institution or department.
Required Permission: teacher.read.department or teacher.read.institution (JWT Bearer + scope check).
query Parameters
shortNameQuery parameter shortName.
excludeIdQuery parameter excludeId.
Check Short Name Availability › Responses
OK
availablemessagesuggestionsAlternative short-name candidates when taken.
Create Staff Account
Manually provisions an active, pre-verified @mitaoe.ac.in staff account with first-login password update required. Departmental admins are restricted to their own department and permitted roles.
Create Staff Account › Request Body
nameemployeeIdshortName^[A-Z]{2,5}$ · requiredemail.*@mitaoe\.ac\.in$ · requiredminWeeklyHoursmaxWeeklyHoursphonespecializationroledepartmentIdCreate Staff Account › Responses
Staff member provisioned successfully
Update Staff Account
Updates staff profile attributes, active status, department assignment, or academic role within caller authorization bounds.
path Parameters
idUpdate Staff Account › Request Body
employeeIdnameshortName^[A-Z]{2,5}$ · requireddepartmentIdemailisActivemaxWeeklyHoursminWeeklyHoursphonerolespecializationUpdate Staff Account › Responses
Updated staff account details
employeeIdnameshortName^[A-Z]{2,5}$ · requiredcreatedAtemailidisActiveisApprovedisEmailVerifiedisFirstLoginmaxWeeklyHoursminWeeklyHoursphoneroleAllowed creation roles via POST /api/teachers: TEACHER, TIMETABLE_COORDINATOR, HOD, DEPARTMENT_ADMIN.
specializationupdatedAt