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=36
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=37", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=35", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/842/?format=api", "id": 842, "code": "vito_aantal-inwoners", "parameter": "Aantal inwoners", "unit": "", "scale": "interval", "description": "Aantal inwoners", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:46:56.414272Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/843/?format=api", "id": 843, "code": "site_utilisation_suitability", "parameter": "Suitability", "unit": "Index", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-08-18T12:21:23.320983Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/844/?format=api", "id": 844, "code": "Habitat quality", "parameter": "quality", "unit": "Quality", "scale": "ratio", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-08-18T12:23:15.069384Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/845/?format=api", "id": 845, "code": "Elevation(mMSL)", "parameter": "Elevation", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MSL", "compartment": "", "created": "2017-08-21T12:22:55.356966Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/846/?format=api", "id": 846, "code": "Q.onttrekking", "parameter": "Debiet", "unit": "m3/u", "scale": "interval", "description": "GR-Delft", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-08-22T12:34:06.409332Z", "last_modified": "2020-03-20T18:52:01.904050Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/847/?format=api", "id": 847, "code": "WNS3882", "parameter": "Chloride concentratie", "unit": "mg/l", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "nf", "compartment": "OW", "created": "2017-08-22T12:40:43.316642Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/848/?format=api", "id": 848, "code": "H.verschil", "parameter": "Hoogteverschil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "T0", "compartment": "", "created": "2017-08-22T12:46:15.737260Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/849/?format=api", "id": 849, "code": "H.koppel", "parameter": "Stijghoogte koppel", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "GW", "created": "2017-08-22T13:22:27.667243Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/850/?format=api", "id": 850, "code": "H.koppel.verschil", "parameter": "Stijghoogteverschil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "GW", "created": "2017-08-22T13:22:58.722221Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/851/?format=api", "id": 851, "code": "Density", "parameter": "Density", "unit": "Kg / Ha", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-09-01T14:23:00.740417Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "