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=813
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=814", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=812", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9164/?format=api", "id": 9164, "code": "wris_arcadis_scenario10", "parameter": "Radar_+20% gemcap", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2024-12-06T13:32:57.901805Z", "last_modified": "2024-12-06T13:32:57.901789Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9165/?format=api", "id": 9165, "code": "wris_arcadis_scenario11", "parameter": "Radar_-20% gemcap", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2024-12-06T13:33:10.580705Z", "last_modified": "2024-12-06T13:33:14.279209Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9166/?format=api", "id": 9166, "code": "wris_arcadis_scenario12", "parameter": "Radar_2Dmodel", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2024-12-06T13:33:30.314557Z", "last_modified": "2024-12-06T13:33:30.314537Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9167/?format=api", "id": 9167, "code": "WNS2095", "parameter": "", "unit": "ug/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-01-27T13:00:56.900320Z", "last_modified": "2025-01-27T13:00:56.900303Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9168/?format=api", "id": 9168, "code": "WNS491", "parameter": "", "unit": "ug/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-01-27T13:00:56.910353Z", "last_modified": "2025-01-27T13:00:56.910340Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9169/?format=api", "id": 9169, "code": "flood_duration", "parameter": "duration", "unit": "h", "scale": "ratio", "description": "LDO", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-01-30T11:26:26.903357Z", "last_modified": "2025-01-30T11:26:26.903345Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9170/?format=api", "id": 9170, "code": "WNS14750", "parameter": "", "unit": "ug/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-02-19T13:21:00.297949Z", "last_modified": "2025-02-19T13:21:00.297931Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9171/?format=api", "id": 9171, "code": "WNS2411", "parameter": "", "unit": "ug/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-02-19T13:21:00.306214Z", "last_modified": "2025-02-19T13:21:00.306197Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9172/?format=api", "id": 9172, "code": "WNS535", "parameter": "", "unit": "mg/kg", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-02-20T13:20:38.235797Z", "last_modified": "2025-02-20T13:20:38.235786Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9173/?format=api", "id": 9173, "code": "WNS2181", "parameter": "", "unit": "mg/kg", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2025-02-20T13:20:38.248851Z", "last_modified": "2025-02-20T13:20:38.248832Z" } ] }{ "count": 8132, "next": "