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=805
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=806", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=804", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9084/?format=api", "id": 9084, "code": "TS91", "parameter": "Benzen Hexachloride", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.310279Z", "last_modified": "2023-11-22T08:36:51.310265Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9085/?format=api", "id": 9085, "code": "TS166", "parameter": "Isodrin", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.310968Z", "last_modified": "2023-11-22T08:36:51.310953Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9086/?format=api", "id": 9086, "code": "TS132", "parameter": "Endosulfan 2", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.313318Z", "last_modified": "2023-11-22T08:36:51.313301Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9087/?format=api", "id": 9087, "code": "TS137", "parameter": "Endrin ketone", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.318332Z", "last_modified": "2023-11-22T08:36:51.318316Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9088/?format=api", "id": 9088, "code": "TS43", "parameter": "Tổng các chất hoạt động bề mặt", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.336148Z", "last_modified": "2023-11-22T08:36:51.336131Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9089/?format=api", "id": 9089, "code": "TS144", "parameter": "Endosulfan I", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.356039Z", "last_modified": "2023-11-22T08:36:51.356026Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9090/?format=api", "id": 9090, "code": "TS136", "parameter": "Delta - BHC", "unit": "µg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.356325Z", "last_modified": "2023-11-22T08:36:51.356311Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9091/?format=api", "id": 9091, "code": "TS141", "parameter": "DDE", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.357306Z", "last_modified": "2023-11-22T08:36:51.357290Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9092/?format=api", "id": 9092, "code": "TS133", "parameter": "Lindane", "unit": "mg/L", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.361812Z", "last_modified": "2023-11-22T08:36:51.361791Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9093/?format=api", "id": 9093, "code": "TS135", "parameter": "Beta - BHC", "unit": "µg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:51.364508Z", "last_modified": "2023-11-22T08:36:51.364492Z" } ] }{ "count": 8132, "next": "