Skip to content

API ​

All endpoints are on the university's own address, e.g. https://<university>.<platform domain>, and need a logged-in user. Each call only returns and changes what the user's roles allow (roles).

EntityEndpoint
Event / Announcement/api/hrms/announcement
Attendance/api/hrms/attendance
Bank Account/api/hrms/bank_account
Biometric Device/api/hrms/biometric_device
Department/api/hrms/department
Designation/api/hrms/designation
Employee/api/hrms/employee
Employee Document/api/hrms/employee_document
Holiday/api/hrms/holiday
Leave Balance/api/hrms/leave_allocation
Leave Application/api/hrms/leave_application
Leave Day/api/hrms/leave_application_day
Leave Type/api/hrms/leave_type
Letter Template/api/hrms/letter_template
Employee Loan/api/hrms/loan
Payroll Run/api/hrms/payroll_run
Payslip/api/hrms/payslip
Payslip Line/api/hrms/payslip_line
Payslip Request/api/hrms/payslip_request
HR Policy/api/hrms/policy
Reimbursement Claim/api/hrms/reimbursement
Resignation/api/hrms/resignation
Salary Advance/api/hrms/salary_advance
Salary Component/api/hrms/salary_component
Salary Structure/api/hrms/salary_structure
Attendance Star Reward/api/hrms/star_reward

Events ​

DirectionEvent
emitshrms.employee.created
emitshrms.employee.deactivated
emitshrms.leave.applied
emitshrms.leave.approved
emitshrms.leave.rejected
emitshrms.attendance.marked
emitshrms.payroll.finalised
emitshrms.payslip.generated
emitshrms.resignation.approved
listens torecruitment.candidate.selected

Settings ​

Each university sets these from its admin screen.

SettingTypeDefaultLabel
pfPercentnumber12Provident Fund (% of basic)
ptMonthlynumber200Professional tax per month (rupees)
ptFebruarynumber300Professional tax for February (rupees)
payrollDaynumber1Day of month salary is paid
attendanceCycleFromDaynumber26Attendance cycle starts on day
attendanceCycleToDaynumber25Attendance cycle ends on day
earnedLeaveYearlyCreditnumber15Earned leave credited on 1 January (days)
earnedLeaveCapnumber45Maximum earned leave balance (days)
autoCheckoutTimetext"23:50"Auto check-out time for open attendance
lateCheckInReminderTimetext"12:01"Reminder to staff not checked in by
workingSaturdaystext"All"Working Saturdays (All, None, or e.g. 1,3,5)
attendanceStarRewardscheckfalseReward regular attendance with stars and bonus leave
biometricAttendancecheckfalseAccept attendance from biometric devices

Edulab Bench developer documentation