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=25
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=26", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=24", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/529/?format=api", "id": 529, "code": "WNS9906", "parameter": "Energieverbruik", "unit": "kWh", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "NT", "created": "2016-08-10T06:44:19.652669Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/530/?format=api", "id": 530, "code": "HCT9536", "parameter": "Debiet (model)", "unit": "m3/s", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2016-08-10T06:44:29.603946Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/531/?format=api", "id": 531, "code": "WNS10228", "parameter": "Volume", "unit": "m3", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": "", "compartment": "AW", "created": "2016-08-11T06:37:31.967827Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/532/?format=api", "id": 532, "code": "WNS9244", "parameter": "Watertemperatuur", "unit": "oC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "DW", "created": "2016-08-24T13:23:14.477118Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/533/?format=api", "id": 533, "code": "WNS9244min", "parameter": "Minimale watertemperatuur", "unit": "oC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "DW", "created": "2016-08-24T14:02:46.861714Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/534/?format=api", "id": 534, "code": "MaxFlow", "parameter": "Maximaal debiet", "unit": "m3/h", "scale": "interval", "description": "tbv Brabant Water - Max debiet door drinkwaterleiding", "domain_values": null, "reference_frame": "", "compartment": "DW", "created": "2016-08-24T14:52:45.432783Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/535/?format=api", "id": 535, "code": "Volume", "parameter": "Volume", "unit": "m3", "scale": "interval", "description": "tbv Brabant Water - Verpompt volume", "domain_values": null, "reference_frame": null, "compartment": "DW", "created": "2016-08-24T14:56:08.847573Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/536/?format=api", "id": 536, "code": "WNS9244max", "parameter": "Maximale watertemperatuur", "unit": "oC", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "DW", "created": "2016-08-24T18:12:52.139125Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/537/?format=api", "id": 537, "code": "Dataavailability", "parameter": "Data availability", "unit": "", "scale": "nominal", "description": "t.b.v. IGRAC", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-09-08T10:11:51.542658Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/538/?format=api", "id": 538, "code": "pm2.5 concentratie", "parameter": "pm2.5 concentratie", "unit": "kg/m3", "scale": "interval", "description": "fijnstof", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2016-09-29T13:29:54.803517Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8132, "next": "