Mes.WebApi.Models.Consumption JSON Schema
- Last UpdatedNov 06, 2025
- 2 minute read
| Name | Description | Data Type |
|---|---|---|
| event_time | The consumption event time. | string |
| user_id | The ID of the user who ran the job that consumed the item. | string |
| bom_pos | The BOM position. | integer |
| qty_cons | The quantity consumed. | number |
| reas_cd | The reason that uniquely identifies the grade + status of goods consumed. | integer |
| lot_no | The lot number of the consumed item. | string |
| fg_lot_no | The anticipated finished good lot number of the produced item for genealogy tracking. | string |
| sublot_no | The sublot number of the consumed item. | string |
| fg_sublot_no | The anticipated finished good sublot number of the produced item for genealogy tracking. | string |
| item_id | The ID of the consumed item. | string |
| ext_ref | The item's external reference (e.g., to an external system for defect tracking or any other purpose). | string |
| apply_scaling_factor | Indicates whether to apply a scaling factor. The scaling factor is used to get the correct units from counts if counts are item-dependent. | boolean |
| genealogy_id | The genealogy ID. | string |
| upstream_event_id | The upstream event ID. | string |
| segment_requirement_id | The segment requirement ID. | string |
| segment_response_id | The segment response ID. | string |
| comments | The comments about the item consumption. | string |
| spare1 | The contents of the user-defined spare1 field. | string |
| spare2 | The contents of the user-defined spare2 field. | string |
| spare3 | The contents of the user-defined spare3 field. | string |
| spare4 | The contents of the user-defined spare4 field. | string |
| job_pos | Gets or sets number that specifies the position of the job. | integer |
| alt_no | The alternative number. The number is an index to this item that is used to identify it as a substitute (alternate) for another item. | integer |
| row_id | The item consumption record's unique row ID. | integer |