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

# POST /work_schedules/project_path

`POST /work_schedules/project_path`

## Request body

- object
  - `path_track_ranges` CoreTrackRange[], required
    - `begin` integer, required — The beginning of the range in mm.
    - `direction` 'START_TO_STOP' | 'STOP_TO_START', required
    - `end` integer, required — The end of the range in mm.
    - `track_section` string, required — The track section identifier.
  - `work_schedule_group_id` integer, required

## Response `200`

Returns a list of work schedules whose track ranges intersect the given path

- object[]
  - `end_date_time` string, date-time, required — The date and time when the work schedule ends.
  - `path_position_ranges` Intersection[], required — a list of intervals `(a, b)` that represent the projections of the work schedule track ranges: - `a` is the distance from the beginning of the path to the beginning of the track range - `b` is the distance from the beginning of the path to the end of the track range
    - `end` integer, required — Distance of the end of the intersection relative to the beginning of the path
    - `start` integer, required — Distance of the beginning of the intersection relative to the beginning of the path
  - `start_date_time` string, date-time, required — The date and time when the work schedule takes effect.
  - `type` 'CATENARY' | 'TRACK', required — The type of the work schedule.

---

[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)
