---
title: "Creates the schedule."
method: POST
path: "/api/schedule"
tags: ["IoT Schedule"]
---

# Creates the schedule.

`POST /api/schedule`

## Request body

- ScheduleDto
  - `id` string, nullable — The level auto ID.
  - `start` string, nullable — The schedule friendly name.
  - `end` string, nullable — Where schedule is.
  - `commandId` string, nullable — The planning associat with the schedule.
  - `planningId` string, nullable — The planning associat with the schedule.

## Response `200`

OK

---

[API](https://skmtc.net/cgi-fr/apis/azure-iot-hub-portal-api.md) · [All operations](https://skmtc.net/cgi-fr/apis/azure-iot-hub-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cgi-fr/azure-iot-hub-portal-api/revisions/8f5ec4f45de1/schema)
