Skip to main content

SssContributionRateController

The SSS rate tables.

Base path/api/sss-contribution-rates
ModulePH Statutory
Endpoints8
OpenAPI tagSSS Contribution Rates
Sourcebackend/src/main/java/com/motorph/payroll/controller/SssContributionRateController.java

Endpoints​

MethodPathRequiresHandler
GET/api/sss-contribution-ratespayroll.sss.rates.managelist()
GET/api/sss-contribution-rates/{id}payroll.sss.rates.managegetById()
POST/api/sss-contribution-ratesAny authenticated usercreate()
PUT/api/sss-contribution-rates/{id}Any authenticated userupdate()
DELETE/api/sss-contribution-rates/{id}Any authenticated userdelete()
GET/api/sss-contribution-rates/effective-datespayroll.sss.rates.managelistEffectiveDates()
POST/api/sss-contribution-rates/cohorts/duplicateAny authenticated userduplicateCohort()
PUT/api/sss-contribution-rates/cohortsAny authenticated userreplaceCohort()
note

This controller carries one @PreAuthorize on the class, which Spring applies to every handler. 3 of its 8 endpoints inherit it rather than declaring their own.

Call chain​

Dependencies​

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

Tables reached​

EntityTableTenant-scoped
SssContributionRatesss_contribution_rates—

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/.