---
title: "Upsert a list of round trips / one-way of train schedules"
method: POST
path: "/round_trips"
tags: ["round_trips"]
---

# Upsert a list of round trips / one-way of train schedules

`POST /round_trips`

## Request body

- RoundTrips — Represents a collection of round trips and one-way
  - `one_ways` integer[] — List of one-way trains
  - `round_trips` array[] — List of round trips, each represented by a tuple
    - integer[]

## Response `204`

Round trips were successfully upserted

---

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