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=22
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=23", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=21", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/499/?format=api", "id": 499, "code": "Stabiliteitsfactor", "parameter": "Stabiliteitsfactor", "unit": "", "scale": "interval", "description": "Stabiliteits- of veiligheidsfactor voor dijksterkte.", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-04-18T12:38:19.768196Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/500/?format=api", "id": 500, "code": "Waterlevel", "parameter": "Waterlevel", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MSL", "compartment": "", "created": "2016-04-26T07:35:56.545260Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/501/?format=api", "id": 501, "code": "CLASS", "parameter": "Class", "unit": "", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-04-26T07:47:14.214853Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/502/?format=api", "id": 502, "code": "KLASSE", "parameter": "Klasse", "unit": "", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-04-26T07:49:44.396529Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/503/?format=api", "id": 503, "code": "WNS928", "parameter": "Druk", "unit": "hPa", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "NT", "created": "2016-05-10T14:24:31.664235Z", "last_modified": "2020-11-19T16:01:44.535145Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/504/?format=api", "id": 504, "code": "H.streef", "parameter": "Streefpeil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "OW", "created": "2016-05-12T12:42:26.354545Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/505/?format=api", "id": 505, "code": "H.gewogen", "parameter": "Gewogen waterstand", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "OW", "created": "2016-05-12T13:01:52.001994Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/506/?format=api", "id": 506, "code": "H.gewogen.toekomst", "parameter": "Waterstand met sturing", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "OW", "created": "2016-05-12T13:02:31.682858Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/507/?format=api", "id": 507, "code": "H.gewogen.toekomst.ruw", "parameter": "Waterstand zonder sturing", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "OW", "created": "2016-05-12T13:03:09.448754Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/508/?format=api", "id": 508, "code": "H.meting.perc", "parameter": "Vullingsgraad", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2016-05-13T11:34:42.452332Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "