Skip to main content
POST
Post Battery Control Schedule

Authorizations

x-api-key
string
header
required

API Key authentication. Enter your API key in the format: YOUR_API_KEY

Body

application/json
device_id
string
required

Battery device ID the schedule applies to.

schedules
BatteryScheduleEntry · object[]
required

Schedule entries for the battery. Replaces any schedule previously sent for it.

Response

All schedules accepted successfully

meta
DevicesBatteryScheduleMeta · object
required
rejected
DevicesBatteryScheduleRejected · object[]

Devices for which the schedule could not be applied.