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=5984
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 59876,
    "next": "https://demo.lizard.net/api/v4/locations/?format=api&page=5985",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=5983",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/ba8c471b-c7bd-4c2c-8442-ef2da4105b94/?format=api",
            "uuid": "ba8c471b-c7bd-4c2c-8442-ef2da4105b94",
            "name": "Debietmeter 1",
            "code": "224_1#FT1",
            "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-2f56502f4654-2f31"
            },
            "created": "2024-12-03T20:52:09.661691Z",
            "last_modified": "2024-12-23T10:08:50.826282Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/d2fb5ec1-2801-4a04-bad9-717a57a0ca87/?format=api",
            "uuid": "d2fb5ec1-2801-4a04-bad9-717a57a0ca87",
            "name": "Kast 1",
            "code": "131_1#K1",
            "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-2f56502f4b2f-31"
            },
            "created": "2024-12-03T20:52:09.661851Z",
            "last_modified": "2024-12-23T10:09:06.519425Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/61061836-3c5a-4d2b-8b0a-0257d29375c0/?format=api",
            "uuid": "61061836-3c5a-4d2b-8b0a-0257d29375c0",
            "name": "Kast 1",
            "code": "224_1#K1",
            "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-2f56502f4b2f-31"
            },
            "created": "2024-12-03T20:52:09.661994Z",
            "last_modified": "2024-12-23T10:08:49.952793Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/a1abd90b-34fe-41de-93be-fb079c61f2d6/?format=api",
            "uuid": "a1abd90b-34fe-41de-93be-fb079c61f2d6",
            "name": "Kast 1",
            "code": "228_1#K1",
            "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-2f56502f4b2f-31"
            },
            "created": "2024-12-03T20:52:09.662017Z",
            "last_modified": "2024-12-23T10:08:47.454937Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/55646f89-8c8c-444a-b06c-3f8ea005b090/?format=api",
            "uuid": "55646f89-8c8c-444a-b06c-3f8ea005b090",
            "name": "Drukmeter 1",
            "code": "131_1#PT1",
            "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-2f56502f5054-2f31"
            },
            "created": "2024-12-03T20:52:09.662241Z",
            "last_modified": "2024-12-23T10:09:08.556655Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/b33179d6-f230-4aed-a26c-9e9e760c53d1/?format=api",
            "uuid": "b33179d6-f230-4aed-a26c-9e9e760c53d1",
            "name": "Drukmeter 1",
            "code": "224_1#PT1",
            "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-2f56502f5054-2f31"
            },
            "created": "2024-12-03T20:53:22.438307Z",
            "last_modified": "2024-12-23T10:08:49.459720Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/9952d3d8-4034-4464-8dfd-7f9e5a0ed2c3/?format=api",
            "uuid": "9952d3d8-4034-4464-8dfd-7f9e5a0ed2c3",
            "name": "Drukmeter 1",
            "code": "228_1#PT1",
            "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-2f56502f5054-2f31"
            },
            "created": "2024-12-03T20:53:22.438345Z",
            "last_modified": "2024-12-23T10:08:47.052296Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/f4df0ccf-2dd3-49e6-8a10-29edcc8c7225/?format=api",
            "uuid": "f4df0ccf-2dd3-49e6-8a10-29edcc8c7225",
            "name": "Niveaumeter 5",
            "code": "226_0#LT5",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.193874466007366,
                    52.3652304915036,
                    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": 30526,
                "type": "pumpstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {
                "tcn_tag_id": "2f323032-322d-3633-332f-56502f4c542f-35",
                "oppervlakte": null,
                "inschakelpeil": -7.15,
                "uitschakelpeil": -7.7,
                "meetniveau_abba_a": -7.3,
                "meetniveau_abba_b": -7.4
            },
            "created": "2024-12-04T15:50:44.240792Z",
            "last_modified": "2024-12-23T10:08:52.540471Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/43d40d85-6150-48e6-a737-7eac59d16ae1/?format=api",
            "uuid": "43d40d85-6150-48e6-a737-7eac59d16ae1",
            "name": "Niveaumeter 5",
            "code": "229_0#LT5",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.182496988384989,
                    52.35873094616002,
                    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": 30527,
                "type": "pumpstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {
                "tcn_tag_id": "2f323032-322d-3633-342f-56502f4c542f-35",
                "oppervlakte": null,
                "inschakelpeil": -7.39,
                "uitschakelpeil": -7.75,
                "meetniveau_abba_a": -7.45,
                "meetniveau_abba_b": -7.55
            },
            "created": "2024-12-04T15:50:44.240845Z",
            "last_modified": "2024-12-23T10:08:59.308074Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/58ca4347-da0f-4a68-9278-391e03effd5a/?format=api",
            "uuid": "58ca4347-da0f-4a68-9278-391e03effd5a",
            "name": "Niveaumeter 5",
            "code": "251_0#LT5",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.273604722483436,
                    52.396565187652676,
                    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": 30528,
                "type": "pumpstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {
                "tcn_tag_id": "2f323032-322d-3633-352f-56502f4c542f-35",
                "oppervlakte": null,
                "inschakelpeil": -8.0,
                "uitschakelpeil": -8.4,
                "meetniveau_abba_a": -8.1,
                "meetniveau_abba_b": -8.38
            },
            "created": "2024-12-04T15:50:44.240873Z",
            "last_modified": "2024-12-23T10:09:02.252063Z",
            "last_modified_by": "taj.devries@nelen-schuurmans.nl"
        }
    ]
}