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=32
https://demo.lizard.net/api/v4/observationtypes/?format=api&page=33", "previous": "https://demo.lizard.net/api/v4/observationtypes/?format=api&page=31", "results": [ { "url": "https://demo.lizard.net/api/v4/observationtypes/799/?format=api", "id": 799, "code": "IBL.15", "parameter": "In bedrijf hoog toeren", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "NT", "created": "2017-05-01T10:32:29.475918Z", "last_modified": "2019-09-23T08:34:44.376509Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/800/?format=api", "id": 800, "code": "IBH.15", "parameter": "In bedrijf laag toeren", "unit": "-", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": "NT", "created": "2017-05-01T10:33:30.602849Z", "last_modified": "2019-09-23T08:34:57.328241Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/802/?format=api", "id": 802, "code": "H.S.15", "parameter": "Streefpeil", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "NAP", "compartment": "OW", "created": "2017-05-01T10:37:57.566286Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/803/?format=api", "id": 803, "code": "Waterlevel(mAHD)", "parameter": "Water level", "unit": "m", "scale": "interval", "description": "Australian height datum water level", "domain_values": null, "reference_frame": "AHD", "compartment": null, "created": "2017-05-03T09:27:30.895039Z", "last_modified": "2022-07-12T07:53:51.854913Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/804/?format=api", "id": 804, "code": "Seepage(l/s)", "parameter": "Seepage", "unit": "l/s", "scale": "interval", "description": "Parramatta", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-05-03T12:16:29.818307Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/805/?format=api", "id": 805, "code": "NBWP", "parameter": "Biomass Water Productivity", "unit": "kg/m3/year", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2017-05-03T13:01:44.437181Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/806/?format=api", "id": 806, "code": "DOY", "parameter": "Day of Year", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-05-04T08:29:09.489513Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/808/?format=api", "id": 808, "code": "photosynthesis", "parameter": "Photosynth. activity", "unit": "", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-05-05T07:33:00.172216Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/809/?format=api", "id": 809, "code": "Discharge(Ml/day)", "parameter": "Discharge rate", "unit": "Ml/day", "scale": "interval", "description": "Parramatta flood gauges", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-05-09T12:05:23.684202Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, { "url": "https://demo.lizard.net/api/v4/observationtypes/810/?format=api", "id": 810, "code": "emission_CO", "parameter": "CO", "unit": "Ton/year/km2", "scale": "interval", "description": "CO emissions", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2017-06-01T12:11:32.695554Z", "last_modified": "2019-06-25T07:26:10.441021Z" } ] }{ "count": 8137, "next": "