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=16
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=17", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=15", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/428/?format=api", "id": 428, "code": "FOTNSDHD (d) BS", "parameter": "FOTNSDHD", "unit": "d", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "BS", "created": "2015-09-11T08:06:13.756041Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/429/?format=api", "id": 429, "code": "BODHTE (A)", "parameter": "Bodemhoogte", "unit": "A", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:06:15.519271Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/430/?format=api", "id": 430, "code": "111TClTol (B)", "parameter": "111TClTol", "unit": "B", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:06:15.741483Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/431/?format=api", "id": 431, "code": "RELTVLVTHD (%)", "parameter": "RELTVLVTHD", "unit": "%", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:06:15.815709Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/432/?format=api", "id": 432, "code": "111TClTol (Bq/m3)", "parameter": "111TClTol", "unit": "Bq/m3", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2015-09-11T08:06:15.854049Z", "last_modified": "2020-07-07T14:51:45.790018Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/433/?format=api", "id": 433, "code": "HOEK (graad)", "parameter": "Hoek", "unit": "graad", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-11T08:06:20.498593Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/439/?format=api", "id": 439, "code": "GWmBGS", "parameter": "Groundwater BGS", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "BGS", "compartment": null, "created": "2015-09-14T11:51:22.998479Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/440/?format=api", "id": 440, "code": "GWmMSL", "parameter": "Groundwater MSL", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MSL", "compartment": null, "created": "2015-09-14T11:51:30.055758Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/441/?format=api", "id": 441, "code": "UNKNOWN", "parameter": "", "unit": "", "scale": "nominal", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-09-14T12:34:08.171954Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/446/?format=api", "id": 446, "code": "WNS2367", "parameter": "Debiet", "unit": "m3/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2015-09-21T13:46:12.412071Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "