Pump List
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=7
https://demo.lizard.net/api/v4/pumps/?format=api&page=8", "previous": "https://demo.lizard.net/api/v4/pumps/?format=api&page=6", "results": [ { "url": "https://demo.lizard.net/api/v4/pumps/2716/?format=api", "id": 2716, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18133/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.6, "start_level": -2.0, "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-09-21T09:06:11.660756Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2717/?format=api", "id": 2717, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18134/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.8, "start_level": -2.15, "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-09-21T09:06:11.779101Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2718/?format=api", "id": 2718, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18135/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.44, "start_level": -0.84, "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-09-21T09:06:11.842558Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2719/?format=api", "id": 2719, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18136/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -2.75, "start_level": -2.85, "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-09-21T09:06:11.899943Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2720/?format=api", "id": 2720, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18137/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.44, "start_level": -0.84, "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-09-21T09:06:11.934493Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2721/?format=api", "id": 2721, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18138/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -2.13, "start_level": -2.53, "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-09-21T09:06:12.000771Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2722/?format=api", "id": 2722, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18139/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -2.7, "start_level": -2.8, "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-09-21T09:06:12.049919Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2723/?format=api", "id": 2723, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18140/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.75, "start_level": -2.1, "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-09-21T09:06:12.089553Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2724/?format=api", "id": 2724, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18141/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 0.26, "start_level": -0.14, "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-09-21T09:06:12.141103Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2725/?format=api", "id": 2725, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18142/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 2.7, "start_level": 1.95, "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-09-21T09:06:12.227866Z" } ] }{ "count": 258, "next": "