PATCH /tms/transloads/assignment-auto-mode¶
What it does¶
/tms/transloads/assignment-auto-mode accepts PATCH and is declared in app/systems/TMS/transload/api_routes.php:565 as a path.
The route handler delegates to tmsTransloadApiAssignmentAutoModeUpdate(). That function is the owner of
this behaviour; the route entry is only dispatch.
Call chain:
- →
tmsTransloadApiAssignmentAutoModeUpdate()—app/systems/TMS/transload/request_api_helper.php:50 - ↳
tmsTransloadNormalizeAssignmentAutoMode()—app/systems/TMS/transload/request_api_helper.php:29
Who calls it¶
Called from:
frontend/pages/system/TMS/transload/inbound-planning.php
A caller is the strongest available evidence of the intended use.
Input¶
| Where | Key |
|---|---|
body |
MODE |
body |
mode |
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.
Data¶
No table reference is visible in the owner function body.
Access¶
- module-gated on
tms.transload, so tenant module access applies