CrmOrganizationController
| Base path | /api/crm/organizations |
| Module | CRM |
| Endpoints | 5 |
| OpenAPI tag | CRM Organizations |
| Source | backend/src/main/java/com/motorph/payroll/controller/CrmOrganizationController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/crm/organizations | crm.view | list() |
GET | /api/crm/organizations/{id} | crm.view | getById() |
POST | /api/crm/organizations | crm.contacts.manage | create() |
PUT | /api/crm/organizations/{id} | crm.contacts.manage | update() |
DELETE | /api/crm/organizations/{id} | crm.contacts.manage | delete() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: CrmOrganizationService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| CrmOrganization | crm_organization | Yes |
| Employee | employee | Yes |
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/.