Mes.WebApi.Models.V3.Quality.Sample JSON Schema
- Last UpdatedNov 06, 2025
- 2 minute read
| Name | Description | Data Type |
|---|---|---|
| ent_id | The entity ID. | integer |
| sample_name | The sample name. | string |
| item_id | The item ID. | string |
| wo_id | The work order ID of the current job when the sample was pulled. | string |
| oper_id | The operation ID of the current job when the sample was pulled. | string |
| seq_no | The sequence number of the current job when the sample was pulled. | integer |
| context_ent_id | The entity or entity class ID for the specification that causes the sample to be generated. | integer |
| context_item_id | The item ID for the specification that causes the sample to be generated. | string |
| item_category_id | The item category ID. | integer |
| process_id | The process ID for the specification that caused the sample to be generated. The process_id and the context_oper_id must be both null or non-null. | string |
| context_oper_id | The operation ID for the specification that causes the sample to be generated. The process_id and the context_oper_id must be both null or non-null. | string |
| freq_id | The sample plan frequency ID. | integer |
| segment_requirement_id | The user-specified S95 field. | string |
| segment_response_id | The user-specified S95 field. | string |
| lot_no | The number of the lot from which the sample was pulled. | string |
| sublot_no | The number of the sublot from which the sample was pulled. | string |
| requested_time_utc | The date and time relative to the entity, in UTC, when the sample was requested. | string |
| expiry_time_utc | The date and time relative to the entity, in UTC, when the sample request expires. | string |
| warning_time_utc | The date and time relative to the entity, in UTC, when the sample request turned to Ready Warning. | string |
| pulled_by | The name of the person who pulled the sample. | string |
| pulled_time_utc | The date and time relative to the entity, in UTC, when the sample was pulled. | string |
| final | The indication whether the sample has been marked as final, which would prohibit editing of any data associated with the sample. | boolean |
| finalized_by | The name of the person who marked the sample as final. | string |
| finalized_at_utc | The date and time relative to the entity, in UTC, when the sample was marked as final. | string |
| verified_by | The name of the person who verified the sample. | string |
| sample_status | An enumeration that indicates the status of the sample. 1 = Ready 2 = Ready Warning 3 = Missed 4 = In Progress 5 = Late 6 = Complete 7 = Complete Late 8 = Canceled | integer |
| sample_result | An enumeration that indicates the result state of the sample. 1 = Pending 2 = Good 3 = OOC 4 = OOS 5 = OOC Key 6 = OOS Key 7 = OOC Critical 8 = OOS Critical | integer |
| priority | The priority of measuring the sample. | integer |
| spare1 | The contents of the spare1 field. | string |
| spare2 | The contents of the spare2 field. | string |
| spare3 | The contents of the spare3 field. | string |
| spare4 | The contents of the spare4 field. | string |
| sample_id | The sample ID, assigned by the system. | integer |
| last_edit_at | The date and time when the sample record was added or last updated. | string |