post

/v1/edge/logs/tank/batch

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

Submit a batch of tank logs

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

NameTypeExampleDescription
entryTankLevelnumber4000
Total fluid level on the entry side of the tank group. Defaults to 0.
exitTankLevelnumber3500
Total fluid level on the exit side of the tank group. Defaults to 0.
totalVolumenumber5000
Total fluid volume in the tank group. Defaults to 0.
siteTankGroupIDnumber456
Unique identifier of the site tank group.
entryWaterLevelnumber1200
Water level on the entry side of the tank group.
exitWaterLevelnumber1000
Water level on the exit side of the tank group.
exitIsPressureboolean 
Whether the exit side is measured by pressure. Defaults to false.
entryIsPressureboolean 
Whether the entry side is measured by pressure. Defaults to false.
entryPressurenumber12.5
Pressure on the entry side of the tank group. Defaults to 0.
exitPressurenumber11.8
Pressure on the exit side of the tank group. Takes precedence over entryPressure as the current tank pressure.
actuatorStatusnumber4
Status of the tank group actuator (see ActuatorStatus). Defaults to 0.
timestampstring2025-04-16T10:00:00.000Z
ISO UTC timestamp of when the log was created.
capacityUnitIDnumber7
Unit identifier of the tank capacity.
entryVolumenumber2600
Fluid volume on the entry side of the tank group.
exitVolumenumber2400
Fluid volume on the exit side of the tank group.