GET v2/plantings/{plantingId}/soil-moisture-data.{ext}

Returns soil moisture data for a planting. The returned data is grouped by soil sensors.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plantingId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SoilMoistureSeries
NameDescriptionTypeAdditional information
Header

SoilMoistureHeader

None.

Dates

Collection of date

None.

Values

Collection of string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "Header": {
      "SensorName": "sample string 1",
      "Depth": "sample string 2",
      "DataType": "sample string 3"
    },
    "Dates": [
      "2023-09-24T07:05:45.651766-07:00",
      "2023-09-24T07:05:45.651766-07:00"
    ],
    "Values": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "Header": {
      "SensorName": "sample string 1",
      "Depth": "sample string 2",
      "DataType": "sample string 3"
    },
    "Dates": [
      "2023-09-24T07:05:45.651766-07:00",
      "2023-09-24T07:05:45.651766-07:00"
    ],
    "Values": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSoilMoistureSeries xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SoilMoistureSeries>
    <Header>
      <SensorName>sample string 1</SensorName>
      <Depth>sample string 2</Depth>
      <DataType>sample string 3</DataType>
    </Header>
    <Dates>
      <dateTime>2023-09-24T07:05:45.651766-07:00</dateTime>
      <dateTime>2023-09-24T07:05:45.651766-07:00</dateTime>
    </Dates>
    <Values>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </Values>
  </SoilMoistureSeries>
  <SoilMoistureSeries>
    <Header>
      <SensorName>sample string 1</SensorName>
      <Depth>sample string 2</Depth>
      <DataType>sample string 3</DataType>
    </Header>
    <Dates>
      <dateTime>2023-09-24T07:05:45.651766-07:00</dateTime>
      <dateTime>2023-09-24T07:05:45.651766-07:00</dateTime>
    </Dates>
    <Values>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </Values>
  </SoilMoistureSeries>
</ArrayOfSoilMoistureSeries>