Skip to main content

Show MO Component Line

GET 

/api/manufacturing/mo-component-lines/1

Show a single Manufacturing Consumption (component) line — the detail view used by the standalone Manufacturing Consumption page.

Returns the component-line resource plus:

  • inventory_movements — every movement attached to this consumption line (one consumption row per FIFO layer drawn, plus optionally one scrap row)
  • layers_drawn — denormalised summary of the FIFO layers consumed (with quantity taken, unit cost, layer date)
  • consumption_date — top-level canonical date (component consumption_posted_at, falling back to first movement date or MO completed_at)

Request

Responses

OK

Response Headers
    Content-Type