v1
latestOpenAPI 3.1.02026-07-1342111193.6 KBSpark
Calculate Smart Charging Schedule
Provided details around charging duration and a prospective charging window, returns a charging schedule that minimizes costs for a particular UtilityAccount.
post/spark/charge_curve/schedule
Headers
Arcadia-Versionstring required
The Arcadia-Version for the request
Request body
Example request
{
"main_tariff_id": "gen_mtid_3331108",
"start_time": "2021-03-18T22:00:00-07:00",
"end_time": "2021-03-19T08:00:00-07:00",
"minutes_to_charge_complete": 330
}Response
Success
Example response
{
"start_time": "2021-03-18T22:00:00-07:00",
"charge_block_resolution": "1h",
"charge_block_active": {
"frequency": "1h"
}
}