Harvest Data Batch Write feature now available
We are pleased to introduce a new Batch Write feature for Soracom Harvest Data. This feature enables saving multiple time series data points to Harvest Data in a single operation, helping devices to reduce data transfer costs and battery consumption.
Usage
To use the Batch Write feature, your device should send JSON data containing an array of data points to Harvest Data. In the following example below, the array of data points is found in the data
attribute.
{ "data": [ { "value": 123, "time": "2025-03-26T12:34:56Z" }, { "value": 456, "time": "2025-03-27T12:34:56Z" }, { "value": 789, "time": "2025-03-28T12:34:56Z" } ] }
In addition, each data point should include an attribute that indicates the timestamp of the data in a supported format, such as ISO-8601. The Batch Write feature must be used in combination with the Harvest Data Timestamp Overwrite feature, which will use this attribute to save the data to the provided timestamp. In this example, the timestamps are found in the time
attribute of each data point.
Additional Information
For more details, please refer to the Batch Write documentation documentation.