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=24
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=25", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=23", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/519/?format=api", "id": 519, "code": "Aantal meldingen", "parameter": "Aantal meldingen", "unit": "-", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-06-30T12:56:56.058900Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/520/?format=api", "id": 520, "code": "WNS2369.h", "parameter": "Volume", "unit": "m3/h", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2016-07-13T10:18:09.252176Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/521/?format=api", "id": 521, "code": "Waterdepth", "parameter": "Waterdepth", "unit": "m", "scale": "interval", "description": "interval", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-07-14T10:07:22.899825Z", "last_modified": "2022-02-02T14:47:44.543819Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/522/?format=api", "id": 522, "code": "recurrency_years", "parameter": "Recurrence time", "unit": "year", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-07-14T10:21:13.706111Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/523/?format=api", "id": 523, "code": "countvpast3yr", "parameter": "Count", "unit": "seasons v. past 3 years", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-07-14T10:23:01.129198Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/524/?format=api", "id": 524, "code": "CL.berekend", "parameter": "Chlorisiteit", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2016-07-31T22:05:24.857977Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/525/?format=api", "id": 525, "code": "EGVms_cm.meting", "parameter": "Elektrische geleidbaarheid", "unit": "mS/cm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-08-01T08:33:45.079638Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/526/?format=api", "id": 526, "code": "O2.geh.meting", "parameter": "Zuurstofgehalte", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-08-01T08:43:46.124696Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/527/?format=api", "id": 527, "code": "O2.sat.meting", "parameter": "Zuurstofsaturatie", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-08-01T08:44:08.960422Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/528/?format=api", "id": 528, "code": "FLOOD OCCURRENCE", "parameter": "Flood occurrence", "unit": "", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-08-09T15:08:20.114725Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "