GET /yms/equipment-loads/search¶
What it does¶
/yms/equipment-loads/search accepts GET and is declared in app/systems/YMS/container-tracking/api_routes.php:1928 as a path.
The route handler delegates to ymsContainerApiEquipmentLoadSearch(). That function is the owner of
this behaviour; the route entry is only dispatch.
Who calls it¶
Called from:
public/assets/js/modules/tms/loading-planner-modal.js
A caller is the strongest available evidence of the intended use.
Input¶
| Where | Key |
|---|---|
body |
ID |
body |
LIMIT |
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 EQL.ID AS `key`,
Data¶
Tables reached from the owner function:
T_EQUIPMENTT_EQUIPMENT_LOAD
Access¶
- module-gated on
yms.container-tracking, so tenant module access applies