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=6
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=7",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=5",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/823a1b75-dfe9-4d6c-a2a5-12885c46d4fc/?format=api",
            "uuid": "823a1b75-dfe9-4d6c-a2a5-12885c46d4fc",
            "name": "Poelsluis",
            "code": "95",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.794783130335926,
                    52.50323174223031,
                    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": 203682,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:43.593479Z",
            "last_modified": "2022-01-18T07:37:31.506155Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/316adb27-06e2-4323-8695-6f8c74f3706b/?format=api",
            "uuid": "316adb27-06e2-4323-8695-6f8c74f3706b",
            "name": "Purmer Stedelijk-2 (hist)",
            "code": "MOB_MP10",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.981420678289858,
                    52.505414345592676,
                    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": 203705,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:43.762464Z",
            "last_modified": "2022-01-18T08:24:25.806953Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/8c4fbb07-f718-4a80-823e-5976ebf96b14/?format=api",
            "uuid": "8c4fbb07-f718-4a80-823e-5976ebf96b14",
            "name": "Spijkerboor",
            "code": "206",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.830070104928526,
                    52.53718656722129,
                    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": 203671,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:43.842358Z",
            "last_modified": "2022-01-18T08:21:40.669720Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/c0c2d6f0-b30c-4c83-9d07-39c34afc18f7/?format=api",
            "uuid": "c0c2d6f0-b30c-4c83-9d07-39c34afc18f7",
            "name": "Spijkerboor, boezempeil",
            "code": "'206_peil",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.830069001159728,
                    52.53718719004564,
                    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": null,
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:44.026885Z",
            "last_modified": "2022-01-18T07:39:24.227727Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/9cae1374-9e90-4418-a8c1-7e96ae54f864/?format=api",
            "uuid": "9cae1374-9e90-4418-a8c1-7e96ae54f864",
            "name": "Spijkerboor, boezempeil 2e meting",
            "code": "206_peil2",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.830069001159728,
                    52.53718719004564,
                    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": 203671,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:44.241665Z",
            "last_modified": "2022-01-18T07:48:55.771189Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/ecaf4a33-42b3-403a-a373-5b42e8c7af85/?format=api",
            "uuid": "ecaf4a33-42b3-403a-a373-5b42e8c7af85",
            "name": "Vrouwenweg",
            "code": "MP_555",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.948213782256672,
                    52.59404157701061,
                    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": 203676,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:44.490451Z",
            "last_modified": "2022-01-18T07:39:19.191210Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/954adc52-294f-4254-9ff4-b2dab38b470c/?format=api",
            "uuid": "954adc52-294f-4254-9ff4-b2dab38b470c",
            "name": "Zwaagmergouw",
            "code": "904",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.054869482018238,
                    52.6626538448766,
                    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": 203679,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T10:28:44.690146Z",
            "last_modified": "2022-01-18T07:41:33.336825Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/7c195c13-9dbd-4cf4-bad7-389fc79eab68/?format=api",
            "uuid": "7c195c13-9dbd-4cf4-bad7-389fc79eab68",
            "name": "Texelhors",
            "code": "06229",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.749649268530605,
                    52.9989098864558,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 46,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:34.721118Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/c68b60f5-75ab-4a2c-a81e-a980decdc547/?format=api",
            "uuid": "c68b60f5-75ab-4a2c-a81e-a980decdc547",
            "name": "De Kooy *)",
            "code": "06235",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.782994312417798,
                    52.915589527977346,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 47,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:36.389068Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/5eb40b27-9513-494f-abdc-d56811ba92cb/?format=api",
            "uuid": "5eb40b27-9513-494f-abdc-d56811ba92cb",
            "name": "Amsterdam/Schiphol *)",
            "code": "06240",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.766324855523838,
                    52.29899265532858,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 48,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:37.184827Z",
            "last_modified": null,
            "last_modified_by": ""
        }
    ]
}