delete_field_activity

Delete a plant activity for a crop season.

Input fields

sentera_id (ID!)

Sentera ID of the field activity to delete.

Return fields

acres (Float!)
Deprecation notice

Please use the application_area field.

The number of acres to which this activity was applied.

activity_type (ActivityType!)
Deprecation notice

The concrete object FieldActivity has been converted into an interface.

The type of activity this record represents.

application_area (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.

applied_at (ISO8601DateTime)

The date and time when this field activity took place.

average_rate (Float!)

The average rate, in units, at which this activity was applied.

created_at (ISO8601DateTime!)

The timestamp of when the item was created in the system.

created_by (User!)

The user who created this item.

details (JSON)
Deprecation notice

Please use the specific fields on the concrete types such as PlantActivity.

Extra information about this field activity.

external_id (String)

The id of the record in the external partner's system.

external_partner (ExternalPartner)

The external partner from which this record was sourced.

feature_sets (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.

product_name (String)

The name of the product that was applied to the field during this activity.

sentera_id (ID!)

A system-generated key identifying a specific instance of a field activity.

unit (AverageRateType!)

The type of unit represented by the rate field.

updated_at (ISO8601DateTime!)

The timestamp of when the item was last updated in the system.

updated_by (User)

The user who last updated this item.

Examples

Delete Field Activity

Deletes a field activity for a field within the current user's organization.

Try this example in GraphiQL
mutation DeleteFieldActivity {
  delete_field_activity(
    sentera_id: "osu5t9n_FA_SHORT1_CV_test_18ae300d0_200210_143838"
  ) {
      sentera_id
    }
}

{
  "data": {
  "delete_field_activity": {
    "sentera_id": "osu5t9n_FA_SHORT1_CV_test_18ae300d0_200210_143838"
  }
  }
}