---
title: "POST /train_schedules/project_path_op"
method: POST
path: "/train_schedules/project_path_op"
tags: ["train_schedule"]
---

# POST /train_schedules/project_path_op

`POST /train_schedules/project_path_op`

## Request body

- object
  - `electrical_profile_set_id` integer, nullable
  - `infra_id` integer, required
  - `operational_points_distances` integer[], required — Distances between operational points in mm
  - `operational_points_refs` union[], required
    - union
      - object
        - `operational_point` string, required — The object id of an operational point
        - `type` 'id', required
      - object
        - `country_code` string, required
        - `main_code` string, required — The operational point main code
        - `secondary_code` string, nullable — An optional secondary code to identify a more specific location
        - `type` 'domestic', required
      - object
        - `secondary_code` string, nullable — An optional secondary code to identify a more specific location
        - `type` 'uic', required
        - `uic` integer, required — The [UIC](https://en.wikipedia.org/wiki/List_of_UIC_country_codes) code of an operational point
  - `timetable_id` integer, required
  - `train_ids` integer[], required
  - `use_simulation` boolean, required

## Response `200`

Project train schedules on a list of operational points.

- object

---

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