GraphQL/Objects
LevelReading
Level readings to be recorded against map features. Currently supports recording levels against water tank & water trough map features
type LevelReading {
id: String
unit: LevelReadingUnit
value: Float
farmId: String
sensorId: String
time: Timestamp
mode: LevelReadingMode
}
Fields
LevelReading
.id
● String
scalar
Unique identifier of the level reading record
LevelReading
.unit
● LevelReadingUnit
enum
This represents the type of unit used to measure the current level.
LevelReading
.value
● Float
scalar
The value of the current level in the associated LevelReadingUnit
LevelReading
.farmId
● String
scalar
The AgriWebb farm identifier that the sensor is on.
LevelReading
.sensorId
● String
scalar
The AgriWebb map feature identifier to associate the record with. You can retrieve a list of sensor ids by querying mapFeatures(type: WATER_TANK) or the type you are after
LevelReading
.time
● Timestamp
scalar
Time the level reading was recorded. Format will be UNIX epoch time with milliseconds. (e.g. 1564508046433)
LevelReading
.mode
● LevelReadingMode
enum
Type of measurement being used to determine the levels of the map feature subject
Returned By
query
Member Of
object