Skip to content

POST /tms/carriers/export-master

TMS > tms.carrier

What it does

/tms/carriers/export-master accepts POST and is declared in app/systems/TMS/carrier/api_routes.php:58 as a path.

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

Who calls it

Called from:

  • public/assets/js/modules/shared/kj-view-actions.js

A caller is the strongest available evidence of the intended use.

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

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

UPDATE T_CARRIER_MASTER SET IS_EXPORTED = TRUE WHERE CLIENT_ID = ? AND DELETED_AT IS NULL

Data

Tables reached from the owner function:

  • T_CARRIER_MASTER

Access

  • module-gated on tms.carrier, so tenant module access applies