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=3
https://demo.lizard.net/api/v4/pumps/?format=api&page=4", "previous": "https://demo.lizard.net/api/v4/pumps/?format=api&page=2", "results": [ { "url": "https://demo.lizard.net/api/v4/pumps/1729/?format=api", "id": 1729, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11670/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 8.89, "start_level": -2.24, "stop_level": -2.29, "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/1730/?format=api", "id": 1730, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11671/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 8.89, "start_level": -2.62, "stop_level": -3.83, "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/1731/?format=api", "id": 1731, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11672/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 8.89, "start_level": -2.2, "stop_level": -3.03, "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/1732/?format=api", "id": 1732, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11673/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 12.5, "start_level": -1.26, "stop_level": -1.41, "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/1733/?format=api", "id": 1733, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11674/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 16.67, "start_level": -0.5, "stop_level": -1.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/1734/?format=api", "id": 1734, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11675/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 8.89, "start_level": -0.98, "stop_level": -1.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/1735/?format=api", "id": 1735, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11676/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 20.83, "start_level": -1.8, "stop_level": -2.15, "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/1736/?format=api", "id": 1736, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11676/?format=api", "name": "", "code": "", "type": "", "serial": 1, "allowed_flow_direction": null, "capacity": 34.72, "start_level": -1.6, "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/1737/?format=api", "id": 1737, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11676/?format=api", "name": "", "code": "", "type": "", "serial": 2, "allowed_flow_direction": null, "capacity": 45.83, "start_level": -1.2, "stop_level": -1.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/1738/?format=api", "id": 1738, "timeseries": [], "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11677/?format=api", "name": "", "code": "", "type": "", "serial": 0, "allowed_flow_direction": null, "capacity": 388.89, "start_level": -2.4, "stop_level": -2.9, "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" } ] }{ "count": 258, "next": "