Skip to main content

CRM

", "/api/pagibig-contribution-rates", "/api/withholding-tax-brackets", "/api/government-forms", "/api/government-filings", "/api/tin-compliance", "/api/ewt-payees", "/api/ewt-transactions"); } The hiring funnel, including the two genuinely public careers endpoints.

Controllers7
Endpoints41
Tables10
Screens8
API reference/api/ — group crm
OpenAPI spec/openapi/crm.json

URL prefixes​

Endpoints belong to this module by URL, exactly as the OpenAPI group defines it in backend/src/main/java/com/motorph/payroll/config/OpenApiConfiguration.java.

  • /api/crm/**

Controllers​

ControllerBase pathEndpointsGETPOSTPUTPATCHDELETE
CrmActivityController/api/crm/activities521—11
CrmContactController/api/crm/contacts6311—1
CrmDealController/api/crm/deals1162111
CrmLeadController/api/crm/leads722111
CrmOrganizationController/api/crm/organizations5211—1
CrmPicklistController/api/crm/picklists4111—1
CrmSettingsController/api/crm/settings32—1——

Across the module: 18 GET, 8 POST, 6 PUT, 3 PATCH, 6 DELETE.

Tables​

Everything this module's controllers can reach through a repository, including through a shared service — so this is the upper bound of what the module touches, not the set of tables it owns. A table appearing under two modules means two modules can read it.

EntityTableColumnsTenant-scoped
CrmActivitycrm_activity10Yes
CrmContactcrm_contact10Yes
CrmDealcrm_deal11Yes
CrmLeadcrm_lead14Yes
CrmNotecrm_note3Yes
CrmOrganizationcrm_organization12Yes
CrmPicklistItemcrm_picklist_item11Yes
CrmSettingscrm_settings12Yes
CrmSettingsChangecrm_settings_changes6Yes
Employeeemployee24Yes

Screens​

Frontend routes gated by a permission this module's endpoints also require — the link between a page and its API is the permission string, not the URL.

RouteComponentRequires
/crm/activitiesCrmActivitiescrm.activities.manage
/crm/analyticsCrmAnalyticscrm.reports.view
/crm/contactsCrmContactscrm.contacts.manage
/crm/dashboardCrmDashboardcrm.view
/crm/dealsCrmDealscrm.deals.manage
/crm/leadsCrmLeadscrm.leads.manage
/crm/organizationsCrmOrganizationscrm.contacts.manage
/crm/settingsCrmSettingscrm.settings.manage

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