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=799
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=800", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=798", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/9024/?format=api", "id": 9024, "code": "TS59", "parameter": "N_NH3", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:48.642017Z", "last_modified": "2023-11-22T08:36:48.642003Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9025/?format=api", "id": 9025, "code": "TS69", "parameter": "SO2", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.200388Z", "last_modified": "2023-11-22T08:36:49.200375Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9026/?format=api", "id": 9026, "code": "TS68", "parameter": "NO2", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.202511Z", "last_modified": "2023-11-22T08:36:49.202496Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9027/?format=api", "id": 9027, "code": "TS71", "parameter": "CO", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.722427Z", "last_modified": "2023-11-22T08:36:49.722412Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9028/?format=api", "id": 9028, "code": "TS88", "parameter": "S2", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.723528Z", "last_modified": "2023-11-22T08:36:49.723513Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9029/?format=api", "id": 9029, "code": "TS81", "parameter": "O3", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.734722Z", "last_modified": "2023-11-22T08:36:49.734707Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9030/?format=api", "id": 9030, "code": "TS75", "parameter": "Photpho", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.737353Z", "last_modified": "2023-11-22T08:36:49.737337Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9031/?format=api", "id": 9031, "code": "TS82", "parameter": "Bụi PM10", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.747521Z", "last_modified": "2023-11-22T08:36:49.747506Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9032/?format=api", "id": 9032, "code": "TS74", "parameter": "Nitơ", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.748547Z", "last_modified": "2023-11-22T08:36:49.748533Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/9033/?format=api", "id": 9033, "code": "TS72", "parameter": "Tốc độ gió", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T08:36:49.753364Z", "last_modified": "2023-11-22T08:36:49.753349Z" } ] }{ "count": 8132, "next": "