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=26
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=27", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=25", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/539/?format=api", "id": 539, "code": "NO2", "parameter": "NO2 concentratie", "unit": "mol per mol", "scale": "interval", "description": "Stikstofconcentratie", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-09-29T13:30:51.212258Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/540/?format=api", "id": 540, "code": "Zoninstraling", "parameter": "Zoninstraling", "unit": "WH/m2", "scale": "ratio", "description": "Zoninstraling uitgedrukt in watt uur per vierkante meter (WH/m2)", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-10-24T11:57:20.831208Z", "last_modified": "2020-05-25T12:04:29.389459Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/541/?format=api", "id": 541, "code": "bodemvocht", "parameter": "Bodemvocht", "unit": "m3/m3", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-11-09T11:24:49.394864Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/542/?format=api", "id": 542, "code": "PRCP", "parameter": "Precipitation", "unit": "mm", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-11-18T14:53:30.662432Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/543/?format=api", "id": 543, "code": "TMAX", "parameter": "Maximum Temperature", "unit": "°C", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-11-18T14:54:51.485816Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/544/?format=api", "id": 544, "code": "SNWD", "parameter": "Snow depth", "unit": "mm", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-11-18T15:11:06.239167Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/545/?format=api", "id": 545, "code": "EVAP", "parameter": "Evapotranspiration", "unit": "mm", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-11-18T15:13:30.773070Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/546/?format=api", "id": 546, "code": "WNS9937", "parameter": "Waterdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "OW", "created": "2016-11-18T15:39:05.369427Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/547/?format=api", "id": 547, "code": "Water level", "parameter": "Water level", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-11-24T11:32:54.533447Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/548/?format=api", "id": 548, "code": "TMIN", "parameter": "Minimum Temperature", "unit": "°C", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2016-11-24T12:14:58.072441Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "