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

{
    "count": 258,
    "next": "https://demo.lizard.net/api/v4/pumps/?page=3",
    "previous": "https://demo.lizard.net/api/v4/pumps/",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1719/",
            "id": 1719,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11660/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": -1.54,
            "stop_level": -1.98,
            "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/1720/",
            "id": 1720,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11661/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -2.29,
            "stop_level": -2.69,
            "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/1721/",
            "id": 1721,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11662/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -0.93,
            "stop_level": -2.23,
            "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/1722/",
            "id": 1722,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11663/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -1.15,
            "stop_level": -2.27,
            "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/1723/",
            "id": 1723,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11664/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 18.06,
            "start_level": -0.82,
            "stop_level": -1.32,
            "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/1724/",
            "id": 1724,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11665/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 11.11,
            "start_level": -1.34,
            "stop_level": -2.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/1725/",
            "id": 1725,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11666/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 41.67,
            "start_level": -0.8,
            "stop_level": -1.3,
            "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/1726/",
            "id": 1726,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11667/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -0.02,
            "stop_level": -0.95,
            "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/1727/",
            "id": 1727,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11668/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -1.2,
            "stop_level": -1.6,
            "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/1728/",
            "id": 1728,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11669/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -1.2,
            "stop_level": -1.6,
            "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"
        }
    ]
}