Scale (by topic)ΒΆ
The scale is split across three modules. yms.scale does the actual measuring (check-in and check-out), bms.scale-ticket owns the ticket for that measurement and the close, and tms.transload only attaches a ticket to a transload. Read in that order the three pages are one flow.
17 endpoints - owned by 3 modules: bms.scale-ticket, yms.scale, tms.transload
This page is a supporting index gathered by topic. The proper home of an endpoint is the module page, which follows the code structure; in each row below, the module name is that home. Whether to move a module in the code is a separate decision.
| Method | Path | What it does | Module |
|---|---|---|---|
| DELETE | /bms/scale-tickets/(?P<id>\d+) |
Delete a scale ticket | bms.scale-ticket |
| DELETE | /yms/scale/tickets/(?P<id>\d+) |
Delete a scale ticket | yms.scale |
| GET | /bms/scale-tickets/(?P<id>\d+) |
Read a scale ticket in detail | bms.scale-ticket |
| GET | /bms/scale-tickets/(?P<id>\d+)/spare-context |
Read the spare inventory state behind a scale ticket - which lots are held as spare | bms.scale-ticket |
| GET | /bms/scale-tickets/history |
Read the processing history of the scale tickets | bms.scale-ticket |
| GET | /yms/scale/schedule |
Read the scale schedule | yms.scale |
| GET | /yms/scale/tickets |
List scale tickets | yms.scale |
| GET | /yms/scale/tickets/(?P<id>\d+) |
Read a scale ticket in detail | yms.scale |
| GET | /yms/scale/tickets/(?P<id>\d+)/events |
Read the event history of a scale ticket | yms.scale |
| PATCH | /bms/scale-tickets/(?P<id>\d+) |
Edit a scale ticket | bms.scale-ticket |
| PATCH | /tms/transloads/(?P<id>\d+)/scale-ticket |
Edit the scale ticket link of a transload | tms.transload |
| POST | /bms/scale-tickets |
Register a scale ticket | bms.scale-ticket |
| POST | /bms/scale-tickets/closing |
Close the scale tickets - confirms unprocessed scale records at the yard close | bms.scale-ticket |
| POST | /bms/scale-tickets/outbound-weight-apply |
Apply the outbound weight to a scale ticket | bms.scale-ticket |
| POST | /yms/scale/check-in/execute |
Run a scale check-in - measures the inbound weight | yms.scale |
| POST | /yms/scale/check-out/execute |
Run a scale check-out - measures the outbound weight | yms.scale |
| POST | /yms/scale/purchase-inbound/walk-in |
Handle a walk-in scale for a purchase inbound | yms.scale |