POST,PATCH /tms/carriers/form¶
What it does¶
/tms/carriers/form accepts POST,PATCH and is declared in app/systems/TMS/carrier/api_routes.php:40 as a path.
The route handler delegates to tmsCarrierApiFormMutation(). That function is the owner of
this behaviour; the route entry is only dispatch.
Call chain:
- →
tmsCarrierApiFormMutation()—app/systems/TMS/carrier/api_routes.php:6 - ↳
apiTableMutationRun()—app/shared/api/table_mutation_helper.php:482 - ↳
apiTableMutationNormalize()—app/shared/api/table_mutation_helper.php:6
Who calls it¶
Called from:
public/assets/js/modules/shared/popup.core.js
A caller is the strongest available evidence of the intended use.
Input¶
| Where | Key |
|---|---|
query |
mode |
Request bodies must not use TYPE, ACTION or USERNAME as contract fields.
Output¶
| Key |
|---|
T_CARRIER_MASTER |
Success is { "data": …, "requestId": "…" }.
Failure is { "error": { "code", "message" }, "requestId": "…" }.
Data¶
No table reference is visible in the owner function body.
Access¶
- module-gated on
tms.carrier, so tenant module access applies