Schedule by State of Charge
Generates a schedule to reach the target state of charge submitted via Submit a device state endpoint. This endpoint performs a calculation and has no side effects; it is safe to retry.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Body
Flatpeak Device ID.
"dev_63a6087272941ef077a8fd3e"
Number of hours into the future for which the schedule should be generated. Flatpeak may return a shorter schedule if sufficient data is unavailable. When omitted, the maximum available horizon is used.
24
Submit the current operational state of a device, such as BESS state of charge and power.
Response
Example response
Flatpeak device ID.
^[a-z]{2,4}_[A-Za-z0-9]+$"dev_6563a6757360a6d6a628e839"
Flatpeak location ID.
^[a-z]{2,4}_[A-Za-z0-9]+$"loc_641b90b758fb8e6293716e40"
Flatpeak schedule id.
^[a-z]{2,4}_[A-Za-z0-9]+$"ssc_65ea3fb185c1541f247c251e"
Object type.
schedule_soc "schedule_soc"
Flatpeak Account ID.
^[a-z]{2,4}_[A-Za-z0-9]+$"acc_661677911f2197045e6cf1b1"
Set to true if the object exists in live mode, otherwise false.
true
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
"Europe/London"
Currency code for cost of energy measure. Always returned in large currency units.
^[A-Z]{3}$"GBP"
Time when this object was created, in UTC.
"2022-01-24T14:15:22Z"
This object that contains device schedules.

