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=806
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=807", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=805", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9094/?format=api", "id": 9094, "code": "TS145", "parameter": "Endosulfan II", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.365850Z", "last_modified": "2023-11-22T08:36:51.365833Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9095/?format=api", "id": 9095, "code": "TS143", "parameter": "DDT", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.367995Z", "last_modified": "2023-11-22T08:36:51.367978Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9096/?format=api", "id": 9096, "code": "TS134", "parameter": "Alpha - BHC", "unit": "µg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.371805Z", "last_modified": "2023-11-22T08:36:51.371785Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9097/?format=api", "id": 9097, "code": "TS114", "parameter": "Ồn (dBA)2", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.373452Z", "last_modified": "2023-11-22T08:36:51.373437Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9098/?format=api", "id": 9098, "code": "TS142", "parameter": "DDD", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.376208Z", "last_modified": "2023-11-22T08:36:51.376193Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9099/?format=api", "id": 9099, "code": "TS140", "parameter": "Trans chlordane", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.385503Z", "last_modified": "2023-11-22T08:36:51.385485Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9100/?format=api", "id": 9100, "code": "TS130", "parameter": "Asen", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.473921Z", "last_modified": "2023-11-22T08:36:51.473906Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9101/?format=api", "id": 9101, "code": "TS139", "parameter": "Cis chlordane", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.516693Z", "last_modified": "2023-11-22T08:36:51.516678Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9102/?format=api", "id": 9102, "code": "TS146", "parameter": "Endosunfan sulfate", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.584210Z", "last_modified": "2023-11-22T08:36:51.584194Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9103/?format=api", "id": 9103, "code": "TS147", "parameter": "Hexachlobenzen", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.731894Z", "last_modified": "2023-11-22T08:36:51.731880Z" } ] }{ "count": 8132, "next": "