---
title: "POST /work_schedules"
method: POST
path: "/work_schedules"
tags: ["work_schedules"]
---

# POST /work_schedules

`POST /work_schedules`

## Request body

- object — This structure is used by the post endpoint to create a work schedule
  - `work_schedule_group_name` string, required
  - `work_schedules` WorkScheduleItemForm[], required
    - `end_date_time` string, date-time, required
    - `obj_id` string, required
    - `start_date_time` string, date-time, required
    - `track_ranges` TrackRange[], required
      - `begin` number, double, required
      - `end` number, double, required
      - `track` string, required
    - `work_schedule_type` 'CATENARY' | 'TRACK', required

## Response `201`

The id of the created work schedule group

- object
  - `work_schedule_group_id` integer, required

---

[API](https://skmtc.net/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.net/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/versions/1840dbbd64ac/schema)
