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=11
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=12", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=10", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/378/?format=api", "id": 378, "code": "AANTL (coC)", "parameter": "Aantal", "unit": "coC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:39.715586Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/379/?format=api", "id": 379, "code": "100-200 mHz (graden)", "parameter": " 100-200 mHz", "unit": "graden", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:40.252243Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/380/?format=api", "id": 380, "code": "DRUK () LT", "parameter": "Druk", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "LT", "created": "2015-09-11T08:04:41.622283Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/381/?format=api", "id": 381, "code": "Inclination (graden) BS", "parameter": "Inclination", "unit": "graden", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "BS", "created": "2015-09-11T08:04:43.126760Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/382/?format=api", "id": 382, "code": "Q (m3/s) OW", "parameter": "Debiet", "unit": "m3/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2015-09-11T08:04:44.393771Z", "last_modified": "2020-03-20T18:51:54.861162Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/383/?format=api", "id": 383, "code": "WINDSHD (m/s)", "parameter": "Windsnelheid", "unit": "m/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:45.802163Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/384/?format=api", "id": 384, "code": "GOLFHTE (cm) OW", "parameter": "Golfhoogte signaal", "unit": "cm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2015-09-11T08:04:48.624312Z", "last_modified": "2020-01-17T12:36:06.367670Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/385/?format=api", "id": 385, "code": "g 30-500 mHz (graden)", "parameter": "g 30-500 mHz", "unit": "graden", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:49.137949Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/386/?format=api", "id": 386, "code": "ZWEMMJK (bar)", "parameter": "ZWEMMJK", "unit": "bar", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:51.350114Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/387/?format=api", "id": 387, "code": "VERDPG (mm)", "parameter": "VERDPG", "unit": "mm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:04:52.256434Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "