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=35
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=36", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=34", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/832/?format=api", "id": 832, "code": "vito_veen", "parameter": "Veen", "unit": "", "scale": "nominal", "description": "Veen", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:39:53.155852Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/833/?format=api", "id": 833, "code": "vito_ferrarisbos", "parameter": "Ferrarisbos", "unit": "", "scale": "nominal", "description": "Ferrarisbos", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-08-15T11:40:31.040053Z", "last_modified": "2020-03-20T18:44:48.268688Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/834/?format=api", "id": 834, "code": "vito_hellingsgraad", "parameter": "Hellingsgraad", "unit": "%", "scale": "interval", "description": "Hellingsgraad", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:41:39.216758Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/835/?format=api", "id": 835, "code": "vito_bodemclassificatie", "parameter": "Bodemclassificatie", "unit": "", "scale": "nominal", "description": "Bodemclassificatie", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:42:08.502558Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/836/?format=api", "id": 836, "code": "vito_publiek-privaat-bos", "parameter": "Publiek/privaat bos", "unit": "", "scale": "nominal", "description": "Publiek/privaat bos", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:42:53.737651Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/837/?format=api", "id": 837, "code": "vito_LS-factor", "parameter": "LS-factor", "unit": "-", "scale": "interval", "description": "LS-factor", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:43:28.221361Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/838/?format=api", "id": 838, "code": "vito_bodem-GHG", "parameter": "Bodem-GHG", "unit": "cm", "scale": "interval", "description": "Bodem-GHG waarde", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-08-15T11:44:21.042787Z", "last_modified": "2020-03-20T18:45:09.930439Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/839/?format=api", "id": 839, "code": "vito_bodem-GLG", "parameter": "Bodem-GLG", "unit": "cm", "scale": "interval", "description": "Bodem-GLG waarde", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:44:45.449355Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/840/?format=api", "id": 840, "code": "vito_drainage", "parameter": "Drainage", "unit": "", "scale": "nominal", "description": "Drainage", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:45:14.402303Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/841/?format=api", "id": 841, "code": "vito_bodemtextuur", "parameter": "Bodemtextuur", "unit": "", "scale": "nominal", "description": "Bodemtextuur", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-08-15T11:45:40.359481Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "