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=13
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=14", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=12", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/398/?format=api", "id": 398, "code": "STROOMSHD (cm^2) OW", "parameter": "Stroomsnelheid", "unit": "cm^2", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2015-09-11T08:05:01.522169Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/399/?format=api", "id": 399, "code": "Go0-500 mHz (cm) OW", "parameter": "Go0-500 mHz", "unit": "cm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2015-09-11T08:05:06.110400Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/400/?format=api", "id": 400, "code": "Sp0-500 mHz (graden)", "parameter": "Sp0-500 mHz", "unit": "graden", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:05:06.236342Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/401/?format=api", "id": 401, "code": "ENGE (cm^2) OW", "parameter": "ENGE", "unit": "cm^2", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2015-09-11T08:05:09.153522Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/402/?format=api", "id": 402, "code": "g 30-100 mHz (graden)", "parameter": "g 30-100 mHz", "unit": "graden", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:05:10.630902Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/403/?format=api", "id": 403, "code": "Golfperiode (s) OW", "parameter": "Golfperiode", "unit": "s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2015-09-11T08:05:11.129704Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/404/?format=api", "id": 404, "code": "FREQTE (mHz)", "parameter": "Frequentie", "unit": "mHz", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:05:11.405200Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/405/?format=api", "id": 405, "code": "LUCHTDK (hPa) lucht", "parameter": "Luchtdruk", "unit": "hPa", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "lucht", "created": "2015-09-11T08:05:12.145629Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/406/?format=api", "id": 406, "code": "STIJGHTE (m)", "parameter": "Stijghoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:05:13.999751Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/407/?format=api", "id": 407, "code": "Q (m3/h) OW", "parameter": "Debiet", "unit": "m3/h", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2015-09-11T08:05:38.348588Z", "last_modified": "2020-03-20T18:51:50.733704Z" } ] }{ "count": 8132, "next": "