v1

latestOpenAPI 3.1.02026-07-264793109.1 KB
4. Assets

Asset Tariff Update Event

Send 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
post/entities/asset/{asset_id}/event/tariff-update

Path parameters

asset_idstring uuid required

Request body

Response

Tariff update event successfully processed

{"stackTrail":"paths:/entities/asset/{asset_id}/event/tariff-update:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}