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=809
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=810", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=808", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9124/?format=api", "id": 9124, "code": "Malachite_Green", "parameter": "Malachite_Green", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-06T05:13:33.041358Z", "last_modified": "2023-12-06T05:13:33.041342Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9125/?format=api", "id": 9125, "code": "Fe2", "parameter": "Fe2", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-06T05:15:11.330752Z", "last_modified": "2023-12-06T05:15:11.330737Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9126/?format=api", "id": 9126, "code": "do_sau", "parameter": "do_sau", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-06T05:16:01.736536Z", "last_modified": "2023-12-06T05:16:01.736517Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9127/?format=api", "id": 9127, "code": "BVTV", "parameter": "BVTV", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-06T05:16:12.525927Z", "last_modified": "2023-12-06T05:16:12.525912Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9128/?format=api", "id": 9128, "code": "col38", "parameter": "col38", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-06T05:16:42.676671Z", "last_modified": "2023-12-06T05:16:42.676652Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9129/?format=api", "id": 9129, "code": "water_level", "parameter": "water_level", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-12-15T18:24:30.977447Z", "last_modified": "2023-12-15T18:24:30.977416Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9130/?format=api", "id": 9130, "code": "TotalDamageSSM", "parameter": "Schade", "unit": "€", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2023-12-20T14:44:33.414805Z", "last_modified": "2023-12-20T14:44:33.414794Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9131/?format=api", "id": 9131, "code": "Mortality", "parameter": "mortaliteit", "unit": "", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2023-12-20T14:47:20.449092Z", "last_modified": "2023-12-20T14:47:20.449082Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9132/?format=api", "id": 9132, "code": "Curve Number (CN)", "parameter": "curve number", "unit": "CN", "scale": "nominal", "description": "The runoff curve number (also called a curve number or simply CN) is an empirical parameter used in hydrology for predicting direct runoff or infiltration from rainfall excess.", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2024-02-06T13:13:14.806065Z", "last_modified": "2024-02-06T13:13:14.806044Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9133/?format=api", "id": 9133, "code": "BRO_FRD_001", "parameter": "Geo Ohm measurement", "unit": "Ohm m", "scale": "interval", "description": "For all timeseries of the BRO FRD GeoOhmCables.", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2024-03-16T07:38:37.716454Z", "last_modified": "2024-03-16T07:38:37.716439Z" } ] }{ "count": 8132, "next": "