GET v2/plantings/{plantingId}/wells.{ext}

Returns a list of wells associated with a planting.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plantingId

Planting ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LotPlantingWellJSON
NameDescriptionTypeAdditional information
Id

integer

None.

LotPlantingId

integer

None.

WellId

integer

None.

Percentage

integer

None.

IsUsed

boolean

None.

NitrogenPPM

decimal number

None.

Name

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "Id": 1,
    "LotPlantingId": 2,
    "WellId": 3,
    "Percentage": 4,
    "IsUsed": true,
    "NitrogenPPM": 6.0,
    "Name": "sample string 7"
  },
  {
    "Id": 1,
    "LotPlantingId": 2,
    "WellId": 3,
    "Percentage": 4,
    "IsUsed": true,
    "NitrogenPPM": 6.0,
    "Name": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLotPlantingWellJSON xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <LotPlantingWellJSON>
    <Id>1</Id>
    <LotPlantingId>2</LotPlantingId>
    <WellId>3</WellId>
    <Percentage>4</Percentage>
    <IsUsed>true</IsUsed>
    <NitrogenPPM>6</NitrogenPPM>
    <Name>sample string 7</Name>
  </LotPlantingWellJSON>
  <LotPlantingWellJSON>
    <Id>1</Id>
    <LotPlantingId>2</LotPlantingId>
    <WellId>3</WellId>
    <Percentage>4</Percentage>
    <IsUsed>true</IsUsed>
    <NitrogenPPM>6</NitrogenPPM>
    <Name>sample string 7</Name>
  </LotPlantingWellJSON>
</ArrayOfLotPlantingWellJSON>