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=45
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=46", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=44", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/934/?format=api", "id": 934, "code": "H.W2050.T10000", "parameter": "T10000 W2050 - waterhoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2018-03-26T14:55:08.193974Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/935/?format=api", "id": 935, "code": "H.diff.GHG.W2050", "parameter": "GHG W2050 - stijghoogteverschil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:56:34.605847Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/936/?format=api", "id": 936, "code": "H.diff.GLG.W2050", "parameter": "GLG W2050 - stijghoogteverschil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2018-03-26T14:57:08.417189Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/937/?format=api", "id": 937, "code": "D.GHG.R2015", "parameter": "GHG R2015 - ontwateringsdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MV", "compartment": null, "created": "2018-03-26T14:57:56.869360Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/938/?format=api", "id": 938, "code": "H.GHG.R2015", "parameter": "GHG R2015 - stijghoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2018-03-26T14:59:47.759558Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/939/?format=api", "id": 939, "code": "D.GHG.W2050", "parameter": "GHG W2050 - ontwateringsdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MV", "compartment": null, "created": "2018-03-26T15:00:32.448177Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/940/?format=api", "id": 940, "code": "H.GHG.W2050", "parameter": "GHG W2050 - stijghoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2018-03-26T15:01:31.806024Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/941/?format=api", "id": 941, "code": "D.GLG.R2015", "parameter": "GLG R2015 - ontwateringsdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MV", "compartment": null, "created": "2018-03-26T15:02:08.416132Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/942/?format=api", "id": 942, "code": "H.GLG.R2015", "parameter": "GLG R2015 - stijghoogte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": null, "created": "2018-03-26T15:03:02.228083Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/943/?format=api", "id": 943, "code": "D.GLG.W2050", "parameter": "GLG W2050 - ontwateringsdiepte", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "MV", "compartment": null, "created": "2018-03-26T15:03:48.302064Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8139, "next": "