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

{
    "count": 39907,
    "next": "https://zuiderzeeland.lizard.net/api/v4/locations/?format=api&page=4",
    "previous": "https://zuiderzeeland.lizard.net/api/v4/locations/?format=api&page=2",
    "results": [
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/b51c206c-cc4e-42b5-be9a-1d98a4c0acd6/?format=api",
            "uuid": "b51c206c-cc4e-42b5-be9a-1d98a4c0acd6",
            "name": "Westdorpe",
            "code": "06319",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    3.833113047780399,
                    51.232455066607464,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 66,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:46.390188Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/f035a387-d270-4e97-8747-40bd362875f2/?format=api",
            "uuid": "f035a387-d270-4e97-8747-40bd362875f2",
            "name": "Wilhelminadorp",
            "code": "06323",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    3.899778193687664,
                    51.5324237925989,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 67,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:46.835012Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/c0525d0a-8a50-44d9-9b42-a9f04a49070f/?format=api",
            "uuid": "c0525d0a-8a50-44d9-9b42-a9f04a49070f",
            "name": "Hoek van Holland",
            "code": "06330",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.09975775384263,
                    51.98236264900718,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 68,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:47.311594Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/33b8d510-9cb0-4121-8075-9ca9fbf77d2f/?format=api",
            "uuid": "33b8d510-9cb0-4121-8075-9ca9fbf77d2f",
            "name": "Woensdrecht",
            "code": "06340",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.333046873057776,
                    51.449095436687784,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 69,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:47.888678Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/e51b57e2-04cb-4324-ba3f-eb80c4b74131/?format=api",
            "uuid": "e51b57e2-04cb-4324-ba3f-eb80c4b74131",
            "name": "Rotterdam Geulhaven",
            "code": "06343",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.316387833596414,
                    51.88237488004403,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 70,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:48.319559Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/364da2a9-e7f4-46be-a8ec-2e2fdcb2f423/?format=api",
            "uuid": "364da2a9-e7f4-46be-a8ec-2e2fdcb2f423",
            "name": "Rotterdam *)",
            "code": "06344",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.449701891560624,
                    51.94903366199381,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 71,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:48.722863Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/908dc271-91e8-471c-8f67-b491e48d7c99/?format=api",
            "uuid": "908dc271-91e8-471c-8f67-b491e48d7c99",
            "name": "Cabauw",
            "code": "06348",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.932967095947363,
                    51.96569921087592,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 72,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:49.162357Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/f44037d8-cc47-49d9-990b-9e8661038ed5/?format=api",
            "uuid": "f44037d8-cc47-49d9-990b-9e8661038ed5",
            "name": "Gilze Rijen",
            "code": "06350",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.932963305835232,
                    51.565745423048035,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 73,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:49.626243Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/900108be-e116-4360-8ae3-3f51d568d2df/?format=api",
            "uuid": "900108be-e116-4360-8ae3-3f51d568d2df",
            "name": "Herwijnen",
            "code": "06356",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.149592291315238,
                    51.86571218806841,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 74,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:50.062706Z",
            "last_modified": null,
            "last_modified_by": ""
        },
        {
            "url": "https://zuiderzeeland.lizard.net/api/v4/locations/28ddbf5b-ef6f-4476-82ae-ada939b15133/?format=api",
            "uuid": "28ddbf5b-ef6f-4476-82ae-ada939b15133",
            "name": "Eindhoven*)",
            "code": "06370",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.4162309464231,
                    51.44909738119677,
                    0.0
                ]
            },
            "organisation": {
                "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api",
                "uuid": "18d98431-8077-451a-a7ae-041aac7ad148",
                "name": "KNMI"
            },
            "object": {
                "id": 75,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2014-11-05T13:46:50.545386Z",
            "last_modified": null,
            "last_modified_by": ""
        }
    ]
}