POST v2/et-weather-events.{ext}

Saves an ET weather event.

Request Information

URI Parameters

None.

Body Parameters

ETWeatherEventPostModel
NameDescriptionTypeAdditional information
Id

Record ID

integer

None.

ET

ET value

decimal number

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "Id": 1,
  "ET": 2.0
}

application/xml, text/xml

Sample:
<ETWeatherEventPostModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <ET>2</ET>
</ETWeatherEventPostModel>

Response Information

Resource Description

LotPlantingWithEvents
NameDescriptionTypeAdditional information
Events

Object

None.

HasSoilMoistureFileName

boolean

None.

HasFlowMeterFileName

boolean

None.

IsNDependent

boolean

None.

CommodityTypeCalculator

string

None.

CommodityTypeName

string

None.

ActiveEvents

string

None.

Favorite

boolean

None.

FavoriteId

integer

None.

Id

integer

None.

Name

string

None.

RanchLot

RanchLotBasic

None.

HarvestDate

date

None.

WetDate

date

None.

CropType

CropType

None.

CommodityTypeId

integer

None.

MicroSprinklerId

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Events": {},
  "HasSoilMoistureFileName": true,
  "HasFlowMeterFileName": true,
  "IsNDependent": true,
  "CommodityTypeCalculator": "sample string 4",
  "CommodityTypeName": "sample string 5",
  "ActiveEvents": "sample string 6",
  "Favorite": true,
  "FavoriteId": 1,
  "Id": 7,
  "Name": "sample string 8",
  "RanchLot": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "HarvestDate": "2024-06-24T16:52:49.1909758-07:00",
  "WetDate": "2024-06-24T16:52:49.1909758-07:00",
  "CropType": {
    "Id": 1,
    "Name": "sample string 2",
    "UptakeFactor": 3.0,
    "UptakeConstant": 4.0,
    "IsNDependent": true,
    "IsSelected": true,
    "PlantingsCount": 7
  },
  "CommodityTypeId": 11,
  "MicroSprinklerId": 1
}

application/xml, text/xml

Sample:
<LotPlantingWithEvents xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>7</Id>
  <Name>sample string 8</Name>
  <RanchLot>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </RanchLot>
  <HarvestDate>2024-06-24T16:52:49.1909758-07:00</HarvestDate>
  <WetDate>2024-06-24T16:52:49.1909758-07:00</WetDate>
  <CropType>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <UptakeFactor>3</UptakeFactor>
    <UptakeConstant>4</UptakeConstant>
    <IsNDependent>true</IsNDependent>
    <IsSelected>true</IsSelected>
    <PlantingsCount>7</PlantingsCount>
  </CropType>
  <CommodityTypeId>11</CommodityTypeId>
  <MicroSprinklerId>1</MicroSprinklerId>
  <Events />
  <HasSoilMoistureFileName>true</HasSoilMoistureFileName>
  <HasFlowMeterFileName>true</HasFlowMeterFileName>
  <IsNDependent>true</IsNDependent>
  <CommodityTypeCalculator>sample string 4</CommodityTypeCalculator>
  <CommodityTypeName>sample string 5</CommodityTypeName>
  <ActiveEvents>sample string 6</ActiveEvents>
  <Favorite>true</Favorite>
  <FavoriteId>1</FavoriteId>
</LotPlantingWithEvents>