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
https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=2", "previous": null, "results": [ { "url": "https://demo.lizard.net/api/v4/locations/ed874824-d20f-4ba1-a332-f0c3f92738fa/?format=api", "uuid": "ed874824-d20f-4ba1-a332-f0c3f92738fa", "name": "Inlaat sGravelandseVaart", "code": "3201_PS1", "geometry": null, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-08-29T11:45:43.186378Z", "last_modified": "2022-01-18T07:39:11.497003Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/d47b1d46-9226-4414-a3f1-886d2fbe935c/?format=api", "uuid": "d47b1d46-9226-4414-a3f1-886d2fbe935c", "name": "Inlaat sGravelandseVaart", "code": "3201_PS1", "geometry": null, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/?format=api", "uuid": "61f5a464-c350-44c1-9bc7-d4b42d7f58cb", "name": "Nelen & Schuurmans Consultancy" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2015-08-28T14:41:31.925995Z", "last_modified": "2023-06-27T09:30:39.493448Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/974238ff-1241-462f-ae63-f0abc7049b1d/?format=api", "uuid": "974238ff-1241-462f-ae63-f0abc7049b1d", "name": "Inlaat Bloemendaal, Krooshek", "code": "011-033-00462#krooshek", "geometry": { "type": "Point", "coordinates": [ 4.720357509701617, 52.02170916986047, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-15T22:56:40.543510Z", "last_modified": "2023-06-27T09:30:42.676198Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/20dbd2c1-ae6d-4aab-a520-c23525d46b05/?format=api", "uuid": "20dbd2c1-ae6d-4aab-a520-c23525d46b05", "name": "Inlaat Karnemelksloot, Bovenpand", "code": "244-033-00012#bovenpand", "geometry": { "type": "Point", "coordinates": [ 4.721137207055675, 52.01434310598354, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-15T22:56:53.773723Z", "last_modified": "2023-06-27T09:30:43.342226Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/fe537657-fffc-45c7-befe-1eb18285ee9e/?format=api", "uuid": "fe537657-fffc-45c7-befe-1eb18285ee9e", "name": "Inlaat Karnemelksloot, Onderpand", "code": "244-033-00012#onderpand", "geometry": { "type": "Point", "coordinates": [ 4.72130851575328, 52.01359803862654, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-15T22:56:55.542505Z", "last_modified": "2023-06-27T09:30:43.446497Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/02d85112-eca8-4c1a-a303-d80a2329d195/?format=api", "uuid": "02d85112-eca8-4c1a-a303-d80a2329d195", "name": "Inlaat Ir. de Kock van Leeuwensluis, Boezem", "code": "413-033-00011#boezem", "geometry": { "type": "Point", "coordinates": [ 4.701108868895868, 52.01234948687546, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-15T22:57:18.696799Z", "last_modified": "2023-06-27T09:30:44.786774Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/0ce502b3-dd15-4b72-b7bd-97b479e4d35e/?format=api", "uuid": "0ce502b3-dd15-4b72-b7bd-97b479e4d35e", "name": "Inlaat Ir. de Kock van Leeuwensluis, Polder", "code": "413-033-00011#polder", "geometry": { "type": "Point", "coordinates": [ 4.701214264147721, 52.01212539090848, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-15T22:57:20.436738Z", "last_modified": "2023-06-27T09:30:44.864383Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/2aeece91-eaa4-4fcc-8761-623bacb744c3/?format=api", "uuid": "2aeece91-eaa4-4fcc-8761-623bacb744c3", "name": "Inlaat Bloemendaal, Boezem", "code": "011-033-00462#boezem", "geometry": { "type": "Point", "coordinates": [ 4.72035710839728, 52.02173613273805, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-17T13:36:52.354490Z", "last_modified": "2023-06-27T09:30:53.508240Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/4a87efd1-c939-462b-bcbe-e122f0b5b2eb/?format=api", "uuid": "4a87efd1-c939-462b-bcbe-e122f0b5b2eb", "name": "Inlaat Bloemendaal, Polder", "code": "011-033-00462#polder", "geometry": { "type": "Point", "coordinates": [ 4.719775182257371, 52.02167890450357, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/d7bd9cf0-28ce-4901-866f-5d2e63402804/?format=api", "uuid": "d7bd9cf0-28ce-4901-866f-5d2e63402804", "name": "Hoogheemraadschap van Rijnland" }, "object": null, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-03-17T13:36:55.622957Z", "last_modified": "2023-06-27T09:30:53.594411Z", "last_modified_by": "karl.schutt" }, { "url": "https://demo.lizard.net/api/v4/locations/1aa87b3f-d907-4560-8bd0-1a2e9a343d28/?format=api", "uuid": "1aa87b3f-d907-4560-8bd0-1a2e9a343d28", "name": "Inlaat A, Instroompeil", "code": "KDU-Q-3520#MPN-AS-1226", "geometry": { "type": "Point", "coordinates": [ 4.697219846149037, 52.73381052450254, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 240729, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2016-09-13T10:49:20.821875Z", "last_modified": "2024-02-14T14:43:09.575107Z", "last_modified_by": "bkropf" } ] }{ "count": 289, "next": "