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=778
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=779", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=777", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/8814/?format=api", "id": 8814, "code": "Dieldrin", "parameter": "Dieldrin", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:26.973772Z", "last_modified": "2023-11-10T15:12:26.973754Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8815/?format=api", "id": 8815, "code": "WQI_Weight", "parameter": "WQI_Weight", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:26.978032Z", "last_modified": "2023-11-10T15:12:26.978017Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8816/?format=api", "id": 8816, "code": "WQI_II", "parameter": "WQI_II", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:26.996419Z", "last_modified": "2023-11-10T15:12:26.996403Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8817/?format=api", "id": 8817, "code": "WQI_Color", "parameter": "WQI_Color", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.008778Z", "last_modified": "2023-11-10T15:12:27.008763Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8818/?format=api", "id": 8818, "code": "WQI_Desc", "parameter": "WQI_Desc", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.016646Z", "last_modified": "2023-11-10T15:12:27.016631Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8819/?format=api", "id": 8819, "code": "Z.Elev", "parameter": "Z.Elev", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.018926Z", "last_modified": "2023-11-10T15:12:27.018913Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8820/?format=api", "id": 8820, "code": "WQI_IV", "parameter": "WQI_IV", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.019719Z", "last_modified": "2023-11-10T15:12:27.019703Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8821/?format=api", "id": 8821, "code": "WQI_V", "parameter": "WQI_V", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.024484Z", "last_modified": "2023-11-10T15:12:27.024470Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8822/?format=api", "id": 8822, "code": "WQI_I", "parameter": "WQI_I", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.029187Z", "last_modified": "2023-11-10T15:12:27.029171Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8823/?format=api", "id": 8823, "code": "WQI_III", "parameter": "WQI_III", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.041485Z", "last_modified": "2023-11-10T15:12:27.041468Z" } ] }{ "count": 8137, "next": "