POST
/
data
/
readings
curl --request POST \
  --url https://api-sandbox.axle.energy/data/readings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "readings": [
    {
      "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "start_timestamp": "2023-11-07T05:31:56Z",
      "end_timestamp": "2023-11-07T05:31:56Z",
      "value": 123,
      "label": "boundary_export_kw"
    }
  ]
}'
{
  "responses": [
    {
      "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "start_timestamp": "2023-11-07T05:31:56Z",
      "end_timestamp": "2023-11-07T05:31:56Z",
      "label": "boundary_export_kw",
      "accepted": true,
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Readings data for multiple assets.

Response

200
application/json

Successfully recorded readings with processing summary

Response model for a batch of readings submissions.