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/037f09b6-84d0-4db3-b763-328cc7395edd/?format=api
https://demo.lizard.net/api/v4/locations/037f09b6-84d0-4db3-b763-328cc7395edd/?format=api", "uuid": "037f09b6-84d0-4db3-b763-328cc7395edd", "name": "40CM012", "code": "40CM012", "geometry": null, "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": null, "access_modifier": "Public", "extra_metadata": { "bro": { "crs": "RD", "kpi": { "inspectie": [], "waterpassing": [], "schoongepompt": [], "kabel_vervangen": [ "2024-10-08T08:25:00Z" ], "meetinstrument_vervangen": [ "2024-10-08T08:25:00Z" ] }, "owner": null, "nitgCode": null, "wellCode": null, "broEvents": [], "broid_gmw": null, "coordinates": [ 187486.48, 436129.51 ], "dateCreated": "2024-10-03T11:36:15Z", "sync_to_bro": false, "complete_bro": false, "dateModified": "2024-10-04T06:52:24Z", "date_changed": null, "projectNumber": null, "qualityRegime": "imbro", "synced_to_bro": true, "temporal_data": [ { "id": 37787, "start": "2024-10-01T22:00:00Z", "offset": 0, "initial": true, "broEvent": "None", "dateModified": "2024-10-03T11:36:15Z", "verticalDatum": "NAP", "wellHeadProtector": "kokerMetaal", "groundLevelPosition": 9.745, "localVerticalReferencePoint": "NAP", "groundLevelPositioningMethod": "RTKGPS0tot4cm" } ], "wellStability": "instabiel", "actueel_in_bro": false, "deliver_to_bro": "leveren", "deliveryContext": "publiekeTaak", "initialFunction": "stand", "groundLevelStable": "ja", "constructionStandard": "NEN5766", "date_to_be_corrected": null, "wellConstructionDate": "2024-10-02T00:00:00Z", "scheduled_for_deletion": false, "numberOfMonitoringTubes": 1, "objectIdAccountableParty": "40CM012", "horizontalPositioningMethod": "RTKGPS0tot2cm", "maintenanceResponsibleParty": "05069581" } }, "created": "2025-02-27T14:12:21.622543Z", "last_modified": "2025-02-27T14:12:24.087230Z", "last_modified_by": "vitens_api" }{ "url": "