post
/v1/edge/logs/meter
https://platform.sitepro.com/v1/edge/logs/meter
Process a single meter log
Sample Request Body
{ "flowMeterID": 123, "timestamp": "2024-01-01T00:00:00.000Z", "startTimestamp": "2023-12-31T23:00:00.000Z", "totalVolume": 1000, "dayVolume": 100, "pressure": 50, "density": 0.85, "temperature": 21.5, "flowRate": 10, "actuatorStatus": 4, "actuatorPosition": 100, "statusTypeSource": 1, "currentFlowSensorConvertedUnitID": 5, "volumeUnitID": 3 }
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
| Name | Type | Example | Description |
|---|---|---|---|
| flowMeterID | number | 123 | Unique identifier of the site flow meter. |
| timestamp | string | 2024-01-01T00:00:00.000Z | ISO UTC timestamp of when the log was created. Future timestamps are rejected on single-log uploads. |
| startTimestamp | string | 2023-12-31T23:00:00.000Z | ISO UTC timestamp of the start of the measurement interval. Cannot be in the future or after timestamp. |
| totalVolume | number | 1000 | Cumulative (totalizer) volume recorded by the flow meter. |
| dayVolume | number | 100 | Volume accumulated by the flow meter during the current day. |
| pressure | number | 50 | Line pressure measured at the flow meter. |
| density | number | 0.85 | Density of the measured fluid. |
| temperature | number | 21.5 | Temperature of the measured fluid. |
| flowRate | number | 10 | Current flow rate per minute. |
| actuatorStatus | number | 4 | Status of the meter valve actuator (see ActuatorStatus). |
| actuatorPosition | number | 100 | Position of the meter valve actuator. |
| statusTypeSource | number | 1 | Status type source identifier. |
| currentFlowSensorConvertedUnitID | number | 5 | Unit identifier of the flow rate (current flow sensor converted unit). |
| volumeUnitID | number | 3 | Unit identifier of the volume values. |