Soracom · Example Payload

Soracom Harvest Data Example

IoTCellularLPWANSIMLoRaWANSigfoxMVNOConnectivityEdgeJapan

Soracom Harvest Data Example is an example object payload from Soracom, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.soracom.io/v1/data/Subscriber/440101234567890?from=1748073600000&to=1748160000000&limit=3",
    "headers": {
      "X-Soracom-API-Key": "api-XXXXX",
      "X-Soracom-Token": "eyJhbGciOiJIUzI1NiJ9..."
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": [
      {
        "resourceType": "Subscriber",
        "resourceId": "440101234567890",
        "operatorId": "OP0000000000",
        "time": 1748159995000,
        "contentType": "application/json",
        "content": {"temp_c": 22.4, "humidity": 47.1, "battery_v": 3.91}
      },
      {
        "resourceType": "Subscriber",
        "resourceId": "440101234567890",
        "operatorId": "OP0000000000",
        "time": 1748159695000,
        "contentType": "application/json",
        "content": {"temp_c": 22.3, "humidity": 47.3, "battery_v": 3.91}
      },
      {
        "resourceType": "Subscriber",
        "resourceId": "440101234567890",
        "operatorId": "OP0000000000",
        "time": 1748159395000,
        "contentType": "application/json",
        "content": {"temp_c": 22.2, "humidity": 47.5, "battery_v": 3.91}
      }
    ]
  }
}