GET v2/plantings/{id}.{ext}

Returns planting details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Planting Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PlantingAdvancedViewModel
NameDescriptionTypeAdditional information
Id

Planting ID

integer

None.

PlantingBasicInfoViewModel

Basic information

PlantingBasicInfoViewModel

None.

PlantingSettingsViewModel

Advanced information

PlantingSettingsViewModel

None.

SoilProperties

Soil properties, containing SoilWeb data and user customized soil layers

CombinedSoilProperties

None.

CropTypeViewModel

Crop type data

CropTypeViewModel

None.

Metadata

Detailed planting information

PlantingMetaDataViewModel

None.

CalculatorSettings

Planting calculator saved settings

PlantingCalculatorSettings

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Id": 1,
  "PlantingBasicInfoViewModel": {
    "PlantingName": "sample string 1",
    "LotId": 2,
    "LotName": "sample string 3",
    "CropTypeId": 4,
    "CommodityTypeId": 5,
    "WetDate": "2024-06-24T15:31:44.9034205-07:00",
    "HarvestDate": "2024-06-24T15:31:44.9034205-07:00",
    "AgeOfCrop": 1
  },
  "PlantingSettingsViewModel": {
    "Acres": 1.0,
    "ObstructionDepth": 1.0,
    "Coordinates": "sample string 1",
    "PrevCropDays": 1,
    "DripApplicationRate": 1.0,
    "DripDistUniformPct": 1.0,
    "MicroSprinklerDistUniformityPct": 1.0,
    "MicroSprinklerApplicationRate": 1.0,
    "FloodDistUniformityPct": 1.0,
    "DripFlowMeterArea": 1.0,
    "MicroSprinklerFlowMeterArea": 1.0,
    "FlowMeterFileName": "sample string 2",
    "LeechingFactorPct": 1.0,
    "GerminationSprinklerPct": 1.0,
    "SoilMoistureFileName": "sample string 3",
    "FlowMeterArea": 1.0,
    "SprinklerApplicationRate": 1.0,
    "SprinklerDistUniformityPct": 1.0,
    "PreviousCropTypeId": 1,
    "FlowMeterThresholdSprinkler": 4.0,
    "FlowMeterThresholdMicroSprinkler": 5.0,
    "FlowMeterThresholdDrip": 6.0,
    "LeafSenesceDate": "2024-06-24T15:31:44.9034205-07:00",
    "StressStartDate": "2024-06-24T15:31:44.9034205-07:00",
    "StressEndDate": "2024-06-24T15:31:44.9034205-07:00",
    "IsCoverCropEnabled": true,
    "YieldTarget": 1.0,
    "YieldActual": 1.0,
    "CommodityTypeYieldUnitId": 1,
    "IsHighVigor": true,
    "IsMacroTunnelEnabled": true,
    "IsMacroTunnelFullSeason": true,
    "MacroTunnelStartDate": "2024-06-24T15:31:44.9034205-07:00",
    "MacroTunnelEndDate": "2024-06-24T15:31:44.9034205-07:00",
    "IsStressEnabled": true,
    "IsSpatialEnabled": true,
    "IrrigationMethods": [
      {
        "Id": 1,
        "LotPlantingId": 2,
        "IrrigationMethodId": 3,
        "InUse": true
      },
      {
        "Id": 1,
        "LotPlantingId": 2,
        "IrrigationMethodId": 3,
        "InUse": true
      }
    ],
    "DeficitType": 1,
    "ControlPoints": [
      {
        "Date": "2024-06-24T15:31:44.9034205-07:00",
        "CropETPercentage": 4
      },
      {
        "Date": "2024-06-24T15:31:44.9034205-07:00",
        "CropETPercentage": 4
      }
    ]
  },
  "SoilProperties": {
    "SoilWebProperties": {
      "Record": {
        "Id": 1,
        "CoKey": "sample string 2",
        "Name": "sample string 3",
        "Series": "sample string 4",
        "Texture": "sample string 5"
      },
      "Layers": [
        {
          "Id": 1,
          "CoKey": "sample string 2",
          "Depth": 3,
          "Sand": 1.0,
          "Silt": 1.0,
          "Organic": 1.0,
          "Density": 1.0,
          "Tension": 1.0,
          "Mineralization": 1.0
        },
        {
          "Id": 1,
          "CoKey": "sample string 2",
          "Depth": 3,
          "Sand": 1.0,
          "Silt": 1.0,
          "Organic": 1.0,
          "Density": 1.0,
          "Tension": 1.0,
          "Mineralization": 1.0
        }
      ],
      "Error": 1
    },
    "CustomSoilLayers": null
  },
  "CropTypeViewModel": {
    "BasalKC": 1.0,
    "CanopyA": 1.0,
    "CanopyB": 1.0,
    "CanopyC": 1.0,
    "CanopyD": 1.0,
    "CanopyE": 1.0,
    "CanopyF": 1.0,
    "EarlyFruit": 1.0,
    "WaterStressStart": 1.0,
    "WaterStressEnd": 1.0,
    "StressStart": 1.0,
    "StressEnd": 1.0,
    "IsStressable": true,
    "CanopyGMax": 1.0,
    "CanopyMin": 1.0,
    "CanopyIntercept": 1.0,
    "CanopyMaxFraction": 1.0,
    "CropMineralizationRate": 2.0,
    "CommodityTypeId": 3,
    "DaysToEndDate": 4.0,
    "FertA": 1.0,
    "FertB": 1.0,
    "FertYo": 1.0,
    "GermDays": 5.0,
    "HarvestIntervalFraction": 6.0,
    "MaxDays": 7.0,
    "MaxNRec": 8.0,
    "MaxAge": 1,
    "MaxRootDepth": 1.0,
    "MaxUptake": 1.0,
    "MinRootDepth": 1.0,
    "Name": "sample string 9",
    "BedWidth": 1.0,
    "Rows": 1.0,
    "IsDefault": true,
    "DefaultCropTypeId": 1,
    "PrevCropK": 11.0,
    "RootDepthThreshold": 12.0,
    "SoilNThreshold": 13.0,
    "SoilNThresholdFraction": 14.0,
    "SoilNThresholdFractionMid": 15.0,
    "SoilNThresholdLate": 16.0,
    "SoilNThresholdMid": 17.0,
    "TargetTension1": 1.0,
    "TargetTension2": 1.0,
    "TargetTension3": 1.0,
    "TargetTension4": 1.0,
    "TensionDry": 1.0,
    "TensionMoist": 1.0,
    "TensionWet": 1.0,
    "SoilNRatioA": 18.0,
    "SoilNRatioB": 19.0,
    "SoilNRatioC": 20.0,
    "NFertilizerFactorA": 21.0,
    "NFertilizerFactorB": 22.0,
    "NFertilizerFactorC": 23.0,
    "NFertilizerFactorD": 24.0,
    "NUptakeThreshold": 25.0,
    "IsNDependent": true,
    "StrawberryFertilizationInterval": 27,
    "UptakeFactor": 28.0,
    "UptakeConstant": 29.0,
    "IsMacroTunnelEnabled": true,
    "Kccov_quad": 1.0,
    "Kccov_slope": 1.0,
    "Kccov_int": 1.0,
    "CovDensityFactor": 1.0,
    "LeafSenesce": 1.0,
    "WetAreaDrip": 1,
    "WetAreaMicroSprinkler": 1,
    "InadequateSummerLeafN": 1.1,
    "ExcessiveSummerLeafN": 1.1,
    "NFertilizerAdjustment": 1.1,
    "FertilizerUseEfficiency": 1.1,
    "ManureN": 31.1,
    "CompostN": 32.1,
    "CoverCropN": 33.1,
    "CropSensitivity": 1.0,
    "TreeInterceptCoefficient": 1.0,
    "TreeLeafNCoefficient": 1.0,
    "TreeIlr4Coefficient": 1.0,
    "TreeIlr8Coefficient": 1.0,
    "TreeIlrProductCoefficient": 1.0,
    "DripIrrigationFactor": 1.0,
    "SprinklerIrrigationFactor": 1.0,
    "FloodIrrigationFactor": 1.0,
    "SeasonalKCs": [
      {
        "Id": 1,
        "CropTypeId": 2,
        "Month": 3,
        "KcMax": 1.0,
        "NiToMaxCanopy": 1,
        "Density": 1.0,
        "Cover": 1.0
      },
      {
        "Id": 1,
        "CropTypeId": 2,
        "Month": 3,
        "KcMax": 1.0,
        "NiToMaxCanopy": 1,
        "Density": 1.0,
        "Cover": 1.0
      }
    ],
    "TreeNutrientThresholds": [
      {
        "Id": 1,
        "CropTypeId": 2,
        "NutrientId": 3,
        "SeasonAverage": 1.1,
        "Threshold": 1.1,
        "Recorded": 1.1,
        "TissueFactor": 1.1,
        "TissueCoefficientA": 1.1,
        "TissueCoefficientB": 1.1,
        "NutrientSymbol": "sample string 4",
        "NutrientUnit": "sample string 5",
        "NutrientName": "sample string 6"
      },
      {
        "Id": 1,
        "CropTypeId": 2,
        "NutrientId": 3,
        "SeasonAverage": 1.1,
        "Threshold": 1.1,
        "Recorded": 1.1,
        "TissueFactor": 1.1,
        "TissueCoefficientA": 1.1,
        "TissueCoefficientB": 1.1,
        "NutrientSymbol": "sample string 4",
        "NutrientUnit": "sample string 5",
        "NutrientName": "sample string 6"
      }
    ],
    "VegetativeNDemands": [
      {
        "Id": 1,
        "CropTypeId": 2,
        "YearMin": 1,
        "YearMax": 1,
        "Low": 3,
        "High": 4
      },
      {
        "Id": 1,
        "CropTypeId": 2,
        "YearMin": 1,
        "YearMax": 1,
        "Low": 3,
        "High": 4
      }
    ],
    "PerennialRootDepths": [
      {
        "Id": 1,
        "CropTypeId": 2,
        "YearMin": 3,
        "YearMax": 4,
        "Max": 5.0,
        "Min": 6.0
      },
      {
        "Id": 1,
        "CropTypeId": 2,
        "YearMin": 3,
        "YearMax": 4,
        "Max": 5.0,
        "Min": 6.0
      }
    ],
    "PerennialCanopies": [
      {
        "Id": 1,
        "CropTypeId": 2,
        "Age": 3,
        "CanopyA": 1.0,
        "CanopyB": 1.0,
        "CanopyE": 1.0,
        "CanopyF": 1.0,
        "CanopyGMax": 1.0,
        "CanopyMaxFraction": 1.0
      },
      {
        "Id": 1,
        "CropTypeId": 2,
        "Age": 3,
        "CanopyA": 1.0,
        "CanopyB": 1.0,
        "CanopyE": 1.0,
        "CanopyF": 1.0,
        "CanopyGMax": 1.0,
        "CanopyMaxFraction": 1.0
      }
    ]
  },
  "Metadata": {
    "CropType": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "ActiveCropType": {
      "Id": 1,
      "Name": "sample string 2",
      "UptakeFactor": 3.0,
      "UptakeConstant": 4.0,
      "IsNDependent": true,
      "IsSelected": true,
      "PlantingsCount": 7
    },
    "CommodityTypes": [
      {
        "Id": 1,
        "ExternalID": 2,
        "Name": "sample string 3",
        "IconPath": "sample string 4",
        "HeaderBackgroundPath": "sample string 5",
        "HarvestOnce": true,
        "IsActive": true,
        "IsAssociatedWithRanch": true,
        "CommodityTypeCalculator": "sample string 9",
        "YieldUnitId": 1
      },
      {
        "Id": 1,
        "ExternalID": 2,
        "Name": "sample string 3",
        "IconPath": "sample string 4",
        "HeaderBackgroundPath": "sample string 5",
        "HarvestOnce": true,
        "IsActive": true,
        "IsAssociatedWithRanch": true,
        "CommodityTypeCalculator": "sample string 9",
        "YieldUnitId": 1
      }
    ],
    "RanchName": "sample string 1",
    "RanchGuid": "5c78f8e4-f1b8-4d07-8464-1234b933c830",
    "PrevCropTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "PrevCropK": 3.0,
        "CropMineralizationRate": 4.0
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "PrevCropK": 3.0,
        "CropMineralizationRate": 4.0
      }
    ],
    "CommodityTypeId": 3,
    "UptakeFactor": 4.0
  },
  "CalculatorSettings": {
    "CompostN": {
      "Id": 1,
      "LotPlantingId": 1,
      "Amount": 1.0,
      "N": 1.0,
      "ApplicationMethod": 1.0
    },
    "ManureN": {
      "Id": 1,
      "LotPlantingId": 1,
      "TypePriorYear": 1.0,
      "RatePriorYear": 1.0,
      "TypeTwoYearsAgo": 1.0,
      "RateTwoYearsAgo": 1.0
    },
    "MicroSprinklerSetting": {
      "Id": 1,
      "LotPlantingId": 1,
      "InRowTreeSpacing": 1.0,
      "BetweenRowTreeSpacing": 1.0,
      "MicroSprinklersPerTree": 1,
      "UseFlowRate": true,
      "FlowRate": 1.0,
      "MicroSprinklerId": 1
    },
    "CoverCrop": {
      "Id": 1,
      "LotPlantingId": 1,
      "LegumeCoverCropStand": 1,
      "IncorporationMethod": 1.0
    },
    "DripApplicationRate": {
      "Id": 1,
      "LotPlantingId": 1,
      "BedWidth": 1,
      "DripLinesPerBed": 1,
      "TapeDischargeRate": 1.0,
      "EmitterDischargeRate": 1.0,
      "EmittersPerTree": 1.0,
      "RowSpacing": 1.0,
      "InRowTreeSpacing": 1.0,
      "TreesPerAcre": 1,
      "UseTreesPerAcre": true
    },
    "SprinklerApplicationRate": {
      "Id": 1,
      "LotPlantingId": 1,
      "Type": 1,
      "NozzleDiameter": 1,
      "NozzlePressure": 1,
      "PipeSpacing": 1.0,
      "HeadSpacing": 1.0
    }
  }
}