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
| Name | Type | Example | Description |
|---|---|---|---|
| sitePumpID | number | 123 | Unique identifier of the site pump. |
| 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 when the pump started. Cannot be in the future or after timestamp. |
| frequency | number | 60 | Output frequency of the pump drive. |
| outputCurrent | number | 12.5 | Output current (amps) of the pump drive. |
| outputVoltage | number | 230 | Output voltage of the pump drive. |
| pressure | number | 150 | Discharge pressure of the pump. |
| suctionPressure | number | 80 | Suction pressure of the pump. |
| vibrationLevel | number | 1.2 | Vibration level measured on the pump. |
| igbtTemperature | number | 65 | IGBT temperature of the pump drive. |
| capacitanceTemperature | number | 55 | Capacitor temperature of the pump drive. |
| autoEnabled | boolean | true | Whether the pump is in automatic mode. Defaults to false. |
| fault | boolean | Â | Whether the pump is reporting a fault. Defaults to false. |
| underAlarm | boolean | Â | Whether the pump is in an alarm state. Defaults to false. |
| running | boolean | true | Whether the pump is running. Defaults to false. |
| active | boolean | true | Whether the pump is active. Defaults to true. |
| targetConcentration | number | 10 | Target chemical concentration for an injection pump. |
| actualConcentration | number | 9 | Actual chemical concentration for an injection pump. |
| injectionRate | number | 5 | Chemical injection rate of the pump. |
| statusID | number | 2 | Status of the pump. (0, 1, 2, 3, 4, 5, 6, 7, 8) |
| status | string | Running | Human-readable status text of the pump. |