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=8
https://demo.lizard.net/api/v4/pumps/?format=api&page=9", "previous": "https://demo.lizard.net/api/v4/pumps/?format=api&page=7", "results": [ { "url": "https://demo.lizard.net/api/v4/pumps/2726/?format=api", "id": 2726, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18143/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 3.8, "start_level": 3.4, "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.362527Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2727/?format=api", "id": 2727, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18144/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.0, "start_level": -1.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.404919Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2728/?format=api", "id": 2728, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18145/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.4, "start_level": -0.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.440008Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2729/?format=api", "id": 2729, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18146/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.08, "start_level": -1.48, "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.474401Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2730/?format=api", "id": 2730, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18147/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -3.3, "start_level": -4.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:12.529201Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2731/?format=api", "id": 2731, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18148/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.4, "start_level": -0.5, "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.565974Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2732/?format=api", "id": 2732, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18149/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.7, "start_level": -0.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.607786Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2733/?format=api", "id": 2733, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18150/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -1.1, "start_level": -1.2, "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.641668Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2734/?format=api", "id": 2734, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18151/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -2.0, "start_level": -2.4, "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.717183Z" }, { "url": "https://demo.lizard.net/api/v4/pumps/2735/?format=api", "id": 2735, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/18152/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": -0.8, "start_level": -1.2, "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.766241Z" } ] }{ "count": 258, "next": "