Observation Type List
List of observation types.
Digitale Delta uses a different lookup field. Defining lookup_field
on the serializer was not enough to get things working, it needs to be
defined to the ViewSet as well.
** Query Parameters:**
code
Optional text filter on code
parameter
Optional text filter on parameter
unit
Optional text filter on unit
id
Text filter on uuid
. Supports id__icontains and id__iexact
as default. For example: ?id=c410d5a7-0f9c-4518-9089-e0d7a91591bB
and ?id__icontains=c410d5a7-0
GET /dd/api/v2/observationtypes/?format=api&page=810
https://demo.lizard.net/dd/api/v2/observationtypes/?format=api&page=809", "next": null, "maxPageSize": 1000, "minPageSize": 2 }, "results": [ { "url": "https://demo.lizard.net/dd/api/v2/observationtypes/088a66d6-21b9-4ac2-b507-aeb17b06656c/?format=api", "id": "088a66d6-21b9-4ac2-b507-aeb17b06656c", "quantity": "", "unit": "l/h", "node": { "url": "https://demo.lizard.net/dd/api/v2/nodes/6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5/?format=api", "uuid": "6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5", "name": "Lizard", "description": "", "baseUrl": "" } }, { "url": "https://demo.lizard.net/dd/api/v2/observationtypes/b03949c8-7473-40c1-94dd-b7570629a97a/?format=api", "id": "b03949c8-7473-40c1-94dd-b7570629a97a", "quantity": "", "unit": "ug/l", "node": { "url": "https://demo.lizard.net/dd/api/v2/nodes/6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5/?format=api", "uuid": "6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5", "name": "Lizard", "description": "", "baseUrl": "" } }, { "url": "https://demo.lizard.net/dd/api/v2/observationtypes/279f27c5-848e-4258-aa32-c8ee6aecf331/?format=api", "id": "279f27c5-848e-4258-aa32-c8ee6aecf331", "quantity": "Water level", "unit": "m", "parameterCode": "Water level", "compartment": "GW", "qualifier": "MSL", "node": { "url": "https://demo.lizard.net/dd/api/v2/nodes/6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5/?format=api", "uuid": "6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5", "name": "Lizard", "description": "", "baseUrl": "" } }, { "url": "https://demo.lizard.net/dd/api/v2/observationtypes/69eafc58-1248-451c-8aae-eeb244c6e16a/?format=api", "id": "69eafc58-1248-451c-8aae-eeb244c6e16a", "quantity": "Astronomisch getij", "unit": "m", "parameterCode": "Astronomisch getij", "compartment": "OW", "qualifier": "MSL", "node": { "url": "https://demo.lizard.net/dd/api/v2/nodes/6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5/?format=api", "uuid": "6be7b0dd-b65b-4e33-adcc-80ef1e28b4b5", "name": "Lizard", "description": "", "baseUrl": "" } } ] }{ "paging": { "totalObjectCount": 8094, "prev": "