---
title: "Batch update schedule"
method: POST
path: "/schedule"
tags: ["Schedule"]
---

# Batch update schedule

`POST /schedule`

Perform multiple event updates

## Request body

- ScheduleEvent[]
  - `id` integer
  - `state` EvseStateYaml, required — unresolved $ref
  - `time` string, time, required
  - `days` Day[], required

## Response `201`

item created

## Other responses

- `400` — invalid input, object invalid
- `409` — an existing item already exists

## Changes

- **2021-12-01** `b7f624b60e6f` — 4 breaking, 1 info
  - added the new required request property `items/days`
  - added the new required request property `items/state`
  - added the new required request property `items/time`
  - the `items/` request property type/format changed from ``/`` to `object`/``
  - …1 more
- **2021-09-11** `cd86727f8cf0` — 1 breaking, 4 warning
  - the `items/` request property type/format changed from `object`/`` to ``/``
  - removed the request property `items/days`
  - removed the request property `items/id`
  - removed the request property `items/state`
  - …1 more
- **2021-09-10** `a90b8cd42c79` — 1 breaking, 4 warning, 1 info
  - the request's body type/format changed from `object`/`` to `array`/``
  - removed the request property `days`
  - removed the request property `id`
  - removed the request property `state`
  - …2 more
- **2021-09-09** `91713dab157f` — 2 info
  - api tag `Schedule` added
  - api tag `schedule` removed
- **2021-09-09** `e80e5e4c5062` — 1 info
  - api tag `schedule` added

[Full history](https://skmtc.dev/openevse/apis/openevse-wifi-api/changes/schedule/post.md)

---

[API](https://skmtc.dev/openevse/apis/openevse-wifi-api.md) · [All operations](https://skmtc.dev/openevse/apis/openevse-wifi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openevse/openevse-wifi-api/revisions/0b557db566f3/schema)
