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&page=5983
https://demo.lizard.net/api/v4/locations/?format=api&page=5984", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=5982", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/f75d4ed7-6dc4-4788-b500-a4c60a67d05a/?format=api", "uuid": "f75d4ed7-6dc4-4788-b500-a4c60a67d05a", "name": "Niveaumeter 5", "code": "131_1#LT5", "geometry": { "type": "Point", "coordinates": [ 5.184499212651089, 52.38638920018982, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31227, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-332d-3137-3636-2f56502f4c54-2f35", "oppervlakte": null, "inschakelpeil": null, "uitschakelpeil": null, "meetniveau_abba_a": -6.25, "meetniveau_abba_b": -6.35 }, "created": "2024-12-03T20:50:01.231435Z", "last_modified": "2024-12-23T10:09:06.926822Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/b3a5e734-6884-4145-9700-daabfd46668e/?format=api", "uuid": "b3a5e734-6884-4145-9700-daabfd46668e", "name": "Niveaumeter 5", "code": "224_1#LT5", "geometry": { "type": "Point", "coordinates": [ 5.19058, 52.35379, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31237, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3133-2f56502f4c54-2f35", "oppervlakte": null, "inschakelpeil": null, "uitschakelpeil": null, "meetniveau_abba_a": -7.0, "meetniveau_abba_b": -7.1 }, "created": "2024-12-03T20:50:44.775775Z", "last_modified": "2024-12-23T10:08:49.047843Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/07741b57-b233-4782-9725-0994510528c3/?format=api", "uuid": "07741b57-b233-4782-9725-0994510528c3", "name": "Niveaumeter 5", "code": "228_1#LT5", "geometry": { "type": "Point", "coordinates": [ 5.185378509366669, 52.369795246344395, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31220, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3130-2f56502f4c54-2f35", "oppervlakte": null, "inschakelpeil": null, "uitschakelpeil": null, "meetniveau_abba_a": -7.7, "meetniveau_abba_b": -7.8 }, "created": "2024-12-03T20:50:44.775800Z", "last_modified": "2024-12-23T10:08:48.659609Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/969bc296-0ada-4517-9b9b-664110f509ee/?format=api", "uuid": "969bc296-0ada-4517-9b9b-664110f509ee", "name": "Pomp 1", "code": "131_1#P1", "geometry": { "type": "Point", "coordinates": [ 5.184499212651089, 52.38638920018982, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31227, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-332d-3137-3636-2f56502f502f-31" }, "created": "2024-12-03T20:50:44.776186Z", "last_modified": "2024-12-23T10:09:08.156681Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/97899d10-a898-469a-a270-52ba64459e9e/?format=api", "uuid": "97899d10-a898-469a-a270-52ba64459e9e", "name": "Pomp 1", "code": "224_1#P1", "geometry": { "type": "Point", "coordinates": [ 5.19058, 52.35379, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31237, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3133-2f56502f502f-31" }, "created": "2024-12-03T20:50:44.776302Z", "last_modified": "2024-12-23T10:08:51.666130Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/c4d4ed7b-af4c-41b2-ae57-514ecdeace9a/?format=api", "uuid": "c4d4ed7b-af4c-41b2-ae57-514ecdeace9a", "name": "Pomp 1", "code": "228_1#P1", "geometry": { "type": "Point", "coordinates": [ 5.185378509366669, 52.369795246344395, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31220, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3130-2f56502f502f-31" }, "created": "2024-12-03T20:50:44.776325Z", "last_modified": "2024-12-23T10:08:46.207457Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/d7af26b3-0f48-4e6e-b431-20896ba132cb/?format=api", "uuid": "d7af26b3-0f48-4e6e-b431-20896ba132cb", "name": "Pomp 2", "code": "131_1#P2", "geometry": { "type": "Point", "coordinates": [ 5.184499212651089, 52.38638920018982, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31227, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-332d-3137-3636-2f56502f502f-32" }, "created": "2024-12-03T20:50:44.776553Z", "last_modified": "2024-12-23T10:09:07.761134Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/c7e148d6-3731-4b31-a830-1a34283a5820/?format=api", "uuid": "c7e148d6-3731-4b31-a830-1a34283a5820", "name": "Pomp 2", "code": "224_1#P2", "geometry": { "type": "Point", "coordinates": [ 5.19058, 52.35379, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31237, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3133-2f56502f502f-32" }, "created": "2024-12-03T20:50:44.776622Z", "last_modified": "2024-12-23T10:08:51.240452Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/d54ec330-e2c8-44fc-b027-99bbdf797c14/?format=api", "uuid": "d54ec330-e2c8-44fc-b027-99bbdf797c14", "name": "Pomp 2", "code": "228_1#P2", "geometry": { "type": "Point", "coordinates": [ 5.185378509366669, 52.369795246344395, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31220, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3130-2f56502f502f-32" }, "created": "2024-12-03T20:50:44.776646Z", "last_modified": "2024-12-23T10:08:46.605916Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" }, { "url": "https://demo.lizard.net/api/v4/locations/8bcdfa1c-3d55-4513-9c03-f9d7ca36b537/?format=api", "uuid": "8bcdfa1c-3d55-4513-9c03-f9d7ca36b537", "name": "Debietmeter 1", "code": "228_1#FT1", "geometry": { "type": "Point", "coordinates": [ 5.185378509366669, 52.369795246344395, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api", "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb", "name": "Almere" }, "object": { "id": 31220, "type": "pumpstation" }, "access_modifier": "Public", "extra_metadata": { "tcn_tag_id": "2f323032-322d-3130-3130-2f56502f4654-2f31" }, "created": "2024-12-03T20:52:09.661420Z", "last_modified": "2024-12-23T10:08:45.800022Z", "last_modified_by": "taj.devries@nelen-schuurmans.nl" } ] }{ "count": 59876, "next": "