PUT v3/tissue-sample-events/{eventId}.{ext}
Update tissue sample event
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventId | integer |
Required |
Body Parameters
TissueSampleEventUpdateParamsName | Description | Type | Additional information |
---|---|---|---|
EventDate |
Event date |
date |
None. |
LocationId |
Location ID |
integer |
None. |
LocationDetails |
Location details |
string |
None. |
CropStageId |
Crop stage ID |
integer |
None. |
Notes |
Event notes |
string |
None. |
TissueSampleNutrients |
Tissue nutrients |
Collection of TissueSampleNutrientParams |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "EventDate": "2024-12-10T06:24:36.4237154-08:00", "LocationId": 1, "LocationDetails": "sample string 2", "CropStageId": 1, "Notes": "sample string 3", "TissueSampleNutrients": [ { "Id": 1, "NutrientId": 2, "MeasurementUnitId": 1, "Value": 1.0 }, { "Id": 1, "NutrientId": 2, "MeasurementUnitId": 1, "Value": 1.0 } ] }
application/xml, text/xml
Sample:
<TissueSampleEventUpdateParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EventDate>2024-12-10T06:24:36.4237154-08:00</EventDate> <LocationId>1</LocationId> <LocationDetails>sample string 2</LocationDetails> <CropStageId>1</CropStageId> <Notes>sample string 3</Notes> <TissueSampleNutrients> <TissueSampleNutrientParams> <Id>1</Id> <NutrientId>2</NutrientId> <MeasurementUnitId>1</MeasurementUnitId> <Value>1</Value> </TissueSampleNutrientParams> <TissueSampleNutrientParams> <Id>1</Id> <NutrientId>2</NutrientId> <MeasurementUnitId>1</MeasurementUnitId> <Value>1</Value> </TissueSampleNutrientParams> </TissueSampleNutrients> </TissueSampleEventUpdateParams>
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |