AgriWebb API
GraphQL/Inputs

AddMapFeatureInput

No description

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

Fields

AddMapFeatureInput.name ● String!
non-null
scalar

Human friendly name of the feature, shown to the farmer

AddMapFeatureInput.description ● String
scalar

Longer description associated with the feature, shown to the farmer

AddMapFeatureInput.geometry ● GeoFeatureInput!
non-null
input

Location of the map feature

AddMapFeatureInput.farmId ● ID!
non-null
scalar

AgriWebb uuid identifier of the farm which the feature belongs to

AddMapFeatureInput.type ● MapFeatureType!
non-null
enum

Type of map feature

AddMapFeatureInput.alert ● CapacityAlertInput
input

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

AddMapFeatureInput.capacity ● CapacityInput
input

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

AddMapFeatureInput.identifier ● String
scalar

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

Member Of

addMapFeatures

mutation

On this page

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