Copy a route into another run

Copies the bus, driver, stops, and route settings from a source route into the selected target route. An optional trip date also creates the corresponding dated trip.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

batch_idintegerRequired>=1
Academic year identifier
run_setup_idintegerRequired>=1
Target bus run setup identifier

Request

This endpoint expects an object.
source_run_setup_idintegerRequired>=1
source_route_idintegerRequired>=1
target_route_idintegerRequired>=1
trip_datedate or nullOptional

Response

Route copied and the target management refreshed.
statusstring
messagestring
datamap from strings to any

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error