GET /tms/transload-loaders/options¶
What it does¶
/tms/transload-loaders/options accepts GET and is declared in app/systems/TMS/transload/api_routes.php:413 as a path.
The route handler delegates to tmsTransloadApiLoaderOptions(). That function is the owner of
this behaviour; the route entry is only dispatch.
Call chain:
- →
tmsTransloadApiLoaderOptions()—app/systems/TMS/transload/planning_query_api_helper.php:870 - ↳
tmsTransloadApiLookupLimit()—app/systems/TMS/transload/planning_query_api_helper.php:820
Who calls it¶
Called from:
frontend/pages/system/TMS/transload/inbound-loader.phpfrontend/pages/system/TMS/transload/inbound-planning.phpfrontend/pages/system/TMS/transload/loader-assignment-board.php
A caller is the strongest available evidence of the intended use.
Input¶
| Where | Key |
|---|---|
body |
Q |
body |
QUERY |
Request bodies must not use TYPE, ACTION or USERNAME as contract fields.
Output¶
The response is produced by a shared helper, so the key set is not visible at the route. Read the owner function to confirm the shape before writing a client.
SQL executed¶
SELECT ID FROM T_ROLE
SELECT U.ID AS `key`,
Data¶
Tables reached from the owner function:
T_ROLET_USER
Access¶
- module-gated on
tms.transload, so tenant module access applies