Mes.WebApi.Models.V3.Quality.GenerateSample JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
| Name | Description | Data Type |
|---|---|---|
| ent_name | The name of the entity for which the sample is generated. | string |
| site_name | The name of the site to which the supplied entity belongs. Must be null if sites are not being used. | string |
| qm_spec_name | The name of the QM specification. | string |
| sample_name | The name of the sample. Based on the pattern defined in the sample_name field of the Sample_Plan table. | string |
| plan_name | The name of the sample plan. | string |
| item_id | The ID of the item from which the sample was generated. | string |
| wo_id | The ID of the work order of the job for which the sample was generated. | string |
| oper_id | The ID of the operation of the job for which the sample is generated. | string |
| seq_no | The ID of the sequence number for the job for which the sample is generated. | integer |
| qm_spec_version | The QM specification version. | string |
| expiry_interval | The amount of time, in minutes, to wait for a sample to be pulled before changing its status to Missed. The default is 10. Null means no expiration. | integer |
| warning_interval | The amount of time, in minutes, to wait for a sample to be pulled before changing its status to Ready Warning. The default is 5. Null means no warning. | integer |
| requested_time_utc | The time in UTC when the sample was requested (readied). | string |