AgriWebb API
GraphQL/Inputs

UpdateMapFeatureInput

No description

input UpdateMapFeatureInput {
  id: ID!
  name: String
  description: String
  farmId: ID!
  type: MapFeatureType
  alert: CapacityAlertInput
  capacity: CapacityInput
  identifier: String
  geometry: GeoFeatureInput!
}

Fields

UpdateMapFeatureInput.id ● ID!
non-null
scalar

Map Feature ID

UpdateMapFeatureInput.name ● String
scalar

Human friendly name of the feature, shown to the farmer

UpdateMapFeatureInput.description ● String
scalar

Longer description associated with the feature, shown to the farmer

UpdateMapFeatureInput.farmId ● ID!
non-null
scalar

AgriWebb uuid identifier of the farm which the feature belongs to

UpdateMapFeatureInput.type ● MapFeatureType
enum

Type of map feature

UpdateMapFeatureInput.alert ● CapacityAlertInput
input

Level reading alerts. Only applicable for features with level readings such as water tanks.

UpdateMapFeatureInput.capacity ● CapacityInput
input

Capacity of the feature. Only applicable for features with level readings such as water tanks.

UpdateMapFeatureInput.identifier ● String
scalar

External identifier of the feature such as the sensor serial number, used to allow cross system mapping

UpdateMapFeatureInput.geometry ● GeoFeatureInput!
non-null
input

Location of the map feature

Member Of

updateMapFeature

mutation

On this page

FieldsUpdateMapFeatureInput.id ● ID!
non-null
scalar
UpdateMapFeatureInput.name ● String
scalar
UpdateMapFeatureInput.description ● String
scalar
UpdateMapFeatureInput.farmId ● ID!
non-null
scalar
UpdateMapFeatureInput.type ● MapFeatureType
enum
UpdateMapFeatureInput.alert ● CapacityAlertInput
input
UpdateMapFeatureInput.capacity ● CapacityInput
input
UpdateMapFeatureInput.identifier ● String
scalar
UpdateMapFeatureInput.geometry ● GeoFeatureInput!
non-null
input
Member Of