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/6486/?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/6486/?format=api",
    "id": 6486,
    "code": "PL_249",
    "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.875587633069943,
                53.15832320188865,
                0.0
            ],
            [
                4.875602988452858,
                53.158324327724486,
                0.0
            ],
            [
                4.876009876071775,
                53.15835419747118,
                0.0
            ],
            [
                4.876027083710071,
                53.15835545694971,
                0.0
            ],
            [
                4.876051909255398,
                53.15835727905988,
                0.0
            ],
            [
                4.876064642911207,
                53.15835886991394,
                0.0
            ],
            [
                4.8760782293609,
                53.15837561458185,
                0.0
            ],
            [
                4.876015842901968,
                53.158658170025696,
                0.0
            ],
            [
                4.875936726551586,
                53.15897237422115,
                0.0
            ],
            [
                4.875884233489385,
                53.159180353056534,
                0.0
            ],
            [
                4.875825414186927,
                53.1594239428417,
                0.0
            ],
            [
                4.875817842982835,
                53.15944980783525,
                0.0
            ],
            [
                4.875810707967159,
                53.15947418303382,
                0.0
            ],
            [
                4.875804241761375,
                53.15949762655301,
                0.0
            ],
            [
                4.875786997858373,
                53.15954626542174,
                0.0
            ],
            [
                4.875742648343293,
                53.15967345099638,
                0.0
            ],
            [
                4.875698309902905,
                53.15981993824288,
                0.0
            ],
            [
                4.875598213207716,
                53.16021771105879,
                0.0
            ],
            [
                4.875508980968563,
                53.16064485097964,
                0.0
            ],
            [
                4.875459397405677,
                53.16082387151167,
                0.0
            ],
            [
                4.875403356267666,
                53.161096407314254,
                0.0
            ],
            [
                4.875394912881918,
                53.16113530703705,
                0.0
            ],
            [
                4.875388525907081,
                53.16116086253918,
                0.0
            ],
            [
                4.875385010703113,
                53.161174928388725,
                0.0
            ],
            [
                4.875374496782576,
                53.161216973312065,
                0.0
            ],
            [
                4.87537071446323,
                53.161232134296576,
                0.0
            ],
            [
                4.875365237783805,
                53.16125403643451,
                0.0
            ],
            [
                4.875362515358332,
                53.16127566277826,
                0.0
            ],
            [
                4.875303201466694,
                53.161523922699416,
                0.0
            ],
            [
                4.875209163738283,
                53.16190049624749,
                0.0
            ],
            [
                4.875118944958899,
                53.16227133503475,
                0.0
            ],
            [
                4.875041525395309,
                53.162616690552824,
                0.0
            ],
            [
                4.875005728241171,
                53.16276744623315,
                0.0
            ],
            [
                4.875004441399177,
                53.162772589635786,
                0.0
            ],
            [
                4.875000990309363,
                53.16278626934939,
                0.0
            ],
            [
                4.874996816844817,
                53.16280287536847,
                0.0
            ],
            [
                4.874994181015567,
                53.16281335959703,
                0.0
            ],
            [
                4.874991874557662,
                53.16282254228237,
                0.0
            ],
            [
                4.874915492470119,
                53.16314068392659,
                0.0
            ],
            [
                4.874848142959437,
                53.16341939818668,
                0.0
            ],
            [
                4.874838135313209,
                53.16346279307726,
                0.0
            ],
            [
                4.874830224010598,
                53.16349707627544,
                0.0
            ],
            [
                4.874823037217531,
                53.163528253460726,
                0.0
            ],
            [
                4.874821619311444,
                53.16353183276113,
                0.0
            ],
            [
                4.874816737952979,
                53.163534956958884,
                0.0
            ],
            [
                4.874811834237198,
                53.16353744306498,
                0.0
            ],
            [
                4.874802843444835,
                53.16354036998963,
                0.0
            ],
            [
                4.874788945598456,
                53.16353974450782,
                0.0
            ],
            [
                4.874756432403535,
                53.163536613311585,
                0.0
            ],
            [
                4.874721792576983,
                53.163532511533184,
                0.0
            ],
            [
                4.874443447686311,
                53.16350857871698,
                0.0
            ],
            [
                4.874271563798201,
                53.16349445485605,
                0.0
            ],
            [
                4.874222526353159,
                53.16349027338975,
                0.0
            ],
            [
                4.87420309369613,
                53.163488608766095,
                0.0
            ]
        ]
    },
    "last_modified": "2019-06-25T07:26:58.971073Z",
    "created": "2014-10-22T10:29:04.026462Z",
    "image_url": "",
    "length": null,
    "name": "",
    "type": "transport",
    "material": "",
    "diameter": null,
    "shape": "",
    "year_of_construction": null
}