Routes verified from the controllers 2026-07-20; hosts by live capture. Class-level [Authorize]; can_view_disciplinary_details + approval permissions gate the surface.
All disciplinary screens loaded live from
middleware-dev.paidhr.com/admin/disciplinary/*; core-backend also exposesAdmin/Disciplinary/*. Split not fully mapped — technical §7.
[Admin/Disciplinary] (31)Categorised (not exhaustively enumerated):
| Category | Representative endpoints (live) |
|---|---|
| Policies | policy CRUD + view/policies |
| Violation types | type CRUD |
| Violations | selectviolations, view/violations, record/update, file attach |
| Triggers | selectviolationtriggers, approve/decline |
| Suspensions | selectsuspensions, selectsuspensionschedules, record, bulk upload, batch review |
| Exemptions | policy exemptions, payroll exemptions |
[Disciplinary] (6)Shared/lookup endpoints (violation actions, statuses, download).
[Employee/Disciplinary] (5)| Purpose |
|---|
| View violations recorded against me |
| Respond / comment on a violation (the chat/timeline) |
| Create a violation request |
[Employee/MileStoneEmailExemptions] (3)Milestone-email opt-in/out (an email preference, not disciplinary).
policy.HasThreshold + ViolationCount=N
→ N EmployeeViolations (Source=System)
→ EmployeeViolationTrigger raised (status New, ViolationActionId, Amount)
→ admin Approve → action executes
record suspension → EmployeeSuspension (EmployeeRequestId)
→ Requests role-chain approval (0/3 → 3/3)
→ active → recovered in payroll (RecoveredInPayrollId)
→ reinstate (ReinstatementDate)
EmployeeRequestId). See Requests API.