---
title: "Set links between a timetable and train schedule sets
If a link already exists, it is ignored
If a link exists and is not in the new list, it is removed"
method: POST
path: "/timetable/{id}/train_schedule_sets"
tags: ["timetable", "train_schedule_set"]
---

# Set links between a timetable and train schedule sets
If a link already exists, it is ignored
If a link exists and is not in the new list, it is removed

`POST /timetable/{id}/train_schedule_sets`

## Path parameters

- `id` integer, required

## Request body

- object
  - `train_schedule_set_ids` integer[], required

## Response `204`

The train schedule set has been linked to the timetable

---

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