train_schedule_exceptions
Update a train schedule exception
Changed onput/train_schedule_exception/{id}
Request
- Base URL: https://demo.osrd.fr/api
- URL: https://demo.osrd.fr/api/train_schedule_exception/{id}
- Auth: none declared
Path parameters
idinteger required
An exception ID
Request body
Example request
{
"change_groups": {
"path_and_schedule": {
"margins": {
"values": [
"5%",
"2min/100km"
]
},
"schedule": [
{
"arrival": "PT2H",
"reference_base_arrival": "PT2H",
"stop_for": "PT2H"
}
]
}
}
}Response
The train schedule exception has been updated
Changes
- breaking
added the new required request property
//// - warning
removed the request property
////
- breaking
- info
added the new optional request property
////
- info