List assets of type PressurePipe

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/pressurepipes/6552/?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/pressurepipes/6552/?format=api",
    "id": 6552,
    "code": "PL_315",
    "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"
    },
    "geometry": {
        "type": "LineString",
        "coordinates": [
            [
                4.827169800697251,
                52.64469587097703,
                0.0
            ],
            [
                4.827155397349085,
                52.64469103094013,
                0.0
            ],
            [
                4.827137685007853,
                52.644686139368716,
                0.0
            ],
            [
                4.827115820604891,
                52.64468010483875,
                0.0
            ],
            [
                4.827083587872121,
                52.64466912344289,
                0.0
            ],
            [
                4.827022874234967,
                52.64464840954505,
                0.0
            ],
            [
                4.8269034529838,
                52.644604942024024,
                0.0
            ],
            [
                4.826891147692425,
                52.64460474923821,
                0.0
            ],
            [
                4.826877217569395,
                52.6446045218337,
                0.0
            ],
            [
                4.826854561149696,
                52.64461079599582,
                0.0
            ],
            [
                4.826853055895832,
                52.64461181344455,
                0.0
            ],
            [
                4.826794469822113,
                52.64465144056848,
                0.0
            ],
            [
                4.826765124692018,
                52.64467128083568,
                0.0
            ],
            [
                4.826575833169666,
                52.64479931007731,
                0.0
            ],
            [
                4.826497484188008,
                52.64485230671908,
                0.0
            ],
            [
                4.826464532001531,
                52.644874592399276,
                0.0
            ],
            [
                4.826160155255931,
                52.645083601212384,
                0.0
            ],
            [
                4.825831070467824,
                52.645311185999695,
                0.0
            ],
            [
                4.825814793322508,
                52.645322343168466,
                0.0
            ],
            [
                4.825380029859851,
                52.64562055252724,
                0.0
            ],
            [
                4.825322790200447,
                52.64565982579768,
                0.0
            ],
            [
                4.825258440474125,
                52.645703954482904,
                0.0
            ],
            [
                4.825140798999387,
                52.64578825571906,
                0.0
            ],
            [
                4.824641251007971,
                52.646131424713914,
                0.0
            ],
            [
                4.82459483147999,
                52.64616332538653,
                0.0
            ],
            [
                4.824189963596255,
                52.6464414416189,
                0.0
            ],
            [
                4.823757630057099,
                52.646740860825844,
                0.0
            ],
            [
                4.823696790792593,
                52.64678292026546,
                0.0
            ],
            [
                4.82364495601167,
                52.64681874028945,
                0.0
            ],
            [
                4.82306532999592,
                52.64721935580682,
                0.0
            ],
            [
                4.823012823194022,
                52.647255648688834,
                0.0
            ],
            [
                4.822917067390101,
                52.64732183448611,
                0.0
            ],
            [
                4.822900981415351,
                52.64733294722641,
                0.0
            ],
            [
                4.822901341658538,
                52.647363613271544,
                0.0
            ],
            [
                4.822903102065262,
                52.64751321361086,
                0.0
            ],
            [
                4.822903141958652,
                52.64751701538677,
                0.0
            ],
            [
                4.822904944228855,
                52.647670264723075,
                0.0
            ],
            [
                4.822877513642124,
                52.64768685075875,
                0.0
            ],
            [
                4.822865108831343,
                52.64769435013188,
                0.0
            ],
            [
                4.822857365129078,
                52.64769903166653,
                0.0
            ],
            [
                4.822856799054615,
                52.64769938846837,
                0.0
            ],
            [
                4.822851138540328,
                52.6477029385135,
                0.0
            ]
        ]
    },
    "last_modified": "2019-06-25T07:26:58.971073Z",
    "created": "2014-10-22T10:29:04.740789Z",
    "image_url": "",
    "length": null,
    "name": "",
    "type": "transport",
    "material": "",
    "diameter": null,
    "shape": "",
    "year_of_construction": null
}