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

{
    "count": 59876,
    "next": null,
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=5987",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/e8fee2d5-7d5d-4846-a6c9-2e4f02fb0245/?format=api",
            "uuid": "e8fee2d5-7d5d-4846-a6c9-2e4f02fb0245",
            "name": "HOOGRAVEN_2139-K_MERWEDEKANAAL ADCP-debietmeter1_positief",
            "code": "KW213922",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.111425417624621,
                    52.05959579013685,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/c9c9dd63-49ac-4c7e-bd43-4906dd90f671/?format=api",
                "uuid": "c9c9dd63-49ac-4c7e-bd43-4906dd90f671",
                "name": "HDSR"
            },
            "object": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-05T17:01:01.633752Z",
            "last_modified": "2025-03-05T17:01:01.633736Z",
            "last_modified_by": "sa_hdsr"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/6c232bec-fdeb-4d57-964b-fb2472071f68/?format=api",
            "uuid": "6c232bec-fdeb-4d57-964b-fb2472071f68",
            "name": "HOOGRAVEN_2139-K_MERWEDEKANAAL ADCP-debietmeter1_negatief",
            "code": "KW213923",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.111425417624621,
                    52.05959579013685,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/c9c9dd63-49ac-4c7e-bd43-4906dd90f671/?format=api",
                "uuid": "c9c9dd63-49ac-4c7e-bd43-4906dd90f671",
                "name": "HDSR"
            },
            "object": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-05T17:01:02.210932Z",
            "last_modified": "2025-03-05T17:01:02.210915Z",
            "last_modified_by": "sa_hdsr"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/ed540414-aa56-418d-a6a1-15feafca0f10/?format=api",
            "uuid": "ed540414-aa56-418d-a6a1-15feafca0f10",
            "name": "DOORSLAG ADCP_2147-K_DOORSLAG ADCP-debietmeter1_positief",
            "code": "KW214712",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.088009398400471,
                    52.02878123321592,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/c9c9dd63-49ac-4c7e-bd43-4906dd90f671/?format=api",
                "uuid": "c9c9dd63-49ac-4c7e-bd43-4906dd90f671",
                "name": "HDSR"
            },
            "object": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-05T17:01:05.634910Z",
            "last_modified": "2025-03-05T17:01:05.634896Z",
            "last_modified_by": "sa_hdsr"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/9e38bf30-7e4f-4ca2-97a8-693c48f5bb02/?format=api",
            "uuid": "9e38bf30-7e4f-4ca2-97a8-693c48f5bb02",
            "name": "DOORSLAG ADCP_2147-K_DOORSLAG ADCP-debietmeter1_negatief",
            "code": "KW214713",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.088009398400471,
                    52.02878123321592,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/c9c9dd63-49ac-4c7e-bd43-4906dd90f671/?format=api",
                "uuid": "c9c9dd63-49ac-4c7e-bd43-4906dd90f671",
                "name": "HDSR"
            },
            "object": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-05T17:01:06.178092Z",
            "last_modified": "2025-03-05T17:01:06.178080Z",
            "last_modified_by": "sa_hdsr"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/c38f5ceb-4c7c-4735-974a-f677ef3b5a4d/?format=api",
            "uuid": "c38f5ceb-4c7c-4735-974a-f677ef3b5a4d",
            "name": "Ephyra slibgistingstank, Handmeetpunt Ephyra naar vergister (Comp3)",
            "code": "800-Y-2440",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.684006686738711,
                    52.685534130341,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "object": {
                "id": 251671,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-11T13:20:49.098720Z",
            "last_modified": "2025-03-12T06:00:04.185263Z",
            "last_modified_by": "sa_zuiderzeeland"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/bf54c48b-4b05-47c9-8455-6ae1fd9cadab/?format=api",
            "uuid": "bf54c48b-4b05-47c9-8455-6ae1fd9cadab",
            "name": "Ephyra slibgistingstank, Handmeetpunt Compartiment 1",
            "code": "800-Y-2451",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.683958075087586,
                    52.68552325341129,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/188a569b-f0ac-4e98-81db-499de07f7582/?format=api",
                "uuid": "188a569b-f0ac-4e98-81db-499de07f7582",
                "name": "Zuiderzeeland"
            },
            "object": {
                "id": 251672,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2025-03-11T13:20:49.098871Z",
            "last_modified": "2025-03-12T06:00:04.406254Z",
            "last_modified_by": "sa_zuiderzeeland"
        }
    ]
}