create_irrigate_activity
Create an irrigation activity for a crop season.
Input fields
Float)
Please use the area field instead
The number of acres in the field that were irrigated.
ISO8601DateTime!)
The Date and Time at which this activity occurred.
AreaInput)
The amount of the area of the field that was irrigated.
Float!)
The average rate at which the field was irrigated.
ID!)
The ID of the Crop Season in which this activity occurred.
ExternalReference)
A reference to the external system from which the irrigate activity is sourced.
VolumePerAreaUnit!)
The unit describing the average rate at which the field was irrigated.
Return fields
Float!)
Please use the application_area field.
The number of acres to which this activity was applied.
UpsertActionType!)
Determines if it was a create or update.
ActivityType!)
The concrete object FieldActivity has been converted into an interface.
The type of activity this record represents.
Area!)
The area to which this activity was applied.
| Argument | Type | Description |
|---|---|---|
unit |
AreaUnitType
|
The unit in which a client would like the area. |
unit_system |
UnitSystem
|
The unit system in which a client would like the area. Defaults to IMPERIAL if not provided. |
VolumePerArea)
The rate at which water was applied during this activity.
| Argument | Type | Description |
|---|---|---|
unit_system |
UnitSystem
|
The unit system in which you want the application rate. Default is imperial gallons per acre. |
ISO8601DateTime)
The date and time when this field activity took place.
Float!)
The average rate, in units, at which this activity was applied.
ISO8601DateTime!)
The timestamp of when the item was created in the system.
User!)
The user who created this item.
JSON)
Please use the specific fields on the concrete types such as PlantActivity.
Extra information about this field activity.
String)
The id of the record in the external partner's system.
ExternalPartner)
The external partner from which this record was sourced.
FeatureSetsQueryResult!)
A list of feature sets associated with this activity.
| Argument | Type | Description |
|---|---|---|
order_by |
FeatureSetSortingAttributes
|
Order the results by a specific attribute. |
order_by_direction |
SortDirection
|
Direction (ascending or descending) of the ordered results. |
pagination |
Pagination
|
Paginate the results. |
type |
FeatureSetType
|
Filter the results by feature set type. |
FeatureSetOwnerType!)
Type of the feature set owner
String)
The name of the product that was applied to the field during this activity.
ID!)
A system-generated key identifying a specific instance of a field activity.
AverageRateType!)
The type of unit represented by the rate field.
ISO8601DateTime!)
The timestamp of when the item was last updated in the system.
User)
The user who last updated this item.
Examples
Create Irrigate Activity
Creates an 'irrigate' field activity for a field within the current user's organization.
Try this example in GraphiQLmutation CreateIrrigateActivity {
create_irrigate_activity(
crop_season_sentera_id: "ckt4dsq_CS_SHORT1_CV_test_18ae300d0_200210_142842"
applied_at: "2020-05-05T10:00:00Z"
average_rate: 20.0
unit: GALLONS_PER_ACRE
area: { value: 5, unit: ACRE }
) {
sentera_id
applied_at
application_rate {
value
unit
}
application_area {
value
unit
}
}
}
{
"data": {
"create_irrigate_activity": {
"sentera_id": "osu5t9n_FA_SHORT1_CV_test_18ae300d0_200210_143838",
"applied_at": "2020-05-05T10:00:00Z",
"application_rate": {
"value": 20,
"unit": "GALLONS_PER_ACRE"
},
"application_area": {
"value": 5,
"unit": "ACRE"
}
}
}
}