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/?page=811
https://demo.lizard.net/api/v4/observationtypes/?page=812", "previous": "https://demo.lizard.net/api/v4/observationtypes/?page=810", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9144/", "id": 9144, "code": "WNS14169", "parameter": "", "unit": "euro/MWh", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2024-09-30T13:24:56.321104Z", "last_modified": "2024-09-30T13:24:56.321094Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9145/", "id": 9145, "code": "WNS2009.cum", "parameter": "cumulatief energieverbruik", "unit": "kWh", "scale": "nominal", "description": "cumulatief energieverbruik", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2024-10-07T14:30:56.435540Z", "last_modified": "2024-10-07T14:30:56.435527Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9146/", "id": 9146, "code": "WNS2369.cum", "parameter": "cumulatief verpompt volume", "unit": "m3", "scale": "ratio", "description": "cumulatief verpompt volume", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2024-10-08T07:46:15.794305Z", "last_modified": "2024-10-08T07:46:15.794292Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9147/", "id": 9147, "code": "WNS381.cum", "parameter": "Schakelingen cumulatief", "unit": "n", "scale": "ratio", "description": "cumulatief aantal (integer) schakelingen van meetobject (e.g. een pomp die aan en uitgaat)", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2024-10-08T07:51:04.528562Z", "last_modified": "2024-10-08T07:51:04.528550Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9148/", "id": 9148, "code": "WNS2369.deaccum", "parameter": "verpomptvolume gedeaccumuleerd", "unit": "m3", "scale": "ratio", "description": "verpompt volume gedeaccumuleerd van een cumulatieve reeks", "domain_values": null, "reference_frame": null, "compartment": "AW", "created": "2024-10-14T13:11:45.759755Z", "last_modified": "2024-10-15T08:25:35.976230Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9149/", "id": 9149, "code": "WNS925.deaccum", "parameter": "Draaitijd gedeaccumuleerd", "unit": "h", "scale": "ratio", "description": "Draaitijd gedeaccumuleerd van een cumulatieve reeks", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2024-10-15T08:44:38.215801Z", "last_modified": "2024-10-15T08:44:38.215787Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9150/", "id": 9150, "code": "WNS2009.deaccum", "parameter": "Energieverbruik gedeaccumuleerd", "unit": "kWh", "scale": "nominal", "description": "Energieverbruik gedeaccumuleerd van een cumulatieve reeks", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2024-10-15T08:47:52.386910Z", "last_modified": "2024-10-15T08:47:52.386887Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9151/", "id": 9151, "code": "WNS381.deaccum", "parameter": "Schakelingen gedeaccumuleerd", "unit": "n", "scale": "ratio", "description": "Schakelingen gedeaccumuleerd van een cumulatieve reeks", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2024-10-15T08:57:04.723306Z", "last_modified": "2024-10-15T08:57:04.723293Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9152/", "id": 9152, "code": "WNS2368.abba", "parameter": "Debiet ABBA", "unit": "m3/h", "scale": "interval", "description": "Debiet berekend met behulp van ABBA methode specifiek voor de gemeente Almere", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2024-11-05T15:42:33.946314Z", "last_modified": "2024-11-05T15:42:33.946301Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9153/", "id": 9153, "code": "WNS930.val", "parameter": "Waterdruk gevalideerd", "unit": "mH2O", "scale": "interval", "description": "Waterdruk in m", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2024-11-19T11:13:24.908796Z", "last_modified": "2024-11-19T11:13:24.908785Z" } ] }{ "count": 8111, "next": "