POST
/
data
/
reports
curl --request POST \
  --url https://api-sandbox.axle.energy/data/reports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "interval_start": "2023-11-07T05:31:56Z",
  "charger_consumption_data": [
    {
      "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "energy": 123
    }
  ]
}'
{
  "charger_consumption_data_response": [
    {
      "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "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

Report containing energy consumption data for multiple assets.

Response

200
application/json
Successfully recorded data with processing summary

Response for a data report submission.