Schedule by state of charge
Obtain an energy schedule based on the target state of charge previously submitted via the Submit a device state endpoint.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Path Parameters
Flatpeak device_id.
Body
Flatpeak location ID.
"loc_641b90b758fb8e6293716e40"
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
Response
Example response
Flatpeak schedule id.
"ssc_65ea3fb185c1541f247c251e"
Represents the object’s type.
"schedule_soc"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
true
Flatpeak device ID.
"dev_6563a6757360a6d6a628e839"
Flatpeak location ID.
"loc_641b90b758fb8e6293716e40"
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.
"GBP"
Time when this object was created, in UTC.
"2022-01-24T14:15:22Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"
This object that contains device schedules.

