post

/v1/edge/logs/pump

https://platform.sitepro.com/v1/edge/logs/pump

Submit a pump log

Sample Request Body

{
  "sitePumpID": 123,
  "timestamp": "2024-01-01T00:00:00.000Z",
  "startTimestamp": "2023-12-31T23:00:00.000Z",
  "frequency": 60,
  "outputCurrent": 12.5,
  "outputVoltage": 230,
  "pressure": 150,
  "suctionPressure": 80,
  "vibrationLevel": 1.2,
  "igbtTemperature": 65,
  "capacitanceTemperature": 55,
  "autoEnabled": true,
  "fault": false,
  "underAlarm": false,
  "running": true,
  "active": true,
  "targetConcentration": 10,
  "actualConcentration": 9,
  "injectionRate": 5,
  "statusID": 2,
  "status": "Running"
}

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
sitePumpIDnumber123
Unique identifier of the site pump.
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 when the pump started. Cannot be in the future or after timestamp.
frequencynumber60
Output frequency of the pump drive.
outputCurrentnumber12.5
Output current (amps) of the pump drive.
outputVoltagenumber230
Output voltage of the pump drive.
pressurenumber150
Discharge pressure of the pump.
suctionPressurenumber80
Suction pressure of the pump.
vibrationLevelnumber1.2
Vibration level measured on the pump.
igbtTemperaturenumber65
IGBT temperature of the pump drive.
capacitanceTemperaturenumber55
Capacitor temperature of the pump drive.
autoEnabledbooleantrue
Whether the pump is in automatic mode. Defaults to false.
faultboolean 
Whether the pump is reporting a fault. Defaults to false.
underAlarmboolean 
Whether the pump is in an alarm state. Defaults to false.
runningbooleantrue
Whether the pump is running. Defaults to false.
activebooleantrue
Whether the pump is active. Defaults to true.
targetConcentrationnumber10
Target chemical concentration for an injection pump.
actualConcentrationnumber9
Actual chemical concentration for an injection pump.
injectionRatenumber5
Chemical injection rate of the pump.
statusIDnumber2
Status of the pump. (0, 1, 2, 3, 4, 5, 6, 7, 8)
statusstringRunning
Human-readable status text of the pump.