post

/v1/edge/logs/meter/batch

https://platform.sitepro.com/v1/edge/logs/meter/batch

Process a batch of flow meter logs

Sample Request Body

Request Example

[
  {
    "flowMeterID": 123,
    "timestamp": "2024-01-01T00:00:00.000Z",
    "startTimestamp": "2023-12-31T23:00:00.000Z",
    "totalVolume": 1000,
    "dayVolume": 100,
    "pressure": 50,
    "flowRate": 10
  }
]

Expected responses

{
  "description": "",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "result": {
            "type": "string",
            "description": "Human-readable summary of what was processed. This is generic across all reading types, and may be augmented with additional fields in the future.",
            "example": "Reading processed successfully."
          }
        },
        "required": [
          "result"
        ]
      }
    }
  }
}

Related schemas

NameTypeExampleDescription
flowMeterIDnumber123
Unique identifier of the site flow meter.
timestampstring2024-01-01T00:00:00.000Z
ISO UTC timestamp of when the log was created. Future timestamps are rejected on single-log uploads.
startTimestampstring2023-12-31T23:00:00.000Z
ISO UTC timestamp of the start of the measurement interval. Cannot be in the future or after timestamp.
totalVolumenumber1000
Cumulative (totalizer) volume recorded by the flow meter.
dayVolumenumber100
Volume accumulated by the flow meter during the current day.
pressurenumber50
Line pressure measured at the flow meter.
densitynumber0.85
Density of the measured fluid.
temperaturenumber21.5
Temperature of the measured fluid.
flowRatenumber10
Current flow rate per minute.
actuatorStatusnumber4
Status of the meter valve actuator (see ActuatorStatus).
actuatorPositionnumber100
Position of the meter valve actuator.
statusTypeSourcenumber1
Status type source identifier.
currentFlowSensorConvertedUnitIDnumber5
Unit identifier of the flow rate (current flow sensor converted unit).
volumeUnitIDnumber3
Unit identifier of the volume values.