Observation Type List
Query parameters
code
Text filter on the code
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
parameter
Text filter on parameter
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
unit
Text filter on unit
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
created:
Temporal filter on created
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; created__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
last_modified:
Temporal filter on last_modified
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; last_modified__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
Examples
?code=27234
?parameter__icontains=In bedrijf
?unit__iexact=m3/d
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
POST
Creating an invitation requires a POST to a list url:
POST api/v4/observationtypes/
Request body example:
{
code": "gwaterlvl_mMSL",
parameter": "Water level",
unit": "m",
scale": "interval",
"description": "Water level in meters with Mean Sea Level (MSL)
as reference datum, measured in groundwater (GW)
and displayed as a line chart (interval).",
"reference_frame": "MSL",
"compartment": "GW"
}
Where scale can be one of the following values:
nominal
, ordinal
, interval
, ratio
.
GET /api/v4/observationtypes/?format=api&page=37
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=38", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=36", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/852/?format=api", "id": 852, "code": "CLOUDC", "parameter": "Cloud cover", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:06:22.536960Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/853/?format=api", "id": 853, "code": "HPRCP", "parameter": "Precipitation hours", "unit": "hours/day", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:08:01.869090Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/854/?format=api", "id": 854, "code": "HSUN", "parameter": "Hours of sun", "unit": "hours/day", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:10:55.148590Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/855/?format=api", "id": 855, "code": "RFTMAX", "parameter": "RealFeel Max", "unit": "oC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:12:06.700701Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/856/?format=api", "id": 856, "code": "RFTMIN", "parameter": "RealFeel Min", "unit": "oC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:12:34.390862Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/857/?format=api", "id": 857, "code": "PROPRCP", "parameter": "Precipitation probability", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-06T12:13:20.959030Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/858/?format=api", "id": 858, "code": "WTXT", "parameter": "Weather text", "unit": "", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-09-06T12:15:15.152194Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/859/?format=api", "id": 859, "code": "slopetrend", "parameter": "Trend", "unit": "Kg / Ha / Year", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-11T14:56:06.670484Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/860/?format=api", "id": 860, "code": "biowp", "parameter": "Biomass water productivity", "unit": "kg/m³", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-09-11T15:44:47.201241Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/861/?format=api", "id": 861, "code": "bodemdaling", "parameter": "Bodemdaling", "unit": "mm/jaar", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-12T09:47:56.305107Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "