curl --request POST \
--url https://api.example.com/v1/homes/{id}/battery/estimate_savings \
--header 'Content-Type: application/json' \
--header 'x-ws-api-key: <api-key>' \
--data '
{
"days": 123,
"solarCapacity": 123,
"maxCapacityKiloWattHours": 123,
"chargingPowerKiloWatts": 123,
"dischargingPowerKiloWatts": 123,
"chargingEfficiency": 123,
"dischargingEfficiency": 123,
"currentSOC": 123,
"minPreferredSOC": 123,
"maxPreferredSOC": 123,
"months": [
123
],
"dispatchHoursPerDay": [
[
{
"hour": 123,
"price": 123
}
]
],
"numBiddingHours": 123,
"leap": "CAISO"
}
'