POST /tms/transloads/duplicate-reference-details¶
What it does¶
/tms/transloads/duplicate-reference-details accepts POST and is declared in app/systems/TMS/transload/api_routes.php:268 as a path.
The route handler delegates to tmsTransloadApiDuplicateReferenceDetails(). That function is the owner of
this behaviour; the route entry is only dispatch.
Who calls it¶
Called from:
frontend/pages/system/TMS/transload/transload-email-approval.phppublic/assets/js/modules/shared/popup.core.jspublic/assets/js/modules/tms/export-transload-create-modal.js
A caller is the strongest available evidence of the intended use.
Input¶
No named input key is visible in the handler or its owner function. The endpoint
either takes no parameters or reads them through a shared helper in app/shared/api/.
Output¶
| Key |
|---|
BILLING_COMPANY_ID |
CURRENT_APPOINTMENT_TIME |
CURRENT_ROW |
REFERENCE_NUMBER |
Success is { "data": …, "requestId": "…" }.
Failure is { "error": { "code", "message" }, "requestId": "…" }.
Data¶
Tables reached from the owner function:
T_COMPANYT_TRANSLOAD
Access¶
- module-gated on
tms.transload, so tenant module access applies