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=14
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=15",
    "previous": "https://demo.lizard.net/api/v4/locations/?format=api&name__startswith=Inlaat&page=13",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/locations/fada25d3-a96e-44ec-8e30-534714b7f6ee/?format=api",
            "uuid": "fada25d3-a96e-44ec-8e30-534714b7f6ee",
            "name": "Inlaat Kanaalweg, schuifstand",
            "code": "IW4535-LT3",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.951099388641039,
                    52.71189220229095,
                    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": 23053,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:06:39.990795Z",
            "last_modified": "2022-01-18T03:31:42.933312Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/930306ee-8fb3-4679-80e9-18cfc2c11223/?format=api",
            "uuid": "930306ee-8fb3-4679-80e9-18cfc2c11223",
            "name": "Inlaatwerk Lemmer/Rutten, klepstand Lemmerzijde",
            "code": "IW4500-LT4",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.70468320206963,
                    52.83394679379565,
                    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": 23057,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:06:39.990934Z",
            "last_modified": "2022-01-18T03:29:44.594246Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/2c4314d2-3e94-46da-bb81-9f3e35ba79fe/?format=api",
            "uuid": "2c4314d2-3e94-46da-bb81-9f3e35ba79fe",
            "name": "Inlaatwerk Lemmer (Slump), schuifstand",
            "code": "IW4510-LT3",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.716722245325924,
                    52.84244243424737,
                    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": 23050,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:06:39.991071Z",
            "last_modified": "2022-01-18T03:27:03.414218Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/36b2ff60-1dd8-4a31-9a84-1990507754ce/?format=api",
            "uuid": "36b2ff60-1dd8-4a31-9a84-1990507754ce",
            "name": "Inlaat Lemsterhop, schuifstand",
            "code": "IW4520-LT3",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.721279470801213,
                    52.84448768686686,
                    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": 23052,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:06:39.991209Z",
            "last_modified": "2022-01-18T03:19:40.213031Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/fa6e556b-2c28-43de-960f-91f821b7c381/?format=api",
            "uuid": "fa6e556b-2c28-43de-960f-91f821b7c381",
            "name": "Inlaatwerk Lemmer/Rutten, Ruttenzijde, schuifstand",
            "code": "IW4500-LT6",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.70468320206963,
                    52.83394679379565,
                    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": 23057,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:06:39.991345Z",
            "last_modified": "2022-01-18T03:39:18.430033Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/66f5fc8e-7a34-4e09-8152-65d53b65aff8/?format=api",
            "uuid": "66f5fc8e-7a34-4e09-8152-65d53b65aff8",
            "name": "Inlaatwerk Colijn, schuif Ketelmeer zijde",
            "code": "IW4570-ZIT9110",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.75823398164404,
                    52.57903693755716,
                    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": 23058,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:08:04.800813Z",
            "last_modified": "2022-01-18T03:34:47.440585Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/be38da1e-edf0-41d1-8142-47c968dd521f/?format=api",
            "uuid": "be38da1e-edf0-41d1-8142-47c968dd521f",
            "name": "Inlaatwerk Colijn, schuif Hoge Vaart zijde",
            "code": "IW4570-ZIT9120",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.75821959814833,
                    52.57902826488939,
                    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": 23058,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-23T16:08:04.801312Z",
            "last_modified": "2022-01-18T03:40:39.881257Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/6c94602d-aa50-4c4b-85a1-beee7bc47b05/?format=api",
            "uuid": "6c94602d-aa50-4c4b-85a1-beee7bc47b05",
            "name": "Inlaat Lemsterhop, hoofdmeter, inkoop",
            "code": "A52910399-HFD/Ap",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.721276205521117,
                    52.84448769601694,
                    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": 23052,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-24T09:07:50.797209Z",
            "last_modified": "2022-01-18T03:42:46.274425Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/49d2f48a-3f5e-4178-9cd6-b906e4cb5c02/?format=api",
            "uuid": "49d2f48a-3f5e-4178-9cd6-b906e4cb5c02",
            "name": "Inlaat Kuinre, hoofdmeter, inkoop",
            "code": "A00368871-HFD/Ap",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.856930239403225,
                    52.75087092533737,
                    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": 23051,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-24T09:07:50.797487Z",
            "last_modified": "2022-01-18T03:38:13.251486Z",
            "last_modified_by": "emile.debadts"
        },
        {
            "url": "https://demo.lizard.net/api/v4/locations/78d6203c-ba7d-48e6-a938-25042c0f45e3/?format=api",
            "uuid": "78d6203c-ba7d-48e6-a938-25042c0f45e3",
            "name": "Inlaat Slump, hoofdmeter, inkoop",
            "code": "A00351015-HFD/Ap",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    5.716722245325924,
                    52.84244243424737,
                    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": 23050,
                "type": "weir"
            },
            "access_modifier": "Public",
            "extra_metadata": {},
            "created": "2020-06-24T09:07:50.797653Z",
            "last_modified": "2022-01-18T03:31:03.687159Z",
            "last_modified_by": "emile.debadts"
        }
    ]
}