v52

latestOpenAPI 3.1.0LGPLraw.githubusercontent.com2026-08-04157452441.5 KB
stdcm

This function computes a STDCM and returns the result.

It first checks user authorization, then retrieves timetable, infrastructure, train schedules, and rolling stock data, and runs train simulations. The result contains the simulation output based on the train schedules and infrastructure provided.

post/timetable/{id}/stdcm

Path parameters

idinteger required

timetable_id

Query parameters

infrainteger required

The infra id

Request body

allowed_track_sectionsstring[]

Set of authorized track section ids, empty means no restriction

comfort'STANDARD' | 'AIR_CONDITIONING' | 'HEATING' required
electrical_profile_set_idinteger nullable
marginstring nullable

Can be a percentage X%, a time in minutes per 100 kilometer Xmin/100km

maximum_departure_delayinteger nullable

By how long we can shift the departure time in milliseconds Deprecated, first step data should be used instead

maximum_run_timeinteger nullable

Specifies how long the total run time can be in milliseconds Deprecated, first step data should be used instead

start_timestring date-time nullable

Deprecated, first step arrival time should be used instead

temporary_speed_limit_group_idinteger nullable
time_gap_afterinteger

Margin after the train passage in milliseconds

Enforces that the path used by the train should be free and available at least that many milliseconds after its passage.

time_gap_beforeinteger

Margin before the train passage in seconds

Enforces that the path used by the train should be free and available at least that many milliseconds before its passage.

work_schedule_group_idinteger nullable

Response

The simulation result

OR