Skip to main content

TimesheetController

Base path/api/timesheets
ModuleHR
Endpoints10
OpenAPI tagTimesheets
Sourcebackend/src/main/java/com/motorph/payroll/controller/TimesheetController.java

Endpoints​

MethodPathRequiresHandler
GET/api/timesheets/meemployee.timesheet.viewlistMine()
POST/api/timesheetshr.timesheets.managecreate()
POST/api/timesheets/clock-inemployee.timesheet.viewclockIn()
POST/api/timesheets/clock-outemployee.timesheet.viewclockOut()
POST/api/timesheets/{id}/submitemployee.timesheet.viewsubmit()
GET/api/timesheetshr.timesheets.viewlist()
GET/api/timesheets/{id}hr.timesheets.viewgetById()
PUT/api/timesheets/{id}hr.timesheets.manageupdate()
PATCH/api/timesheets/{id}/statushr.timesheets.manageupdateStatus()
DELETE/api/timesheets/{id}hr.timesheets.managedelete()

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: TimesheetService.

Tables reached​

EntityTableTenant-scoped
EmployeeemployeeYes
TimesheettimesheetYes

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.