post
/v1/edge/logs/tank
https://platform.sitepro.com/v1/edge/logs/tank
Submit a tank log
Sample Request Body
{ "entryTankLevel": 4000, "exitTankLevel": 3500, "totalVolume": 5000, "siteTankGroupID": 456, "entryWaterLevel": 1200, "exitWaterLevel": 1000, "exitIsPressure": false, "entryIsPressure": false, "entryPressure": 12.5, "exitPressure": 11.8, "actuatorStatus": 4, "timestamp": "2025-04-16T10:00:00.000Z", "capacityUnitID": 7, "entryVolume": 2600, "exitVolume": 2400 }
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 |
|---|---|---|---|
| entryTankLevel | number | 4000 | Total fluid level on the entry side of the tank group. Defaults to 0. |
| exitTankLevel | number | 3500 | Total fluid level on the exit side of the tank group. Defaults to 0. |
| totalVolume | number | 5000 | Total fluid volume in the tank group. Defaults to 0. |
| siteTankGroupID | number | 456 | Unique identifier of the site tank group. |
| entryWaterLevel | number | 1200 | Water level on the entry side of the tank group. |
| exitWaterLevel | number | 1000 | Water level on the exit side of the tank group. |
| exitIsPressure | boolean | Â | Whether the exit side is measured by pressure. Defaults to false. |
| entryIsPressure | boolean | Â | Whether the entry side is measured by pressure. Defaults to false. |
| entryPressure | number | 12.5 | Pressure on the entry side of the tank group. Defaults to 0. |
| exitPressure | number | 11.8 | Pressure on the exit side of the tank group. Takes precedence over entryPressure as the current tank pressure. |
| actuatorStatus | number | 4 | Status of the tank group actuator (see ActuatorStatus). Defaults to 0. |
| timestamp | string | 2025-04-16T10:00:00.000Z | ISO UTC timestamp of when the log was created. |
| capacityUnitID | number | 7 | Unit identifier of the tank capacity. |
| entryVolume | number | 2600 | Fluid volume on the entry side of the tank group. |
| exitVolume | number | 2400 | Fluid volume on the exit side of the tank group. |