yms.scale¶
Running the yard scale. Check-in and check-out measure inbound and outbound weight and leave a ticket and its events behind.
8 endpoints - system yms - module gate applies
What this module covers - Scale tickets and their events, loads.
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| POST | /yms/scale/check-in/execute |
Run a scale check-in - measures the inbound weight | handler ymsScaleApiExecuteCheckin() · calls scale-portal.js |
| POST | /yms/scale/check-out/execute |
Run a scale check-out - measures the outbound weight | handler ymsScaleApiExecuteCheckout() · calls scale-portal.js |
| POST | /yms/scale/purchase-inbound/walk-in |
Handle a walk-in scale for a purchase inbound | handler ymsScaleApiCreateWalkinInbound() · calls scale-portal.js |
| GET | /yms/scale/schedule |
Read the scale schedule | handler ymsScaleApiRead() · calls scale-portal.js |
| GET | /yms/scale/tickets |
List scale tickets | handler ymsScaleApiRead() · calls scale-portal.js |
| DELETE | /yms/scale/tickets/(?P<id>\d+) |
Delete a scale ticket | handler scale_portal_post_handle() · tables T_LOAD, T_SCALE_TICKET |
| GET | /yms/scale/tickets/(?P<id>\d+)/events |
Read the event history of a scale ticket | handler ymsScaleApiEvents() · tables T_SCALE_TICKET_EVENT |
| GET | /yms/scale/tickets/(?P<id>\d+) |
Read a scale ticket in detail | handler ymsScaleApiRead() |
Topics this module shares with other modules¶
- Scale - this topic is spread across 3 modules and 17 endpoints.
Tables this module reads¶
T_LOAD · T_SCALE_TICKET · T_SCALE_TICKET_EVENT
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.