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=43
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=44", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=42", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/912/?format=api", "id": 912, "code": "WNS2007", "parameter": "Bedrijfsuren", "unit": "uur", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": "AW", "created": "2018-02-28T18:13:20.914407Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/913/?format=api", "id": 913, "code": "WNS2009", "parameter": "Energieverbruik", "unit": "kWh", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": null, "compartment": "AW", "created": "2018-02-28T18:13:25.883028Z", "last_modified": "2021-11-09T11:27:46.344981Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/914/?format=api", "id": 914, "code": "BiomassGeneric", "parameter": "Biomass", "unit": "kg/ha", "scale": "ratio", "description": "Biomass production for generic time interval", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-01T12:23:09.695002Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/915/?format=api", "id": 915, "code": "Stijghoogteverschil", "parameter": "Stijghoogteverschil", "unit": "m", "scale": "interval", "description": "RWS NWM", "domain_values": null, "reference_frame": null, "compartment": "GW", "created": "2018-03-05T16:16:54.332459Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/916/?format=api", "id": 916, "code": "flooded", "parameter": "Flood extent", "unit": "", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-06T14:00:12.130992Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/917/?format=api", "id": 917, "code": "H.decim", "parameter": "Decimeringshoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2018-03-22T10:08:20.863623Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/920/?format=api", "id": 920, "code": "H.decim.T100", "parameter": "T100 - decimeringshoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:44:41.380844Z", "last_modified": "2020-03-20T18:52:29.872701Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/921/?format=api", "id": 921, "code": "H.decim.T1000", "parameter": "T1000 - decimeringshoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:45:32.772225Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/922/?format=api", "id": 922, "code": "H.decim.T10000", "parameter": "T10000 - decimeringshoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:46:08.635983Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/923/?format=api", "id": 923, "code": "H.diff.W2050.T10", "parameter": "T10 W2050 - waterhoogteverschil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:47:32.846519Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8139, "next": "