latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Meters

List meters

Endpoint used to list meter resources

get/meters

Query parameters

cursorstring

Last pagination reference

limitinteger

max number of Meters returned

measurementType'MANUAL' | 'IOT_DEVICE' | 'AUTOMATED_SENSOR'

The measurement type of the meter to filter by

Example:MANUAL
assetsinteger[]

To filter by multiple asset IDs: assets=123&assets=456

expandstring[]

To expand multiple fields: expand=asset&expand=location

Headers

x-organization-idinteger

Required if using a multi organizations token

Response

Successfully fetched Meters list

nextCursorstring nullable required

The cursor to retrieve the next page of Meters.

nextPageUrlstring nullable required

Path with query parameters that can be used to retrieve the next page of Meters.

Example response

{
  "meters": [
    {
      "id": 123,
      "unit": "Celsius",
      "measurementType": "AUTOMATED_SENSOR",
      "asset": {
        "id": 963,
        "name": "Forklift",
        "description": "Forklift that is used to to move heavy equipments around the warehouse",
        "parentId": 852,
        "criticalityId": 150,
        "locationId": 852,
        "serialNumber": "000123ABC",
        "createdAt": "2022-01-01T00:00:00.000Z",
        "updatedAt": "2022-01-01T00:00:00.000Z",
        "creatorId": 851
      },
      "location": {
        "id": 963,
        "name": "Warehouses",
        "description": "The warehouse where we store the forklifts",
        "address": "1090 main street, Franklin",
        "parentId": 852,
        "createdAt": "2022-01-01T00:00:00.000Z",
        "updatedAt": "2022-01-01T00:00:00.000Z"
      },
      "lastReading": {
        "meterId": 53,
        "createdAt": "2022-01-01T00:00:00.000Z",
        "readingDate": "2022-01-01T00:00:00.000Z",
        "value": 120
      }
    }
  ]
}