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=42
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=43", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=41", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/902/?format=api", "id": 902, "code": "Biomass_month", "parameter": "Biomass productivity", "unit": "kg/ha/month", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-01-23T11:17:43.990893Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/903/?format=api", "id": 903, "code": "vito_bevolkingsdichtheid", "parameter": "Bevolkingsdichtheid", "unit": "", "scale": "interval", "description": "Bevolkingsdichtheid", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-01-25T16:15:14.082144Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/904/?format=api", "id": 904, "code": "vito_functies", "parameter": "Functies", "unit": "", "scale": "interval", "description": "Functies", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-01-25T16:16:41.284122Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/905/?format=api", "id": 905, "code": "vito_aantal_kruispunten", "parameter": "Aantal kruispunten", "unit": "", "scale": "interval", "description": "Straten connectiviteit - aantal kruispunten", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-01-25T16:25:55.051543Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/906/?format=api", "id": 906, "code": "vito_walkability", "parameter": "Walkability", "unit": "", "scale": "interval", "description": "Walkability", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-01-30T14:02:05.765564Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/907/?format=api", "id": 907, "code": "vito_score", "parameter": "Score", "unit": "", "scale": "interval", "description": "NWV scores, CLK scores", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-02-15T16:54:18.468249Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/908/?format=api", "id": 908, "code": "vito_gemiddeld_aantal_bezoeken", "parameter": "Gemiddeld aantal bezoeken", "unit": "", "scale": "interval", "description": "NWV gemiddeld aantal bezoeken (wandelen, fietsen, voortraject, toerisme)", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-02-15T16:55:08.894092Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/909/?format=api", "id": 909, "code": "WNSZZL9002", "parameter": "Debiet (berekend)", "unit": "m3/15min", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "OW", "created": "2018-02-16T16:06:09.342102Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/910/?format=api", "id": 910, "code": "AnnRch", "parameter": "Annual Recharge", "unit": "mm/year", "scale": "ratio", "description": "Recharge per year in mm", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-02-19T12:29:16.849194Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/911/?format=api", "id": 911, "code": "WNS9040.hand", "parameter": "Handpeiling", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "GW", "created": "2018-02-23T23:46:52.846502Z", "last_modified": "2023-12-13T13:18:44.845570Z" } ] }{ "count": 8139, "next": "