Asset Tariff Update Event
Changed onSend notification of a tariff update for an asset.
The off_peak_times field must comply with the OSM opening hours standard (https://wiki.openstreetmap.org/wiki/Key:opening_hours) and have a valid timezone, or a 400 error will be returned.
The same off-peak times apply every day, day-of-week selectors are not supported. Use , to separate multiple time ranges. Common examples:
- Same-day off-peak (e.g. midnight to 7am): 00:00-07:00
- Overnight off-peak (e.g. 11:30pm to 5:30am): 00:00-05:30, 23:30-24:00
Request
- Base URLhttps://api-sandbox.axle.energy
- URLhttps://api-sandbox.axle.energy/entities/asset/{asset_id}/event/tariff-update
- 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
Tariff update event successfully processed
Changes
- 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
- breaking