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

{
    "count": 218,
    "next": "https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=5",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=3",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/23113757-3de2-4642-a6a4-1ded21dd64fa/?format=api",
            "uuid": "23113757-3de2-4642-a6a4-1ded21dd64fa",
            "name": "Inlaat NG, Instroompeil",
            "code": "KDU-Q-7445_instroompeil",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    3.313583026230547,
                    47.97476598341171,
                    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": 14945,
                "type": "culvert"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:25.645167Z",
            "last_modified": "2022-01-18T07:39:34.157977Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/08885a3f-1e59-4822-8b31-6c832ddf4ef2/?format=api",
            "uuid": "08885a3f-1e59-4822-8b31-6c832ddf4ef2",
            "name": "Inlaat Nulpsloot, Benedenpeil 1",
            "code": "KDU-Q-32628#MPN-AS-1868",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.913589458482742,
                    52.72158864550357,
                    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": 241231,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.235557Z",
            "last_modified": "2024-02-14T14:43:28.318115Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/a74830a4-371a-4671-8e52-530491e993ae/?format=api",
            "uuid": "a74830a4-371a-4671-8e52-530491e993ae",
            "name": "Inlaat Nulpsloot, Benedenpeil 2",
            "code": "KDU-Q-32628_benedenpeil_2",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.913588046313937,
                    52.72158936048773,
                    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": 416,
                "type": "culvert"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.357342Z",
            "last_modified": "2022-01-18T07:37:54.264238Z",
            "last_modified_by": ""
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/72f14a01-24c1-4993-9ebb-556aa27b3013/?format=api",
            "uuid": "72f14a01-24c1-4993-9ebb-556aa27b3013",
            "name": "Inlaat Nulpsloot, Bovenpeil",
            "code": "KDU-Q-32628#MPN-AS-740",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.913589458482742,
                    52.72158864550357,
                    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": 241901,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.476149Z",
            "last_modified": "2024-02-14T14:43:28.870010Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/8d57307c-3f68-4cd1-ba64-4a6249090475/?format=api",
            "uuid": "8d57307c-3f68-4cd1-ba64-4a6249090475",
            "name": "Inlaat Obdam, Benedenpeil",
            "code": "KDU-Q-12428#MPN-AS-722",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.877510149149104,
                    52.67844665190061,
                    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": 241884,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.597567Z",
            "last_modified": "2024-02-14T14:43:29.286108Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/0fcdcf5d-88bf-4c16-95d0-4ff2755fa0da/?format=api",
            "uuid": "0fcdcf5d-88bf-4c16-95d0-4ff2755fa0da",
            "name": "Inlaat Oude Gouw, Benedenpeil",
            "code": "KDU-Q-9213#MPN-AS-801",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.261422433352272,
                    52.70902566911662,
                    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": 241963,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.714344Z",
            "last_modified": "2024-02-14T14:43:29.684449Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/cb243b38-18d3-4d67-a344-2e0d159d28c8/?format=api",
            "uuid": "cb243b38-18d3-4d67-a344-2e0d159d28c8",
            "name": "Inlaat Oude Gouw, Bovenpeil",
            "code": "KDU-Q-9213#MPN-AS-800",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.261422433352272,
                    52.70902566911662,
                    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": 241962,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.822601Z",
            "last_modified": "2024-02-14T14:43:30.117149Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/caec7f0d-4413-4b6a-a4be-8ecc6b080bde/?format=api",
            "uuid": "caec7f0d-4413-4b6a-a4be-8ecc6b080bde",
            "name": "Inlaat Oudesluis, Benedenpeil",
            "code": "KDU-Q-2025#MPN-AS-1315",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.812184922586453,
                    52.83244713774305,
                    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": 242362,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:26.946891Z",
            "last_modified": "2024-02-14T14:43:30.560242Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/c6f3365b-d08d-430c-9dc7-2b3ef7460bbc/?format=api",
            "uuid": "c6f3365b-d08d-430c-9dc7-2b3ef7460bbc",
            "name": "Inlaat Oudesluis, Bovenpeil",
            "code": "KDU-Q-2025#MPN-AS-1316",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.812184922586453,
                    52.83244713774305,
                    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": 242363,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:27.063187Z",
            "last_modified": "2024-02-14T14:43:30.966380Z",
            "last_modified_by": "bkropf"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/1158107a-8a2f-4ed4-8b78-08fb004b5a9d/?format=api",
            "uuid": "1158107a-8a2f-4ed4-8b78-08fb004b5a9d",
            "name": "Inlaat Oudorp, Uitstroompeil",
            "code": "KDU-Q-729#MPN-AS-1640",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.765394929531449,
                    52.62437386030854,
                    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": 241007,
                "type": "measuringstation"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2016-09-13T10:49:27.178806Z",
            "last_modified": "2024-02-14T14:43:31.494166Z",
            "last_modified_by": "bkropf"
        }
    ]
}