POST
/
entities
/
asset
/
{asset_id}
/
event
/
intent
curl --request POST \
  --url https://api-sandbox.axle.energy/entities/asset/{asset_id}/event/intent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "intent": {
    "energy_required_kwh": 123,
    "ready_by": "2023-11-07T05:31:56Z",
    "energy_estimated": true,
    "may_charge_peak": false
  }
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

asset_id
string
required

Body

application/json

This event should be triggered when the end user updates their charging preferences.

Response

200
application/json

Intent event successfully processed

The response is of type any.