Location List
Endpoint for interacting with locations.
Query parameters
uuid:
Text filter on uuid
. Field filter method exact
is supported.
name:
Text filter on name
. Field filter methods exact
, startswith
are supported.
code:
Text filter on code
. Field filter methods exact
, startswith
are supported.
access_modifier
Filter on access_modifier
, options are 'Public', 'Private', 'Common', or 'Hidden'.
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.
timeseries__start:
Temporal filter on start
field of the related timeseries. Supports
various lookup types (exact
, lt
, lte
, gt
, gte
;
timeseries__start__exact by default). Filter values should be specified in
ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
timeseries__end:
Temporal filter on end
field of the related timeseries. Supports
various lookup types (exact
, lt
, lte
, gt
, gte
;
timeseries__end__exact by default). Filter values should
be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
organisation__uuid
Text filter on organisation__uuid
. Field filter method exact
is supported.
geom_isnull:
Boolean filter on geometry
.
geom_within:
Spatial filter on geometry
. Supports WKT, HEXEWKB, and GeoJSON.
object_id:
Number filter on the id
attribute of an object
.
Field filter method exact
is supported.
To be used in combination with object_type.
object__id:
Numerical filter on object__id
. Field filter method exact
is supported.
object__type:
Text filter on object__type
. Field filter methods exact
is supported.
ordering:
Offers basic ordering functionality on the name
and last_modified
attribute of
locations. Orderings may be reversed by prefixing the attribute with
'-'.
page: To prevent system overloads, list-view results are paginated. This parameter specifies which page to return.
page_size: The maximum number of results to return in list-view. The default is 10.
Examples
?name__startswith=gemaal
?name=gemaal
?code=ABC
?code__startswith=A
?timeseries__start__gte=2017-01-01T00:00:00Z
?timeseries__end__lt=2018-01-01T00:00:00Z
?organisation__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?access_modifier=Private
?access_modifier=100
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
?geom_isnull=false
?geom_within=POLYGON((4.87 52.73, 4.87 52.79, 4.98 52.79, 4.98 52.73,
4.87 52.73))
?geom_within={"type": "Polygon", "coordinates": [[[4.87, 52.73],
[4.87, 52.79], [4.98, 52.79], [4.98, 52.73], [4.87, 52.73]]]}
?object__id=1
?object__type=building
?ordering=name
GET /api/v4/locations/?format=api&name__startswith=Inlaat&page=12
https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=13", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=11", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/1b5bdbdd-d3ee-45cf-ac07-b1e28d3948ad/?format=api", "uuid": "1b5bdbdd-d3ee-45cf-ac07-b1e28d3948ad", "name": "Inlaatwerk Lemmer/Rutten, aanvoersloot, Ruttenzijde, waterhoogte", "code": "IW4500-LT3", "geometry": { "type": "Point", "coordinates": [ 5.70468320206963, 52.83394679379565, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23057, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.483083Z", "last_modified": "2022-01-18T03:52:10.792888Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/7e55c1fe-2fca-4bb4-b0ea-c871f81b5018/?format=api", "uuid": "7e55c1fe-2fca-4bb4-b0ea-c871f81b5018", "name": "Inlaatwerk Waterloopbos, waterhoogte HWZ", "code": "IW4545-LT1", "geometry": { "type": "Point", "coordinates": [ 5.930329736183633, 52.67381769768219, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23056, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.483275Z", "last_modified": "2022-01-18T03:23:06.936667Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/412f316e-982a-4246-8ce6-9aac489e1843/?format=api", "uuid": "412f316e-982a-4246-8ce6-9aac489e1843", "name": "Inlaatwerk Blokzijl, waterhoogte HWZ", "code": "IW4530-LT1", "geometry": { "type": "Point", "coordinates": [ 5.956963642376497, 52.72476067893209, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23055, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.484223Z", "last_modified": "2022-01-18T03:33:27.949142Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/7714981e-1bd4-4e20-9ee8-b218518ad225/?format=api", "uuid": "7714981e-1bd4-4e20-9ee8-b218518ad225", "name": "Inlaat Kuinre, waterstand LWZ", "code": "IW4560-M", "geometry": { "type": "Point", "coordinates": [ 5.842411025586023, 52.7847651938887, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23051, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.484662Z", "last_modified": "2022-01-18T03:24:03.960164Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/51c815ab-d0f0-48ce-b77f-a29845431e54/?format=api", "uuid": "51c815ab-d0f0-48ce-b77f-a29845431e54", "name": "Inlaatwerk Waterloopbos, waterhoogte LWZ", "code": "IW4545-LT2", "geometry": { "type": "Point", "coordinates": [ 5.930322457762996, 52.67377908626601, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23056, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.485610Z", "last_modified": "2022-01-18T03:15:36.731734Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/490d4eb2-6787-4246-80f0-1e83f15a7d8f/?format=api", "uuid": "490d4eb2-6787-4246-80f0-1e83f15a7d8f", "name": "Inlaat Lemsterhop, waterhoogte LWZ", "code": "IW4520-LT2", "geometry": { "type": "Point", "coordinates": [ 5.721279470801213, 52.84448768686686, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23052, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.486172Z", "last_modified": "2022-01-18T03:44:25.005068Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/de79a3c7-6b70-451c-a2a9-f9c57049d296/?format=api", "uuid": "de79a3c7-6b70-451c-a2a9-f9c57049d296", "name": "Inlaatwerk Lemmer/Rutten, aanvoersloot Lemmerzijde, waterhoogte", "code": "IW4500-LT2", "geometry": { "type": "Point", "coordinates": [ 5.70468320206963, 52.83394679379565, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23057, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.486366Z", "last_modified": "2022-01-18T03:41:43.030051Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/d883490a-2f47-4458-a7df-fbe48073cdce/?format=api", "uuid": "d883490a-2f47-4458-a7df-fbe48073cdce", "name": "Inlaat Kuinre, waterstand HWZ", "code": "IW4560-L", "geometry": { "type": "Point", "coordinates": [ 5.842411025586023, 52.7847651938887, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23051, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-08T19:46:27.487534Z", "last_modified": "2022-01-18T03:33:08.904030Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/10627604-c873-49a3-ad38-7b03772ef2a3/?format=api", "uuid": "10627604-c873-49a3-ad38-7b03772ef2a3", "name": "Inlaatwerk Blokzijl, debiet (schuif 2)", "code": "IW4530-FT1", "geometry": { "type": "Point", "coordinates": [ 5.956963642376497, 52.72476067893209, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23055, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-09T09:04:55.718462Z", "last_modified": "2022-01-18T03:30:51.750022Z", "last_modified_by": "emile.debadts" }, { "url": "https://demo.lizard.net/api/v4/locations/2a08206a-cae7-49f5-9a28-e5a1699809dd/?format=api", "uuid": "2a08206a-cae7-49f5-9a28-e5a1699809dd", "name": "Inlaatwerk Waterloopbos, debiet", "code": "IW4545-l1", "geometry": { "type": "Point", "coordinates": [ 5.93060258835713, 52.67377663807768, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api", "uuid": "188a569b-f0ac-4e98-81db-499de07f7582", "name": "Zuiderzeeland" }, "object": { "id": 23056, "type": "weir" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2020-06-09T09:05:51.074600Z", "last_modified": "2022-01-18T03:35:48.921428Z", "last_modified_by": "emile.debadts" } ] }{ "count": 218, "next": "