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=17
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=18", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=16", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/447/?format=api", "id": 447, "code": "H.niveau", "parameter": "Waterhoogte", "unit": "mm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "AW", "created": "2015-09-21T13:51:58.260966Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/448/?format=api", "id": 448, "code": "ALMR006", "parameter": "Niveau", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "AW", "created": "2015-09-21T14:40:28.808844Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/449/?format=api", "id": 449, "code": "HCT9688", "parameter": "Waterstand (model)", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "AW", "created": "2015-09-21T14:41:03.118202Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/450/?format=api", "id": 450, "code": "Q.vul", "parameter": "Vuldebiet", "unit": "m3/h", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-21T14:42:05.898820Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/451/?format=api", "id": 451, "code": "HCT2369", "parameter": "Debiet (model)", "unit": "m3", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2015-09-21T15:23:21.197346Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/452/?format=api", "id": 452, "code": "HCT2367", "parameter": "Debiet (model)", "unit": "m3/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2015-09-21T15:23:25.159319Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/453/?format=api", "id": 453, "code": "TimeSeconds", "parameter": "time", "unit": "s", "scale": "ratio", "description": "Time in seconds", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-23T13:46:39.405884Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/454/?format=api", "id": 454, "code": "DamageWSSPerPixel", "parameter": "Schade (WSS)", "unit": "€/0.25m²", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-23T13:50:53.950172Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/455/?format=api", "id": 455, "code": "Euro", "parameter": "Euro [€]", "unit": "€", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-23T13:51:10.129576Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/456/?format=api", "id": 456, "code": "DamageHISSSM", "parameter": "Schade", "unit": "€/100m²", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-23T13:52:20.014703Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "