Mes.WebApi.Models.V3.Quality.SampleCharsResults JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
| Name | Description | Data Type |
|---|---|---|
| sample_id | The sample ID. Applies to all the results for all characteristics. | integer |
| created_by | The ID of the user who entered the values. If null, the ID of the caller is used. Applies to all the results for all characteristics. | string |
| created_at_utc | The date and time when the values were entered, in UTC. If null, the current date and time is used. Applies to all the results for all characteristics. | string |
| char_results | An array of type SampleCharResults that is a list of SampleCharResults objects. A SampleCharResults object is included for each characteristic, and each object can have results to add or have updates to the sample_char_link or both. | Array[Mes.WebApi.Models.V3.Quality.SampleCharResults] |
This model is used to record characteristic results and changes to Sample_Char_Link records.
The following example would record three results for two characteristics with a sample (225):
{sample_id: 225, created_by: "MyDomain\\MyUser", created_at_utc: "2020-08-22 12:34:56",
char_results:
[{char_name: "VarChar1", results: [{value_no: 1, result_value: 5.6, act_sample_size: 1}, {value_no: 2, result_value: 5.9, act_sample_size: 1}, {value_no: 3, result_value: 5.3, act_sample_size: 1}]},
{char_name: "VarChar2", results: [{value_no: 1, result_value: 8.6, act_sample_size: 1}, {value_no: 2, result_value: 8.9, act_sample_size: 1}, {value_no: 3, result_value: 8.3, act_sample_size: 1}]}]
}