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

{
    "count": 258,
    "next": "https://demo.lizard.net/api/v4/pumps/?format=api&page=5",
    "previous": "https://demo.lizard.net/api/v4/pumps/?format=api&page=3",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1739/?format=api",
            "id": 1739,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11678/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 18.06,
            "start_level": 1.46,
            "stop_level": 0.94,
            "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/1740/?format=api",
            "id": 1740,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11679/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": 1.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/1741/?format=api",
            "id": 1741,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11680/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 18.06,
            "start_level": 0.76,
            "stop_level": 0.26,
            "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/1742/?format=api",
            "id": 1742,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11681/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.89,
            "start_level": 0.56,
            "stop_level": 0.26,
            "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/1743/?format=api",
            "id": 1743,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11682/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": 1.74,
            "stop_level": 1.1,
            "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/1744/?format=api",
            "id": 1744,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11683/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 22.22,
            "start_level": -0.4,
            "stop_level": -0.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"
        },
        {
            "url": "https://demo.lizard.net/api/v4/pumps/1745/?format=api",
            "id": 1745,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11684/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 12.5,
            "start_level": 1.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/1746/?format=api",
            "id": 1746,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11685/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.33,
            "start_level": 1.81,
            "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/1747/?format=api",
            "id": 1747,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11686/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.33,
            "start_level": 1.09,
            "stop_level": 0.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/1748/?format=api",
            "id": 1748,
            "timeseries": [],
            "pump_station": "https://demo.lizard.net/api/v4/pumpstations/11687/?format=api",
            "name": "",
            "code": "",
            "type": "",
            "serial": 0,
            "allowed_flow_direction": null,
            "capacity": 8.33,
            "start_level": 1.9,
            "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"
        }
    ]
}