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/
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=2",
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1709/",
            "id": 1709,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11651/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 1555.56,
            "start_level": -4.0,
            "stop_level": -4.5,
            "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/1710/",
            "id": 1710,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11652/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 138.89,
            "start_level": -1.1,
            "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/1711/",
            "id": 1711,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11652/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 1,
            "allowed_flow_direction": null,
            "capacity": 277.78,
            "start_level": -1.0,
            "stop_level": -1.5,
            "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/1712/",
            "id": 1712,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11653/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 16.67,
            "start_level": -3.56,
            "stop_level": -4.08,
            "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/1713/",
            "id": 1713,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11654/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -3.14,
            "stop_level": -3.61,
            "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/1714/",
            "id": 1714,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11655/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": -1.06,
            "stop_level": -1.42,
            "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/1715/",
            "id": 1715,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11656/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": -3.0,
            "stop_level": -3.4,
            "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/1716/",
            "id": 1716,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11657/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": -1.96,
            "stop_level": -2.49,
            "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/1717/",
            "id": 1717,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11658/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 16.67,
            "start_level": -1.88,
            "stop_level": -3.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/1718/",
            "id": 1718,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11659/",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": -1.47,
            "stop_level": -1.91,
            "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"
        }
    ]
}