List the company's modules
/modules The modules owned by the company AND commissioned there: a probe delivered but never switched on does not appear, nor does a disabled or unplugged tensiometer.
Query parameters
-
cursorstringOpaque pagination cursor
-
limitinteger -
langstringLanguage of the
labelfields, and of a probe’s default name (name: “Probe 3”, “Sonde 3”). Thecodevalues never vary. A crop with no translation falls back to its French name.
Response
The company’s modules
-
dataarray of Module always presentShow 9 attributes Hide attributes
-
idinteger always present -
uidstring always presentTechnical identifier of the module, the one the gateway transmits.
-
namestring nullable always presentName of the probe, as the hub displays it: the one the customer gave it, otherwise its default name — “Probe 3” or “Sonde 3” depending on
lang. Unique within the company.null: the module has neither a name nor a number — a tensiometer, for example. -
serialHexstring nullable always presentHardware serial number, in hexadecimal.
nullif not filled in. -
categorystring nullable always presentSOIL_PROBE: soil probe, moisture and temperature per depth.TENSIOMETER: tensiometer probe.WEATHER_STATION: weather station. -
locationModuleLocation nullable always presentDECLARED position of the probe — the one that drives the weather and the charts.
null: probe not positioned; it is placed on the hub’s map.Show 5 attributes Hide attributes
-
latnumber always presentWGS 84 latitude, in decimal degrees.
-
lonnumber always presentWGS 84 longitude, in decimal degrees.
-
sourcestring always presentmanual: placed by hand.seeded: taken, once, from a plausible GPS position of the gateway.gateway: taken automatically from the new gateway’s GPS, after the probe moved to another gateway. -
staleboolean always presenttrue: the probe has moved to another gateway, or been detached from one, since it was declared — position to be reconfirmed. -
driftMetersinteger nullable always presentGap with the gateway’s last GPS position, in metres.
nullif the gateway’s GPS is silent.
-
-
parcelIdinteger nullable always presentParcel the module belongs to.
nullif none. -
sensorsarray of ModuleSensor always presentOne sensor of the module. A soil probe carries two per depth: moisture and temperature.
Show 4 attributes Hide attributes
-
idinteger always present -
typestring nullable always presentQuantity measured.
-
depthnumber nullable always presentDepth, in cm (0 = surface).
-
labelstring nullable always presentFree-form label.
nullif not filled in.
-
-
currentGatewayobject nullable always present4G gateway the module is plugged into: it is the one transmitting its measurements.
null: plugged into no gateway.Show 2 attributes Hide attributes
-
idinteger always present -
imeistring always presentIMEI of the gateway.
-
-
-
next_cursorstring nullable always presentCursor for the next page, to be passed back as is in
cursor.null: last page.
Errors
- 401
Not authenticated
- 403
Insufficient scope, or resource outside your company