Preview Trip Schedule
Previews the trips a schedule would materialize.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.
Body
Preview trip schedule payload
Route identifier
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3c"
Vehicle identifier
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3d"
Driver identifier
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3e"
Trip schedule name
"São Paulo to Campinas daily morning"
Trip schedule frequency
DAILY, WEEKLY, MONTHLY "DAILY"
First scheduled departure
"2026-04-15T08:00:00.000Z"
Trip schedule stops
2Trip schedule itineraries
1Frequency interval
x > 01
Optional recurrence end
"2026-12-31T23:59:59.000Z"
Response
OK
Materialization status of a candidate trip
MATERIALIZABLE, CONFLICT, DUPLICATE "MATERIALIZABLE"
Conflict reason when not materializable
"Driver already booked in this period"
Departure time
"2026-04-15T08:00:00.000Z"
Estimated arrival time
"2026-04-15T14:00:00.000Z"