Skip to content

GET /wms/inventory/bale-reviews

WMS > wms.inventory

What it does

/wms/inventory/bale-reviews accepts GET and is declared in app/systems/WMS/inventory/api_routes.php:708 as a path.

The route handler delegates to wmsInventoryBaleReviewQueue(). That function is the owner of this behaviour; the route entry is only dispatch.

Call chain:

  1. → wmsInventoryBaleReviewQueue() — app/systems/WMS/inventory/bale_review_helper.php:273
  2. ↳ wmsInventoryBaleReviewQueueSearch() — app/systems/WMS/inventory/bale_review_helper.php:245
  3. ↳ wmsInventoryBaleStr() — app/systems/WMS/inventory/bale_adjustment_helper.php:33

Who calls it

No literal caller path was found in frontend/, public/ or new-system/. The endpoint may be called through a constructed path, a helper wrapper, or only by an external client. Treat the route table and owner function as the authority.

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
CONFIRMED
CONFIRMED_AT
CONFIRMED_BY
PENDING
STATUS
TRANSLOAD_ID
WEIGHT_REVIEW_REASON

Success is { "data": …, "requestId": "…" }. Failure is { "error": { "code", "message" }, "requestId": "…" }.

Data

Tables reached from the owner function:

  • T_COMPANY
  • T_TRANSLOAD

Access

  • module-gated on wms.inventory, so tenant module access applies

Validation and failure messages

  • Choose a date or enter an exact Load Number/Reference with at least 4 characters.

These strings come from the owner function and are the messages a client can receive. They are also the cheapest way to tell a rejected request from a broken one.