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 exposes Admin/Disciplinary/*. Split not fully mapped — technical §7.


Admin/DisciplinaryController — [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

DisciplinaryController — [Disciplinary] (6)

Shared/lookup endpoints (violation actions, statuses, download).

Employee/DisciplinaryController — [Employee/Disciplinary] (5)

Purpose
View violations recorded against me
Respond / comment on a violation (the chat/timeline)
Create a violation request

Employee/MileStoneEmailExemptionsController — [Employee/MileStoneEmailExemptions] (3)

Milestone-email opt-in/out (an email preference, not disciplinary).


Key flows over the API

Threshold → trigger (automated)

policy.HasThreshold + ViolationCount=N
  → N EmployeeViolations (Source=System)
  → EmployeeViolationTrigger raised (status New, ViolationActionId, Amount)
  → admin Approve → action executes

Suspension (Requests + Payroll)

record suspension → EmployeeSuspension (EmployeeRequestId)
  → Requests role-chain approval (0/3 → 3/3)
  → active → recovered in payroll (RecoveredInPayrollId)
  → reinstate (ReinstatementDate)

Cross-module