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=34
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=35", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=33", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/821/?format=api", "id": 821, "code": "ONTWDPTE", "parameter": "Ontwateringsdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MV", "compartment": "GW", "created": "2017-06-12T13:59:51.723058Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/822/?format=api", "id": 822, "code": "PRCP_3DI", "parameter": "Precipitation", "unit": "m/s", "scale": "interval", "description": "Precipitation intensity for modelling purposes", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-13T11:47:09.085951Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/823/?format=api", "id": 823, "code": "count_modis", "parameter": "Count", "unit": "/ 14 measurements", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-25T19:26:34.540722Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/824/?format=api", "id": 824, "code": "Waterlevel(mLGH)", "parameter": "Water level", "unit": "m", "scale": "interval", "description": "Parramatta", "domain_values": null, "reference_frame": "LGH", "compartment": "", "created": "2017-07-14T14:19:40.917789Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/825/?format=api", "id": 825, "code": "WNS5988", "parameter": "Geleidendheid", "unit": "mS/m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "25oCINSU", "compartment": "OW", "created": "2017-07-18T10:32:45.475736Z", "last_modified": "2020-03-20T18:44:21.934619Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/826/?format=api", "id": 826, "code": "Trend", "parameter": "Trend", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-01T10:24:01.284212Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/828/?format=api", "id": 828, "code": "WNS1400.cum", "parameter": "Neerslag cumulatief", "unit": "mm", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "LT", "created": "2017-08-15T09:56:54.638300Z", "last_modified": "2020-03-20T18:44:06.462065Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/829/?format=api", "id": 829, "code": "vito_landgebruik-nara", "parameter": "Landgebruik Nara", "unit": "", "scale": "ordinal", "description": "Landgebruik Nara", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:37:28.825980Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/830/?format=api", "id": 830, "code": "vito_bodemprofiel", "parameter": "Bodemprofiel", "unit": "", "scale": "nominal", "description": "Bodemprofiel", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:37:49.422692Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/831/?format=api", "id": 831, "code": "vito_bemesting", "parameter": "Bemesting waarde", "unit": "Mg/ha", "scale": "interval", "description": "Bemesting waarde", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:39:25.040480Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "