V3_Sample_Put (Put)
- Last UpdatedNov 06, 2025
- 1 minute read
| Put | V3_Sample_Put |
Resource Path:/api/v3/Sample
| Name | Description |
|---|---|
| trans_id | Used to supply the ID of the transaction if the call is taking part in a transaction. |
The request body is of type Mes.WebApi.Models.V3.Quality.Sample.
Required. The updated property information for the sample.
The response body is of type Mes.WebApi.Models.V3.Quality.Sample.
OKThe Sample model property sample_id identifies the sample record to update.
For this Put, you must supply values for all properties in the model, even if you want to keep the property value the same in the database. If you do not provide a property value, it will be set to null if the corresponding database table column allows for null values.
The order of execution is that the sample context properties are updated first, then the sample is marked as pulled/unpulled, and then the Final flag is set/reset.