Location Instance
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/b7979aaf-6c3d-49f7-bfed-a25c83a2f129/?format=api
https://demo.lizard.net/api/v4/locations/b7979aaf-6c3d-49f7-bfed-a25c83a2f129/?format=api", "uuid": "b7979aaf-6c3d-49f7-bfed-a25c83a2f129", "name": "45AL0163001", "code": "45AL0163001", "geometry": { "type": "Point", "coordinates": [ 5.284675116653765, 51.78595554855821, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/e7d66583-43b2-4c90-b118-f2093798885a/?format=api", "uuid": "e7d66583-43b2-4c90-b118-f2093798885a", "name": "Vitens NV" }, "object": { "id": 53131, "type": "filter" }, "access_modifier": "Public", "extra_metadata": { "bro": { "id": 11547, "glue": "ongespecificeerd", "aquifer": null, "tubeType": "standaardbuis", "tubeNumber": 1, "removalDate": null, "dateModified": "2024-07-24T13:19:07Z", "geoOhmCables": [], "sockMaterial": "geen", "tubeMaterial": "pvc", "filterInRoute": true, "temporal_data": [ { "start": "1980-01-13T23:00:00Z", "initial": true, "broEvent": null, "tubeStatus": "onbekend", "dateModified": "2023-01-06T03:11:05Z", "referenceLevel": 3.2, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "1987-05-04T22:00:00Z", "initial": false, "broEvent": "33405", "tubeStatus": "onbekend", "dateModified": "2014-03-27T11:00:00Z", "referenceLevel": 3.13, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "1989-09-17T22:00:00Z", "initial": false, "broEvent": "33406", "tubeStatus": "onbekend", "dateModified": "2014-03-27T11:00:00Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2003-04-08T22:00:00Z", "initial": false, "broEvent": "33407", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:03:40Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2005-04-21T09:00:00Z", "initial": false, "broEvent": "55568", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:03:40Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2010-08-26T09:55:00Z", "initial": false, "broEvent": "55569", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:03:40Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2011-12-02T09:45:00Z", "initial": false, "broEvent": "55570", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:03:40Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2015-05-01T07:00:00Z", "initial": false, "broEvent": "55571", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:03:40Z", "referenceLevel": 3.12, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2017-04-17T22:00:00Z", "initial": false, "broEvent": "15190", "tubeStatus": "onbekend", "dateModified": "2019-04-09T06:10:29Z", "referenceLevel": 3.146, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2018-10-23T10:00:00Z", "initial": false, "broEvent": "55572", "tubeStatus": "onbekend", "dateModified": "2024-07-04T13:26:19Z", "referenceLevel": 3.146, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2022-10-17T10:20:00Z", "initial": false, "broEvent": "20387", "tubeStatus": "onbekend", "dateModified": "2024-07-24T13:19:07Z", "referenceLevel": 3.146, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2023-01-19T05:00:00Z", "initial": false, "broEvent": "21235", "tubeStatus": "onbekend", "dateModified": "2023-06-13T12:07:47Z", "referenceLevel": 3.146, "tubeTopDiameter": null, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" }, { "start": "2023-06-13T04:00:00Z", "initial": false, "broEvent": "22764", "tubeStatus": "gebruiksklaar", "dateModified": "2023-06-13T12:09:45Z", "referenceLevel": 3.146, "tubeTopDiameter": 32.0, "insertedPartLength": null, "insertedPartPresent": false, "insertedPartDiameter": null, "insertedPartMaterial": null, "tubeTopPositioningMethod": "waterpassing0tot2cm" } ], "filterTopDepth": 1.25, "broid_gld_imbro": null, "tubeBottomDepth": 0.25, "broid_gld_imbroa": null, "constructionDate": "1980-01-14T00:00:00Z", "variableDiameter": "nee", "filterBottomDepth": 0.25, "sedimentSumpLength": null, "sedimentSumpPresent": false, "tubePackingMaterial": "filtergrind", "numberOfGeoOhmCables": 0, "artesianWellCapPresent": false } }, "created": "2016-02-10T17:15:15.646308Z", "last_modified": "2024-08-27T13:42:41.232829Z", "last_modified_by": "vitens_api" }{ "url": "