List assets of type PumpedDrainageArea

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/pumpeddrainageareas/3542/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://demo.lizard.net/api/v4/pumpeddrainageareas/3542/?format=api",
    "id": 3542,
    "code": "220/0-5-7",
    "organisation": {
        "url": "https://demo.lizard.net/api/v4/organisations/83280e0e-2100-4a72-8f5f-78cc6abaedfb/?format=api",
        "uuid": "83280e0e-2100-4a72-8f5f-78cc6abaedfb",
        "name": "Almere"
    },
    "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
            [
                [
                    [
                        5.212750901617262,
                        52.38291608522795,
                        0.0
                    ],
                    [
                        5.211725504789325,
                        52.38544544281649,
                        0.0
                    ],
                    [
                        5.210818640528456,
                        52.3852844422878,
                        0.0
                    ],
                    [
                        5.210475705761827,
                        52.38539279518008,
                        0.0
                    ],
                    [
                        5.210462543878295,
                        52.385426223235065,
                        0.0
                    ],
                    [
                        5.210065239247591,
                        52.38643525797551,
                        0.0
                    ],
                    [
                        5.211197338565164,
                        52.38661170769191,
                        0.0
                    ],
                    [
                        5.210577989458034,
                        52.38809937789471,
                        0.0
                    ],
                    [
                        5.211782463856615,
                        52.388228568893574,
                        0.0
                    ],
                    [
                        5.214781983879088,
                        52.38873922662889,
                        0.0
                    ],
                    [
                        5.216458131131897,
                        52.38907779528438,
                        0.0
                    ],
                    [
                        5.217050268651787,
                        52.38892442352114,
                        0.0
                    ],
                    [
                        5.217464827659803,
                        52.388965264697596,
                        0.0
                    ],
                    [
                        5.217705721527925,
                        52.38896560946591,
                        0.0
                    ],
                    [
                        5.21829056867703,
                        52.38900953077575,
                        0.0
                    ],
                    [
                        5.21856582936327,
                        52.38901949451042,
                        0.0
                    ],
                    [
                        5.218729280150884,
                        52.38901972697521,
                        0.0
                    ],
                    [
                        5.218944491836297,
                        52.38898652712689,
                        0.0
                    ],
                    [
                        5.219943214122164,
                        52.388786880352285,
                        0.0
                    ],
                    [
                        5.220399589827715,
                        52.388677417080046,
                        0.0
                    ],
                    [
                        5.22080436260447,
                        52.38856309823126,
                        0.0
                    ],
                    [
                        5.221088533801346,
                        52.388491686348836,
                        0.0
                    ],
                    [
                        5.221906482109064,
                        52.388315703343835,
                        0.0
                    ],
                    [
                        5.223255097707403,
                        52.38804261149419,
                        0.0
                    ],
                    [
                        5.22375280641817,
                        52.38742715738994,
                        0.0
                    ],
                    [
                        5.223604035776401,
                        52.387355258420456,
                        0.0
                    ],
                    [
                        5.222980649808661,
                        52.38717152653354,
                        0.0
                    ],
                    [
                        5.222936490856295,
                        52.38712889130052,
                        0.0
                    ],
                    [
                        5.222912518343067,
                        52.38707733243366,
                        0.0
                    ],
                    [
                        5.22291266770343,
                        52.3870369965056,
                        0.0
                    ],
                    [
                        5.222919988521607,
                        52.38702553853695,
                        0.0
                    ],
                    [
                        5.222961290870916,
                        52.3869608943922,
                        0.0
                    ],
                    [
                        5.223209889083952,
                        52.38665428226492,
                        0.0
                    ],
                    [
                        5.223305965941854,
                        52.386535792951896,
                        0.0
                    ],
                    [
                        5.223398413590716,
                        52.38642176444428,
                        0.0
                    ],
                    [
                        5.223498425650298,
                        52.38639063135479,
                        0.0
                    ],
                    [
                        5.223491672771993,
                        52.386306734290855,
                        0.0
                    ],
                    [
                        5.223743740124538,
                        52.38599581947966,
                        0.0
                    ],
                    [
                        5.223218571046352,
                        52.38603847238161,
                        0.0
                    ],
                    [
                        5.220161923565791,
                        52.38517349389805,
                        0.0
                    ],
                    [
                        5.219462144102436,
                        52.383915188636145,
                        0.0
                    ],
                    [
                        5.219379546141146,
                        52.38360264616102,
                        0.0
                    ],
                    [
                        5.21921336962997,
                        52.38353703793746,
                        0.0
                    ],
                    [
                        5.212750901617262,
                        52.38291608522795,
                        0.0
                    ]
                ]
            ]
        ]
    },
    "last_modified": "2019-06-25T07:27:04.514015Z",
    "created": "2014-12-04T08:23:21.878240Z",
    "image_url": "",
    "timeseries": [],
    "name": "220/0-5-7",
    "sewer_system": null,
    "upstream_load": null,
    "connected_impervious_surface": null,
    "connected_impervious_surface_mixed": null,
    "connected_impervious_surface_rainwater": null,
    "population_equivalent": null,
    "pollution_equivalent": null,
    "water_consumption": null,
    "extraneous_water": null,
    "sanitary_load": null,
    "lowest_invert_level": null,
    "water_retention_capacity": null,
    "minimum_overflow_crest_level": null,
    "downstream_pumped_drainage_area": null,
    "pump_station": null,
    "area_type": "base",
    "inhabitants": null,
    "pump_overcapacity": null
}