Asset Event
Changed onSend notification of an event happening on an asset.
This endpoint allows reporting various events related to an asset, such as:
- Plug-in/plug-out events
- Updates to charging intent
- Charge now events
If a tariff is included, it must comply with the OSM opening hours standard (https://wiki.openstreetmap.org/wiki/Key:opening_hours) for off-peak times and have a valid timezone, or a 400 error will be returned.
Request
- Base URLhttps://api-sandbox.axle.energy
- URLhttps://api-sandbox.axle.energy/entities/asset/{asset_id}/event
- AuthOAuth 2PasswordToken URL: auth/token-form
Path parameters
Request body
Example request
{
"tariff": {
"off_peak_times": "Mo-Su 00:30-05:30",
"timezone": "Europe/London"
}
}Response
Event successfully processed
Changes
- breaking
added to the
request propertyallOflist - breaking
added to the
//request propertyallOflist - breaking
removed the enum value
charge_nowof the request property - breaking
removed the enum value
charge_now_deletedof the request property - breaking
removed the enum value
dual_rateof the request property// - breaking
removed the enum value
dynamicof the request property// - breaking
removed the enum value
intent_updateof the request property - breaking
removed the enum value
plug_inof the request property - breaking
removed the enum value
plug_outof the request property - breaking
removed the enum value
single_rateof the request property// - breaking
removed the enum value
smartof the request property// - breaking
removed the enum value
unknownof the request property// - breaking
the
request property type changed fromstringto no type - breaking
the
//request property type changed fromstringto no type - warning
removed the request property
//
- breaking