GraphQL/Inputs
AddRainfallInput
No description
input AddRainfallInput {
unit: RainfallUnit
value: Float!
farmId: String!
sensorId: String!
time: Timestamp!
mode: RainfallMode
}
Fields
AddRainfallInput
.unit
● RainfallUnit
enum
This represents the type of unit used to measure the rainfall. Defaults to mm
AddRainfallInput
.value
● Float!
non-null scalar
Rainfall recorded on a specific sensor
AddRainfallInput
.farmId
● String!
non-null scalar
Farm identifier to associate the record with
AddRainfallInput
.sensorId
● String!
non-null scalar
AgriWebb rain gauge identifier to associate the record with. You can retrieve a list of rain gauges by querying mapFeatures(type: RAIN_GAUGE)
AddRainfallInput
.time
● Timestamp!
non-null scalar
Time the rainfall was recorded. Should be in UNIX epoch time with milliseconds. (e.g. 1564508046433)
AddRainfallInput
.mode
● RainfallMode
enum
Can use either absolute or cumulative. If cumulative, the records for the same day are added together and displayed as one record for the user. Absolute values are saved as separate records. Defaults to absolute.
Member Of
mutation