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=18
{ "count": 8132, "next": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=19", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=17", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/457/?format=api", "id": 457, "code": "rate_of_rise_ms", "parameter": "Rate of Rise", "unit": "m/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2015-09-30T13:42:30.931932Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/458/?format=api", "id": 458, "code": "VictimsHISSM (slachtoffers / 100m²)", "parameter": "Slachtoffers", "unit": "slachtoffers / 100m²", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-30T13:47:06.181369Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/459/?format=api", "id": 459, "code": "Stralingstemperatuur", "parameter": "Stralingstemperatuur", "unit": "K", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-10-02T10:29:27.254980Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/462/?format=api", "id": 462, "code": "WNS9939", "parameter": "Debiet", "unit": "m3/d", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "AW", "created": "2015-10-13T12:05:17.365610Z", "last_modified": "2020-03-20T18:50:04.808523Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/463/?format=api", "id": 463, "code": "HoogtemMSL", "parameter": "Hoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MSL", "compartment": "", "created": "2015-10-20T12:15:40.537223Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/464/?format=api", "id": 464, "code": "WATDPTE (m)", "parameter": "Water depth", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2015-11-04T09:25:15.713550Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/465/?format=api", "id": 465, "code": "WNS9087", "parameter": "Debiet", "unit": "l/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2015-11-13T12:53:30.623904Z", "last_modified": "2020-03-20T18:50:09.419145Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/466/?format=api", "id": 466, "code": "Hittestress", "parameter": "Hittestress", "unit": "", "scale": "ordinal", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-11-19T10:41:29.395081Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/467/?format=api", "id": 467, "code": "Vochtpercentage", "parameter": "Vochtpercentage", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-12-01T14:55:08.373369Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/468/?format=api", "id": 468, "code": "ndvi", "parameter": "NDVI", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2015-12-03T16:55:37.522467Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }