List assets of type PumpStation

Query parameters:

organisation Filter by organisation. Supports lookups on uuid and name.

code Exact filter on the code field. The (case-sensitive) startswith lookup is also supported.

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.

geometry The following lookups are available: isnull, contained, contains, contains_properly, covered_by, covers, crosses, disjoint, equals, intersects, overlaps, and within. Query geometries can be supplied as WKT, EWKT or HEXEWKB.

boundary__id: Filter on geometry of the region/boundary with the id boundary__id. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

boundary__code: Filter on geometry of the region/boundary with the id boundary__code. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

boundary__type: Spatial filter on geometry, whereby geometry is specified by a region/boundary object (see below) and filter operator is ST_Intersects. Available types are COUNTRY, PROVINCE, WATER_BOARD, MUNICIPALITY, CATCHMENT, POLDER, FIXED_DRAINAGE_LEVEL_AREA, PUMPED_DRAINAGE_AREA, MAIN_PUMPED_DRAINAGE_AREA, DISTRICT, NEIGHBOURHOOD, CADASTRE, PLANTATION, FIELD, CITY, and CUSTOM

boundary__name: Filter on name of the region/boundary with the name boundary__name. Requires boundary__type. For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/

simplify: Simplify the query geometries (in WGS84) using this value as tolerance. A higher value may result in a better response time for detailed geometries. Defaults to 0.00001 degrees (approx. 1 meter). NB: Returned geometries are unaffected.

page_size The number of results on a single page. Defaults to 10, maximum is 100. Note that pagination is disabled for the root endpoint: the response will be truncated to page_size.

Custom route: search

Full-text search in 'code' and 'name' fields. Results are ranked.

Examples:

?code=ABC_2123

?code__startswith=ABC

?created__gte=2017-01-01T00:00:00Z

?last_modified__lt=2018-01-01T00:00:00Z

?organisation__name__startswith=Nelen

?organisation__uuid=61f5a464-c350-44c1-9bc7-d4b42d7f58cb

?organisation__name__icontains=Schuur

?geometry__intersects=POINT (5 52)

?boundary__id=198

?boundary__code=NL_GM0344

?boundary__type=PROVINCE&boundary__name=Utrecht

/search/abc/
GET /api/v4/pumpstations/?page=3
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 3136,
    "next": "https://demo.lizard.net/api/v4/pumpstations/?page=4",
    "previous": "https://demo.lizard.net/api/v4/pumpstations/?page=2",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4657/",
            "id": 4657,
            "code": "0_590342",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.811547624399292,
                    52.65408435820192,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:06.262248Z",
            "created": "2014-10-06T15:37:14.182024Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 13.3,
            "start_level": -5.56,
            "stop_level": -5.86,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4658/",
            "id": 4658,
            "code": "0_664683",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.8409605549431,
                    52.65222073488683,
                    0.0
                ]
            },
            "last_modified": "2019-06-25T07:27:05.556049Z",
            "created": "2014-10-06T15:37:14.198703Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 2.8,
            "start_level": -3.2,
            "stop_level": -3.45,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4659/",
            "id": 4659,
            "code": "0_810164",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.850448558524608,
                    52.693456433476825,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:03.564193Z",
            "created": "2014-10-06T15:37:14.215420Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 15.0,
            "start_level": -5.3,
            "stop_level": -5.6,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4660/",
            "id": 4660,
            "code": "0_810198",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.851562227427543,
                    52.70050462018054,
                    0.0
                ]
            },
            "last_modified": "2019-06-25T07:27:05.556049Z",
            "created": "2014-10-06T15:37:14.233291Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 2,
            "allowed_flow_direction": null,
            "capacity": 2.8,
            "start_level": -3.3,
            "stop_level": -3.45,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4661/",
            "id": 4661,
            "code": "0_810200",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.850207018930458,
                    52.697364722726135,
                    0.0
                ]
            },
            "last_modified": "2019-06-25T07:27:05.556049Z",
            "created": "2014-10-06T15:37:14.250120Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 2,
            "allowed_flow_direction": null,
            "capacity": 0.4,
            "start_level": -3.2,
            "stop_level": -3.35,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4662/",
            "id": 4662,
            "code": "0_920050",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.812993836833768,
                    52.65028077670575,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:04.171662Z",
            "created": "2014-10-06T15:37:14.267010Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 11.1,
            "start_level": -3.37,
            "stop_level": -3.47,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4663/",
            "id": 4663,
            "code": "0_920054",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.813939196780927,
                    52.649629271425816,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:03.226354Z",
            "created": "2014-10-06T15:37:14.284434Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 11.1,
            "start_level": -3.32,
            "stop_level": -3.47,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4664/",
            "id": 4664,
            "code": "0_920058",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.814888914676193,
                    52.64898137447399,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:04.052308Z",
            "created": "2014-10-06T15:37:14.302987Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 11.1,
            "start_level": -3.37,
            "stop_level": -3.47,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4665/",
            "id": 4665,
            "code": "0_920064",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.816575195851427,
                    52.64782203947557,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:04.495090Z",
            "created": "2014-10-06T15:37:14.320518Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 11.1,
            "start_level": -3.37,
            "stop_level": -3.47,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumpstations/4666/",
            "id": 4666,
            "code": "0_920068",
            "organisation": {
                "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/",
                "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20",
                "name": "Dijk en Waard"
            },
            "geometry": {
                "type": "Point",
                "coordinates": [
                    4.817520426594773,
                    52.64717230250865,
                    0.0
                ]
            },
            "last_modified": "2020-02-23T12:47:04.281399Z",
            "created": "2014-10-06T15:37:14.338959Z",
            "image_url": "",
            "timeseries": [],
            "pumps": [],
            "type": "sewer",
            "name": "",
            "start_point": null,
            "end_point": null,
            "connection_serial": 1,
            "allowed_flow_direction": null,
            "capacity": 11.1,
            "start_level": -3.37,
            "stop_level": -3.47,
            "start_level_delivery_side": null,
            "stop_level_delivery_side": null
        }
    ]
}