create_crop_season
Create a crop season for a field.
Input fields
CropType!)
The type of crop being planted during this season.
ISO8601DateTime)
The end date for this Crop Season.
ID!)
The ID of the Field to which this Crop Season belongs.
String!)
The name of this Crop Season.
ISO8601DateTime!)
The start date for this Crop Season.
Return fields
UpsertActionType!)
Determines if it was a create or update.
Boolean!)
Indicator of whether or not this crop season is currently active.
CropType!)
The type of crop planted during this season
ISO8601DateTime)
The date and time when this season ended.
[FieldActivity!]!)
All the things that happened during this growing season to the parent field.
| Argument | Type | Description |
|---|---|---|
activity_type |
ActivityType
|
Filter the results by activity type. |
String!)
Crop Season name.
ID!)
A system-generated key identifying a specific instance of a crop season
ISO8601DateTime!)
The date and time when this season started.
Examples
Create Crop Season
Creates a crop season for a field within the current user's organization
Try this example in GraphiQLmutation CreateCropSeason {
create_crop_season(
field_sentera_id: "rfo1rl3_AS_gnkwJakeOrg_CV_deve_be7772e1_181121_140430"
name: "Corn Summer 2020"
crop_type: CORN
started_at: "2020-04-01T00:00:00Z"
ended_at: "2020-10-01T00:00:00Z"
) {
sentera_id
name
crop_type
started_at
ended_at
}
}
{
"data": {
"create_crop_season": {
"sentera_id": "o2miljd_CS_s2cmBilling23_CV_stag_bae9392_200206_223021",
"name": "Corn Summer 2020",
"crop_type": "CORN",
"started_at": "2020-04-01T00:00:00Z",
"ended_at": "2020-10-01T00:00:00Z"
}
}
}