POST,PATCH /yms/equipment-information/form¶
What it does¶
/yms/equipment-information/form accepts POST,PATCH and is declared in app/systems/YMS/container-tracking/api_routes.php:1872 as a path.
The route handler delegates to ymsContainerApiEquipmentInformationFormMutation(). That function is the owner of
this behaviour; the route entry is only dispatch.
Call chain:
- →
ymsContainerApiEquipmentInformationFormMutation()—app/systems/YMS/container-tracking/api_routes.php:668 - ↳
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_EQUIPMENT_INFORMATION |
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
yms.container-tracking, so tenant module access applies