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=779
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=780", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=778", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/8824/?format=api", "id": 8824, "code": "Aldrin", "parameter": "Aldrin", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.056147Z", "last_modified": "2023-11-10T15:12:27.056132Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8825/?format=api", "id": 8825, "code": "WQI_no_V", "parameter": "WQI_no_V", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-10T15:12:27.060294Z", "last_modified": "2023-11-10T15:12:27.060280Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8826/?format=api", "id": 8826, "code": "WQI_Level", "parameter": "WQI_Level", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-11T15:45:50.788423Z", "last_modified": "2023-11-11T15:45:50.788409Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8827/?format=api", "id": 8827, "code": "Độ màu", "parameter": "Độ màu", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.270617Z", "last_modified": "2023-11-22T07:35:10.270602Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8828/?format=api", "id": 8828, "code": "T(oC)", "parameter": "T(oC)", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.270836Z", "last_modified": "2023-11-22T07:35:10.270821Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8829/?format=api", "id": 8829, "code": "Ca2+", "parameter": "Ca2+", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.271876Z", "last_modified": "2023-11-22T07:35:10.271860Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8830/?format=api", "id": 8830, "code": "β", "parameter": "β", "unit": "Bq/I", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.274353Z", "last_modified": "2023-11-22T07:35:10.274337Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8831/?format=api", "id": 8831, "code": "α", "parameter": "α", "unit": "Bq/I", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.276998Z", "last_modified": "2023-11-22T07:35:10.276967Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8832/?format=api", "id": 8832, "code": "CaCO3", "parameter": "CaCO3", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.280421Z", "last_modified": "2023-11-22T07:35:10.280406Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/8833/?format=api", "id": 8833, "code": "Phenol", "parameter": "Phenol", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2023-11-22T07:35:10.282529Z", "last_modified": "2023-11-22T07:35:10.282514Z" } ] }{ "count": 8137, "next": "