AgriWebb API
GraphQL/Inputs

ObservationValueInput

Provide the single field that corresponds to the observation definition's type:

  • text / enum → textValue (for enum, provide the option label or UUID)
  • boolean → booleanValue
  • date → dateValue
  • unit → numericValue (and optionally numericUnit)
input ObservationValueInput {
  textValue: String
  booleanValue: Boolean
  dateValue: Timestamp
  numericValue: Float
  numericUnit: String
}

Fields

ObservationValueInput.textValue ● String
scalar

Value for text or enum measure types.

ObservationValueInput.booleanValue ● Boolean
scalar

Value for boolean measure types.

ObservationValueInput.dateValue ● Timestamp
scalar

Value for date measure types (Unix timestamp ms).

ObservationValueInput.numericValue ● Float
scalar

Numeric value for unit measure types.

ObservationValueInput.numericUnit ● String
scalar

Unit for the numeric value. Defaults to the unit declared by the measureDefinition.

Member Of

ObservationMeasureInput

input

On this page

FieldsObservationValueInput.textValue ● String
scalar
ObservationValueInput.booleanValue ● Boolean
scalar
ObservationValueInput.dateValue ● Timestamp
scalar
ObservationValueInput.numericValue ● Float
scalar
ObservationValueInput.numericUnit ● String
scalar
Member Of