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/?format=api&page=6
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 258,
    "next": "https://demo.lizard.net/api/v4/pumps/?format=api&page=7",
    "previous": "https://demo.lizard.net/api/v4/pumps/?format=api&page=5",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1759/?format=api",
            "id": 1759,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11693/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.33,
            "start_level": -3.2,
            "stop_level": -3.7,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1760/?format=api",
            "id": 1760,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11694/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 36.67,
            "start_level": -1.72,
            "stop_level": -2.22,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1761/?format=api",
            "id": 1761,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11695/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 986.11,
            "start_level": -3.65,
            "stop_level": -4.45,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1762/?format=api",
            "id": 1762,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11695/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 1,
            "allowed_flow_direction": null,
            "capacity": 1416.67,
            "start_level": -3.45,
            "stop_level": -4.25,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1763/?format=api",
            "id": 1763,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11696/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 1152.78,
            "start_level": -3.2,
            "stop_level": -3.8,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1764/?format=api",
            "id": 1764,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11697/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 417.0,
            "start_level": -3.2,
            "stop_level": -4.0,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1765/?format=api",
            "id": 1765,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11697/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 1,
            "allowed_flow_direction": null,
            "capacity": 555.56,
            "start_level": -3.0,
            "stop_level": -3.8,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1766/?format=api",
            "id": 1766,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11698/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 222.22,
            "start_level": -4.65,
            "stop_level": -5.65,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1767/?format=api",
            "id": 1767,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11698/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 1,
            "allowed_flow_direction": null,
            "capacity": 333.33,
            "start_level": -4.5,
            "stop_level": -5.45,
            "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": "2015-06-19T09:47:29.345611Z"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1768/?format=api",
            "id": 1768,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11699/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 1708.33,
            "start_level": -3.4,
            "stop_level": -4.05,
            "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": "2015-06-19T09:47:29.345611Z"
        }
    ]
}