Skip to main content
POST
/
entities
/
asset
/
{asset_id}
/
event
/
charge-now
Asset Charge Now Event
curl --request POST \
  --url https://api-sandbox.axle.energy/entities/asset/{asset_id}/event/charge-now \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "end_at": "2023-11-07T05:31:56Z"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

asset_id
string<uuid>
required

Body

application/json

Request model for a user's charge now request.

end_at
string<date-time>
required

End time for the charge now request.

Response

Charge now event successfully processed