yms.container-tracking¶
Tracks where containers and equipment currently are. It covers container type, tare weight, reading a seal photo with AI, street turn and full ready validation, together with equipment information, repair history and vehicle management.
32 endpoints - system yms - module gate applies
What this module covers - Containers, equipment, equipment loads, bookings, deliveries, companies, files.
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| POST | /yms/apmt-appointments/create |
Create an APMT appointment | handler ymsContainerApiApmAppointmentCreate() · calls export-dispatch.js, import-dispatch.js |
| POST | /yms/apmt-appointments/preflight |
Preflight an APMT appointment - checks the available time bands | handler ymsContainerApiApmAppointmentPreflight() · tables T_BOOKING, T_COMPANY, T_DELIVERY +2 more · calls export-dispatch.js, import-dispatch.js |
| POST | /yms/apmt-appointments/slots |
Read the available time bands for an APMT appointment | handler ymsContainerApiApmAppointmentSlots() · calls export-dispatch.js, import-dispatch.js |
| GET | /yms/containers/by-deliveries |
List the containers of several deliveries | handler is_string() |
| GET | /yms/containers/by-delivery |
List the containers of one delivery | handler container_by_delivery_id() · tables T_BOOKING, T_COMPANY, T_DELIVERY +3 more |
| GET | /yms/containers/by-equipment-load |
List the containers of a load | handler container_by_equipment_load_id() · tables T_COMPANY, T_EQUIPMENT, T_EQUIPMENT_COMMODITY +1 more |
| POST | /yms/containers/closing-complete |
Mark the container closing as complete | handler ymsContainerApiClosingComplete() · tables T_EQUIPMENT_LOAD, T_FILE · calls kj-table-utilities.js |
| GET | /yms/containers/empty |
List empty containers | handler ymsContainerApiRead() |
| POST/PATCH | /yms/containers/form |
Register or edit a container | handler ymsContainerApiFormMutation() · tables T_EQUIPMENT, T_EQUIPMENT_LOAD · calls container-edit-modal.js, mk-outbound-order-editor.js |
| POST | /yms/containers/mark-empty |
Mark a container as empty | handler ymsContainerApiMarkEmpty() · tables T_EQUIPMENT_LOAD · calls import-dispatch.js |
| GET | /yms/containers/mobile |
List containers for mobile | handler ymsContainerApiRead() · calls api_catalog.php, container.php |
| PATCH | /yms/containers/mobile/(?P<id>\d+)/empty-weight |
Edit the tare weight of a container from mobile | handler ymsContainerApiWrite() |
| PATCH | /yms/containers/return-bookings |
Edit the return bookings of several containers at once | handler ymsContainerApiUpdateReturnBookings() · calls kj-table-options-export.js |
| POST | /yms/containers/seal-photo/ai-extract |
Extract the number from a seal photo with AI | handler ctcAiApiExtract() · calls api_catalog.php |
| POST | /yms/containers/street-turn |
Apply a street turn | handler ymsContainerApiStreetTurn() · tables T_BOOKING, T_EQUIPMENT, T_EQUIPMENT_LOAD · calls container-edit-modal.js, popup.core.js |
| POST | /yms/containers/validate-full-ready |
Validate the full ready state | handler validate_full_ready_by_equipment_load_ids() · tables T_BOOKING, T_EQUIPMENT, T_EQUIPMENT_LOAD |
| POST | /yms/containers/validate-numbers |
Validate container numbers | handler validate_container_numbers() · tables T_EQUIPMENT, T_TRANSACTION · calls chassis-input-modal.js, popup.core.js |
| GET | /yms/equipment/by-delivery |
List the equipment of a delivery | handler equipment_by_delivery_id() · tables T_BOOKING, T_DELIVERY, T_EQUIPMENT +1 more |
| GET | /yms/equipment/(?P<id>\d+)/repair-logs |
Read the repair history of a piece of equipment | handler equipment_repair_log_list() · tables T_COMPANY, T_EQUIPMENT_REPAIR_LOG |
| POST/PATCH | /yms/equipment-information/form |
Register or edit equipment information | handler ymsContainerApiEquipmentInformationFormMutation() · calls popup.core.js |
| GET | /yms/equipment-information/(?P<id>\d+) |
Read equipment information in detail | handler apiTableMutationReadRow() |
| GET | /yms/equipment-loads/container-details |
Read the container details of a load | handler is_string() |
| GET | /yms/equipment-loads/search |
Search loads | handler ymsContainerApiEquipmentLoadSearch() · tables T_EQUIPMENT, T_EQUIPMENT_LOAD · calls loading-planner-modal.js |
| POST | /yms/equipment-loads/(?P<id>\\d+)/assign-out-ref |
Assign an out ref to a load | handler ymsContainerApiAssignOutRef() |
| GET | /yms/equipment-loads/(?P<id>\d+)/container-detail |
Read the container detail of a load | handler edit_container_data() · tables T_BOOKING, T_COMPANY, T_EQUIPMENT +5 more |
| POST | /yms/equipment-loads/(?P<id>\\d+)/delete |
Delete a load | handler ymsContainerApiDeleteEquipmentLoad() · tables T_DELIVERY, T_EQUIPMENT, T_EQUIPMENT_LOAD +1 more |
| GET | /yms/equipment-repair-logs/(?P<id>\d+) |
Read an equipment repair log in detail | handler prepare() |
| POST/PATCH | /yms/fleet-management/activities |
Register or edit a vehicle activity | handler ymsFleetApiSaveActivity() · tables T_EQUIPMENT_ACTIVITY, T_EQUIPMENT_INFORMATION · calls fleet-management.js |
| POST/PATCH | /yms/fleet-management/assets |
Register or edit a vehicle asset | handler ymsFleetApiSaveAsset() · tables T_EQUIPMENT_INFORMATION · calls fleet-management.js |
| GET | /yms/fleet-management/assets/(?P<id>\d+) |
Read a vehicle asset in detail | handler ymsFleetApiAssetDetail() · tables T_EQUIPMENT_INFORMATION |
| GET | /yms/fleet-management/dashboard |
Read the fleet management dashboard | handler ymsFleetApiDashboard() |
| GET | /yms/yard-containers |
List the containers in the yard | handler ymsContainerApiRead() |
Topics this module shares with other modules¶
- 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_EQUIPMENT_LOAD (12x) · T_EQUIPMENT (11x) · T_BOOKING (6x) · T_COMPANY (5x) · T_DELIVERY (4x) · T_EQUIPMENT_COMMODITY (3x) · T_EQUIPMENT_INFORMATION (3x) · T_TRANSLOAD (2x) · T_FILE · T_TRANSACTION · T_EQUIPMENT_REPAIR_LOG · T_LOAD · T_LOAD_ITEM · T_EQUIPMENT_ACTIVITY
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.