List assets of type Pump

Query parameters:

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.

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: by-organisation

Filter assets by organisation UUID. Pagination is enabled.

Examples:

?code=ABC_2123

?code__startswith=ABC

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

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

/by-organisation/61f5a464-c350-44c1-9bc7-d4b42d7f58cb/
GET /api/v4/pumps/3141/?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/pumps/3141/?format=api",
    "id": 3141,
    "timeseries": [
        "https://demo.lizard.net/api/v4/timeseries/c356fb95-f2d0-447e-83ff-302374c9e6a7/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/68493044-92d4-4acb-a8ec-c7bc3ed439db/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/921bc705-b89c-405e-bdf4-86212aa37701/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/2edd0d21-39c8-4f0a-abbe-6204b4842cef/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/72870ab0-c3bd-48e0-993d-4c81b032756c/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/9cd76f26-9c43-4400-8310-c9849609ee02/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/47627c3e-d642-4890-bfb8-2ac97ee46025/?format=api",
        "https://demo.lizard.net/api/v4/timeseries/c4e631ba-0cff-4267-9505-6cbe51b3e38f/?format=api"
    ],
    "pump_station": "https://demo.lizard.net/api/v4/pumpstations/20238/?format=api",
    "name": "SMIDSDIJK_1006_pompvijzel1",
    "code": "KW100611",
    "type": "pompvijzel",
    "serial": 1,
    "allowed_flow_direction": null,
    "capacity": null,
    "start_level": null,
    "stop_level": null,
    "start_level_delivery_side": null,
    "stop_level_delivery_side": null,
    "reduction_factor_no_levels": null,
    "reduction_factor": null,
    "characteristics": null,
    "last_modified": "2019-06-25T07:27:04.132452Z",
    "created": "2016-12-23T08:03:27.615531Z"
}