Skip to content

tms.transload

The largest module. It holds transload planning (the loading planner), DIP drafts, work assignment and clock in/out, transload appointments and time blocks, transload email approval, rejection and rescheduling, reopening a completed transload, and AI voice calls. The inbound planning screen and the loader work flow are built on it.

90 endpoints - system tms - module gate applies

What this module covers - Transloads, load plans, companies, bookings, scale tickets, inventory lots, roles and users, master time bands.

reopen-for-retransload reverses a completed transload, so the version with the preview is the safer one to call first.

Endpoints

Method Path What it does Evidence
GET /tms/ai-voice/calls List AI voice calls handled by an inline closure in the route table
GET /tms/ai-voice/calls/(?P<uuid>[0-9a-f-]{36}) Read an AI voice call in detail handled by an inline closure in the route table
GET /tms/ai-voice/calls/(?P<uuid>[0-9a-f-]{36})/transcript Read the transcript of an AI voice call handled by an inline closure in the route table
POST /tms/ai-voice/loads/(?P<id>\d+)/calls Start an AI voice call for a load handled by an inline closure in the route table
GET /tms/ai-voice/loads/(?P<id>\d+) Read the AI call state of a load handled by an inline closure in the route table
POST /tms/ai-voice/loads/(?P<id>\d+)/preview Preview the result of an AI call handled by an inline closure in the route table
GET /tms/daily-dip-drafts List the daily DIP drafts handler dailyDipDraftRead() · tables T_DAILY_DIP_DRAFT, T_DAILY_DIP_ITEM · calls inbound-planning.php
PUT /tms/daily-dip-drafts Save a daily DIP draft handler dailyDipDraftSave() · tables T_DAILY_DIP_DRAFT, T_DAILY_DIP_ITEM · calls inbound-planning.php
GET /tms/domestic-pickup-number-matches List the items matching a domestic pickup number handler tmsTransloadApiDomesticPickupNumberMatches()
GET /tms/equipment-loads/(?P<id>\d+)/transloads List the transloads of a load handler tmsTransloadApiRead()
GET /tms/loading-planner/analysis Read the result of the loading plan analysis handler tmsTransloadApiLoaderAnalysis()
GET /tms/loading-planner/bale-sources List the bale source lots of a loading plan handler tmsTransloadApiLoadingPlannerBaleSources() · tables T_COMPANY, T_INVENTORY_LOT, T_INVENTORY_LOT_LEDGER +2 more
POST/PATCH /tms/loading-planner/form Register or edit a loading plan handler tmsTransloadApiLoadingPlannerFormMutation() · calls popup.core.js
POST /tms/loading-planner Create a loading plan handler tmsTransloadApiLoadingPlannerCreate() · tables T_LOADING_PLANNER · calls inbound-planning.php, loading-planner-modal.js
GET /tms/loading-planner/step1-availability Read the step 1 availability of a loading plan handler tmsTransloadApiLoadingPlannerStep1Availability() · tables T_TRANSLOAD
GET /tms/loading-planner/timeline Read the timeline of a loading plan handler tmsTransloadApiLoadingPlannerTimeline()
DELETE /tms/loading-planner/(?P<id>\d+) Delete a loading plan handler tmsTransloadApiLoadingPlannerDelete() · tables T_LOADING_PLANNER, T_TRANSLOAD
GET /tms/loading-planner/(?P<id>\d+) Read a loading plan in detail handler tmsTransloadApiLoadingPlannerRead() · tables T_LOADING_PLANNER
PATCH /tms/loading-planner/(?P<id>\d+) Edit a loading plan handler tmsTransloadApiLoadingPlannerUpdate() · tables T_LOADING_PLANNER, T_TRANSLOAD
GET /tms/staff-time/current Read the current work hours of a member of staff handler tmsStaffTimeCurrent() · calls inbound-loader.php
PATCH /tms/staff-time/current-context Edit the current work context handler tmsStaffTimeUpdateCurrentContext() · calls inbound-planning.php
POST /tms/staff-time/event Record a work event handler tmsStaffTimeCreateEvent() · calls inbound-loader.php
POST /tms/staff-time/manager-events Register a work event as a manager handler tmsStaffTimeManagerCreateEvent() · calls loader-analysis.php, loader-timeline.php
DELETE /tms/staff-time/manager-events/(?P<id>[0-9]+) Delete a work event handler tmsStaffTimeManagerDeleteEvent() · tables T_STAFF_TIME_EVENT
PATCH /tms/staff-time/manager-events/(?P<id>[0-9]+) Edit a work event handler tmsStaffTimeManagerUpdateEvent() · tables T_STAFF_TIME_EVENT
POST /tms/staff-time/manager-sync Sync work hours for the manager view handler tmsStaffTimeManagerSync() · calls loader-analysis.php, loader-timeline.php
GET /tms/staff-time/timeline Read the work hour timeline handler tmsStaffTimeTimeline()
DELETE /tms/transload-appointment-blocks Delete a transload appointment block handler tmsTransloadApiBlockWrite() · calls transload-planner.php
GET /tms/transload-appointment-blocks List transload appointment blocks handler tmsTransloadApiRead() · calls transload-planner.php
POST /tms/transload-appointment-blocks Register a transload appointment block handler tmsTransloadApiBlockWrite() · calls transload-planner.php
GET /tms/transload-emails/approval-queue Read the transload email approval queue handler tmsTransloadApiReadValue() · calls api_catalog.php
POST /tms/transload-emails/approval-submit Submit a transload email approval handler tmsTransloadApiPostAction() · calls transload-email-approval.php
POST /tms/transload-emails/create-confirmation-reply Create a confirmation reply email handler tmsTransloadApiSendCreateConfirmationReply() · calls transload-email-approval.php
POST /tms/transload-emails/item-process Process one transload email item handler tmsTransloadApiPostAction()
GET /tms/transload-emails/outbound-queue List the transload emails queued for sending handler tmsTransloadApiReadValue()
POST /tms/transload-emails/reject-request Reject a transload request handler tmsTransloadApiRejectApprovalRequest() · calls transload-email-approval.php
POST /tms/transload-emails/rejection-reply Create a rejection reply email handler tmsTransloadApiSendRejectionReply()
POST /tms/transload-emails/reschedule-apply Apply a transload rescheduling decision handler tmsTransloadApiPostAction()
GET /tms/transload-emails/reschedule-decision Read the transload rescheduling decision handler tmsTransloadApiReadValue()
GET /tms/transload-loaders/options Read the transload loader options (roles, staff) handler tmsTransloadApiLoaderOptions() · tables T_ROLE, T_USER · calls inbound-loader.php, inbound-planning.php
GET /tms/transload-planner/events List transload planner events handler tmsTransloadApiRead()
PATCH /tms/transload-planner/events/(?P<id>\d+) Edit a transload planner event handler tmsTransloadApiPlannerUpdate()
GET /tms/transload-timeblocks/options Read the transload time block options handler tmsTransloadApiTimeblockOptions() · tables T_MASTER
GET /tms/transload-timeblocks/status Read the transload time block state handler tmsTransloadApiRead()
GET /tms/transloads/assignment-auto-mode Read the transload assignment auto mode handler tmsTransloadApiAssignmentAutoModeRead() · calls inbound-planning.php
PATCH /tms/transloads/assignment-auto-mode Change the transload assignment auto mode handler tmsTransloadApiAssignmentAutoModeUpdate() · calls inbound-planning.php
GET /tms/transloads/break-queue Read the transload break queue handler tmsTransloadApiBreakQueueList() · tables T_LOADING_PLANNER · calls inbound-planning.php
POST /tms/transloads/break-queue Add an entry to the transload break queue handler tmsTransloadApiBreakQueueCreate() · tables T_LOADING_PLANNER · calls inbound-planning.php
DELETE /tms/transloads/break-queue/(?P<id>\d+) Delete an entry from the break queue handler tmsTransloadApiBreakQueueCancel() · tables T_LOADING_PLANNER
PATCH /tms/transloads/break-queue/(?P<id>\d+) Edit an entry in the break queue handler tmsTransloadApiBreakQueueUpdate()
POST /tms/transloads/break-queue/(?P<id>\d+)/start Start the waiting break handler tmsTransloadApiBreakQueueStart()
POST /tms/transloads/break-queue/(?P<id>\d+)/telegram Send the break queue notification over Telegram handler tmsTransloadApiBreakQueueTelegram()
POST /tms/transloads/customer-report-export Export the customer report handler tmsTransloadApiCustomerReportExport() · calls kj-table-definitions.js
GET /tms/transloads/customer-report-templates List the customer report templates handler tmsTransloadApiCustomerReportTemplates() · calls kj-table-definitions.js
POST /tms/transloads/duplicate-reference-details Read the detail behind a duplicate transload reference handler tmsTransloadApiDuplicateReferenceDetails() · tables T_COMPANY, T_TRANSLOAD · calls transload-email-approval.php, popup.core.js
POST /tms/transloads/export-schedule/ai-extract Extract items from an export schedule with AI handler ctcAiApiExtract() · calls api_catalog.php, popup.core.js
POST/PATCH /tms/transloads/form Register or edit a transload handler tmsTransloadApiFormMutation() · tables T_TRANSLOAD · calls inbound-completed-modal.js, popup.core.js
GET /tms/transloads List transloads handler tmsTransloadApiParseIds()
GET /tms/transloads/instruction-rules Read the transload instruction rules handler tmsTransloadApiInstructionRulesRead() · calls instruction-rules.php, transload-instruction-rules.js
PATCH /tms/transloads/instruction-rules Edit the transload instruction rules handler tmsTransloadApiInstructionRulesUpdate() · calls instruction-rules.php, transload-instruction-rules.js
GET /tms/transloads/load-label-candidates List the load label candidates handler tmsTransloadApiLoadLabelCandidates()
POST /tms/transloads/load-schedule/ai-extract Extract items from a load schedule with AI handler ctcAiApiExtract() · calls api_catalog.php
GET/PATCH /tms/transloads/load-schedule/ai-prompt Read or edit the load schedule AI prompt handler ctcAiApiPrompt() · calls api_catalog.php
POST /tms/transloads/load-to-load-reconcile Reconcile from one load to another handler tmsTransloadApiLoadToLoadReconcile() · tables T_TRANSLOAD · calls kj-table-options-master.js
POST /tms/transloads/loader-telegram Send a loader notification over Telegram handler tmsTransloadApiLoaderTelegramSend() · tables T_LOADING_PLANNER · calls inbound-planning.php, loader-assignment-board.php
GET /tms/transloads/planning-board Read the transload planning board handler tmsTransloadApiRead() · calls api_catalog.php
POST /tms/transloads/reopen-for-retransload/dip-recovery Run the DIP recovery of a reopened transload handler tmsTransloadReopenDipRecoveryConfirm() · tables T_TRANSLOAD · calls reopen_retransload_helper.php
POST /tms/transloads/reopen-for-retransload/dip-recovery/preview Preview the DIP recovery of a reopened transload handler tmsTransloadReopenDipRecoveryPreview()
POST /tms/transloads/reopen-for-retransload Reopen a transload for retransload handler tmsTransloadReopenConfirm() · tables T_EQUIPMENT_COMMODITY, T_EQUIPMENT_LOAD, T_TRANSLOAD · calls reopen_retransload_helper.php, transload-edit-modal.js
POST /tms/transloads/reopen-for-retransload/preview Preview reopening a transload for retransload handler tmsTransloadReopenPreview() · tables T_EQUIPMENT_COMMODITY · calls transload-edit-modal.js
POST /tms/transloads/scheduled-inquiry-email Send the scheduled inquiry email handler tmsTransloadApiSendScheduledInquiryEmail() · tables T_COMPANY, T_TRANSLOAD · calls kj-table-options-export.js
POST /tms/transloads/spare-bale Handle a spare bale handler wmsInventoryCreateSpareBale() · tables T_SCALE_TICKET, T_TRANSLOAD · calls inbound-planning.php, kj-scale-ticket-modal.js
GET /tms/transloads/spare-bale-sources List the sources of a spare bale handler tmsTransloadApiSpareBaleSourceLookup()
POST /tms/transloads/stuck-dip-cleanup Clear out a stuck DIP handler tmsTransloadApiStuckDipCleanup() · tables T_LOADING_PLANNER, T_TRANSLOAD · calls inbound-planning.php
GET /tms/transloads/unloading-equipment/options Read the unloading equipment options handler tmsTransloadApiUnloadingEquipmentOptions() · tables T_COMPANY, T_TRANSLOAD, T_YARD_LOCATION · calls loading-planner-modal.js
GET /tms/transloads/work-assignments/current Read the current work assignment handler tmsTransloadApiWorkAssignmentsCurrent() · calls inbound-loader.php
GET /tms/transloads/work-assignments List work assignments handler tmsTransloadApiWorkAssignmentsList() · tables T_LOADING_PLANNER · calls inbound-loader.php, inbound-planning.php
POST /tms/transloads/work-assignments Register a work assignment handler tmsTransloadApiWorkAssignmentsCreate() · tables T_LOADING_PLANNER · calls inbound-loader.php, inbound-planning.php
POST /tms/transloads/work-assignments/(?P<id>\d+)/advance-clock-out Advance the clock out of a work assignment handler tmsTransloadApiWorkAssignmentAdvanceClockOut() · tables T_LOADING_PLANNER
POST /tms/transloads/work-assignments/(?P<id>\d+)/clock-out Clock out of a work assignment handler tmsTransloadApiWorkAssignmentClockOut() · tables T_LOADING_PLANNER
POST /tms/transloads/work-assignments/(?P<id>\d+)/complete Complete a work assignment handler tmsTransloadApiWorkAssignmentComplete() · tables T_LOADING_PLANNER
DELETE /tms/transloads/work-assignments/(?P<id>\d+) Delete a work assignment handler tmsTransloadApiWorkAssignmentCancel() · tables T_LOADING_PLANNER
POST /tms/transloads/work-assignments/(?P<id>\d+)/start Start a work assignment handler tmsTransloadApiWorkAssignmentStart() · tables T_LOADING_PLANNER
PATCH /tms/transloads/(?P<id>\d+)/appointment-time Edit the appointment time of a transload handler tmsTransloadApiUpdateAppointmentTime() · tables T_TRANSLOAD
POST /tms/transloads/(?P<id>\d+)/bol-email Send the BOL email for a transload handler tmsTransloadApiSendBolEmail() · tables T_COMPANY_EMAIL, T_MASTER, T_TRANSLOAD
GET /tms/transloads/(?P<id>\d+) Read a transload in detail handler tmsTransloadApiRows() · tables T_TRANSLOAD
GET /tms/transloads/(?P<id>\d+)/load-label Read the load label of a transload handler tmsTransloadApiLoadLabel()
PATCH /tms/transloads/(?P<id>\d+)/load-label/warehouse-location Edit the warehouse position on a load label handler tmsTransloadApiUpdateLoadLabelWarehouse()
PATCH /tms/transloads/(?P<id>\d+)/scale-ticket Edit the scale ticket link of a transload handler tmsTransloadApiLinkScaleTicket() · tables T_SCALE_TICKET, T_TRANSLOAD
POST /transload/customer-report-export Export the customer report (transload route) handler tmsTransloadApiCustomerReportExport()

Topics this module shares with other modules

  • Scale - this topic is spread across 3 modules and 17 endpoints.
  • Telegram notification - this topic is spread across 2 modules and 3 endpoints.
  • Equipment load - this topic is spread across 4 modules and 10 endpoints.
  • AI item extraction - this topic is spread across 7 modules and 8 endpoints.

Tables this module reads

T_TRANSLOAD (17x) · T_LOADING_PLANNER (16x) · T_COMPANY (4x) · T_DAILY_DIP_DRAFT (2x) · T_DAILY_DIP_ITEM (2x) · T_STAFF_TIME_EVENT (2x) · T_MASTER (2x) · T_EQUIPMENT_COMMODITY (2x) · T_SCALE_TICKET (2x) · T_INVENTORY_LOT · T_INVENTORY_LOT_LEDGER · T_WAREHOUSE_LOCATION · T_ROLE · T_USER · T_EQUIPMENT_LOAD · T_YARD_LOCATION · T_COMPANY_EMAIL


The description is a summary read off the route path, the handler, the tables it reaches and the screens that call it. Nothing is guessed without evidence: where the handler has to be read, it says so. The full evidence is on each endpoint page.