-
Notifications
You must be signed in to change notification settings - Fork 41
Use cases PB
For the complete list of use cases, see Use cases.
The end-user has found a specific asset on the street (like a free parking spot, a bike, or shared car) or a route planner has returned all needed information to book an asset (like a tram line, bus, or train seat). This information is enough to book the asset directly.
Implementation
Type | object | remarks |
---|---|---|
Endpoint | POST /bookings/one-stop |
|
Process identifier | booking.ONE_STOP | |
Process identifier | booking.AUTO_COMMIT | don't use this one in case you want to provide a 2-phase booking, see PB3 |
As a TO, you want to be able to serve multiple options for a trip request. Like (PT case) serving a first-class or second-class ticket (or even day, week, or month tickets), (shared-car case) different types of cars, with or without insurance, etc.
Implementation
Type | object | remarks |
---|---|---|
Endpoint | POST /planning/offers |
provides the bookable options |
Endpoint | POST /bookings |
book one of the options |
Process identifier | booking.NORMAL | |
Process identifier | booking.AUTO_COMMIT | don't use this one in case you want to provide a 2-phase booking, see PB3 |
An MP or reseller often combines multiple legs together to establish one trip. Each part (legs) must be found and booked separately. In case one of the suppliers of the legs offers something, but during the booking process the offer is retracted, it cannot be confirmed. In that case, it might also be needed to roll back the other bookings. Therefore the default TOMP process provides a 2-phase booking. When you're not complying with it (and use 'AUTO_COMMIT'), the MP needs to CANCEL the booking, with possible financial consequences.
Implementation
Type | object | remarks |
---|---|---|
Endpoint | POST /bookings/{id}/events |
operation: COMMIT |
Introduction
- Roadmap
- Semantic versioning
- Use cases
- Changes per version
- Contribution
- Participants
Workflow
- Operator information
- Planning phase
- Booking phase
- Trip execution phase - start
- Trip execution phase - on route
- Trip execution phase - end
- Support
- Payment
Points of attention
- Modalities
- Specifying locations
- GDPR
Eco system
- Relations
Introduction
Scope of the TOMP-API
Versioning and releases
Process Flows
- Authentication
- Operator Information
- Privacy and Registration
- Planning Module
- Booking Module
- Trip Execution Module
- Payment Module
- Support Module
Meta-Information
Reference implementations
To-dos and risks
Technical Specifications
A1 List of terms and definitions
A2 Passenger characteristics dictionary
A3 APIs available on the transportation ecosystem
A4 Overview of the User stories
A5 Authors, Architects, collaborators and stakeholders involved
A6 Adoption and Implementation of the TOMP-API