Asset Plug In Event
Changed onSend notification of a car being plugged in.
Tariff, vehicle and intent information may be optionally provided. 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
- AuthOAuth 2PasswordToken URLauth/token-form
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"tariff": {
"off_peak_times": "Mo-Su 00:30-05:30",
"timezone": "Europe/London"
}
}Response
Plug-in event successfully processed
Changes
- warning
removed from the
request propertyallOflist - info
added the new optional request property
- info
added the new optional request property
- info
added to the
request propertyanyOflist
- warning
- breaking
added to the
//request propertyallOflist - breaking
removed the enum value
dual_rateof the request property// - breaking
removed the enum value
dynamicof 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 - warning
removed the request property
//
- breaking