GET v2/plantings/{plantingId}/et-weather-events.json
Returns a list of ET data associated with a planting.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
plantingId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ETChartViewModelName | Description | Type | Additional information |
---|---|---|---|
ETEvents |
A list of ET events |
Collection of ETEventViewModel |
None. |
ETFromStations |
A list of ET data from weather stations |
Collection of WeatherStationsEventsViewModel |
None. |
ETFromSpatial |
A list of ET data from spatial CIMIS |
SpatialEventsViewModel |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "ETEvents": [ { "Id": 1, "EventDate": "2025-01-25T04:56:19.4132441-08:00", "ET": 3.0, "Source": "sample string 4" }, { "Id": 1, "EventDate": "2025-01-25T04:56:19.4132441-08:00", "ET": 3.0, "Source": "sample string 4" } ], "ETFromStations": [ { "StationName": "sample string 1", "StationPriority": 2, "WeatherEvents": [ { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" }, { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" } ] }, { "StationName": "sample string 1", "StationPriority": 2, "WeatherEvents": [ { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" }, { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" } ] } ], "ETFromSpatial": { "Latitude": 1.1, "Longitude": 1.1, "WeatherEvents": [ { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" }, { "EventDate": "2025-01-25T04:56:19.4132441-08:00", "RainfallAmount": 2.0, "ET": 3.0, "Source": "sample string 4" } ] } }
application/xml, text/xml
Sample:
<ETChartViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ETEvents> <ETEventViewModel> <Id>1</Id> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <ET>3</ET> <Source>sample string 4</Source> </ETEventViewModel> <ETEventViewModel> <Id>1</Id> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <ET>3</ET> <Source>sample string 4</Source> </ETEventViewModel> </ETEvents> <ETFromStations> <WeatherStationsEventsViewModel> <StationName>sample string 1</StationName> <StationPriority>2</StationPriority> <WeatherEvents> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> </WeatherEvents> </WeatherStationsEventsViewModel> <WeatherStationsEventsViewModel> <StationName>sample string 1</StationName> <StationPriority>2</StationPriority> <WeatherEvents> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> </WeatherEvents> </WeatherStationsEventsViewModel> </ETFromStations> <ETFromSpatial> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <WeatherEvents> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> <WeatherEventViewModel> <EventDate>2025-01-25T04:56:19.4132441-08:00</EventDate> <RainfallAmount>2</RainfallAmount> <ET>3</ET> <Source>sample string 4</Source> </WeatherEventViewModel> </WeatherEvents> </ETFromSpatial> </ETChartViewModel>