GET v2/tissue-sample-events/{id}.{ext}

Returns tissue sample event details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TissueSampleEventJSONModel
NameDescriptionTypeAdditional information
PlantingId

integer

None.

LastUpdatedUser

string

None.

LastUpdatedTimestamp

string

None.

CropStageId

integer

None.

LocationId

integer

None.

LocationDetails

string

None.

Notes

string

None.

TissueSampleNutrients

Collection of TissueSampleNutrientJSONModel

None.

LastUpdated

string

None.

DateOnly

boolean

None.

Id

integer

None.

EventDate

date

None.

LotPlantingId

integer

None.

CreatedDate

date

None.

LastUpdateDate

date

None.

UpdatedBy

string

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "PlantingId": 1,
  "LastUpdatedUser": "sample string 2",
  "LastUpdatedTimestamp": "sample string 3",
  "CropStageId": 1,
  "LocationId": 1,
  "LocationDetails": "sample string 4",
  "Notes": "sample string 5",
  "TissueSampleNutrients": [
    {
      "Id": 1,
      "EventId": 2,
      "NutrientId": 3,
      "Nutrient": {
        "Id": 1,
        "Name": "sample string 2",
        "Name_Alt": "sample string 3",
        "NutrientTypeId": 4,
        "MeasureUnitTypeId": 5,
        "Symbol": "sample string 6",
        "MeasurementUnit": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "value": 1.0,
        "Percentage": 7.0
      },
      "MeasurementUnitId": 1,
      "Value": 1.0
    },
    {
      "Id": 1,
      "EventId": 2,
      "NutrientId": 3,
      "Nutrient": {
        "Id": 1,
        "Name": "sample string 2",
        "Name_Alt": "sample string 3",
        "NutrientTypeId": 4,
        "MeasureUnitTypeId": 5,
        "Symbol": "sample string 6",
        "MeasurementUnit": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "value": 1.0,
        "Percentage": 7.0
      },
      "MeasurementUnitId": 1,
      "Value": 1.0
    }
  ],
  "LastUpdated": "sample string 6",
  "DateOnly": true,
  "Id": 1,
  "EventDate": "2024-06-24T16:57:15.9091763-07:00",
  "LotPlantingId": 8,
  "CreatedDate": "2024-06-24T16:57:15.9091763-07:00",
  "LastUpdateDate": "2024-06-24T16:57:15.9091763-07:00",
  "UpdatedBy": "sample string 11"
}

application/xml, text/xml

Sample:
<TissueSampleEventJSONModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <EventDate>2024-06-24T16:57:15.9091763-07:00</EventDate>
  <LotPlantingId>8</LotPlantingId>
  <CreatedDate>2024-06-24T16:57:15.9091763-07:00</CreatedDate>
  <LastUpdateDate>2024-06-24T16:57:15.9091763-07:00</LastUpdateDate>
  <UpdatedBy>sample string 11</UpdatedBy>
  <PlantingId>1</PlantingId>
  <LastUpdatedUser>sample string 2</LastUpdatedUser>
  <LastUpdatedTimestamp>sample string 3</LastUpdatedTimestamp>
  <CropStageId>1</CropStageId>
  <LocationId>1</LocationId>
  <LocationDetails>sample string 4</LocationDetails>
  <Notes>sample string 5</Notes>
  <TissueSampleNutrients>
    <TissueSampleNutrientJSONModel>
      <Id>1</Id>
      <EventId>2</EventId>
      <NutrientId>3</NutrientId>
      <Nutrient>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <Name_Alt>sample string 3</Name_Alt>
        <NutrientTypeId>4</NutrientTypeId>
        <MeasureUnitTypeId>5</MeasureUnitTypeId>
        <Symbol>sample string 6</Symbol>
        <MeasurementUnit>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </MeasurementUnit>
        <value>1</value>
        <Percentage>7</Percentage>
      </Nutrient>
      <MeasurementUnitId>1</MeasurementUnitId>
      <Value>1</Value>
    </TissueSampleNutrientJSONModel>
    <TissueSampleNutrientJSONModel>
      <Id>1</Id>
      <EventId>2</EventId>
      <NutrientId>3</NutrientId>
      <Nutrient>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <Name_Alt>sample string 3</Name_Alt>
        <NutrientTypeId>4</NutrientTypeId>
        <MeasureUnitTypeId>5</MeasureUnitTypeId>
        <Symbol>sample string 6</Symbol>
        <MeasurementUnit>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </MeasurementUnit>
        <value>1</value>
        <Percentage>7</Percentage>
      </Nutrient>
      <MeasurementUnitId>1</MeasurementUnitId>
      <Value>1</Value>
    </TissueSampleNutrientJSONModel>
  </TissueSampleNutrients>
  <LastUpdated>sample string 6</LastUpdated>
  <DateOnly>true</DateOnly>
</TissueSampleEventJSONModel>