The booking service is responsible for managing the booking and check-in process. This service processes a booking request from a client and creates a corresponding PNR for the request, as well as verifying the data integrity of the request before adding the PNR to to database.
The booking service is not responsible for the ticketing process, and only adds it to the ticketing queue to be ticketed when available. It also queues emails to clients for corresponding actions.
Link | Method | Endpoint | Description | Login Required |
---|---|---|---|---|
🔗 | POST |
/booking |
Create booking | ❌ |
🔗 | GET |
/booking/{pnrId} |
Find booking | ✔️ |
🔗 | PUT |
/booking/{pnrId} |
Update booking | ✔️ |
🔗 | POST |
/booking/{pnrId}/cancel |
Cancel booking | ✔️ |
🔗 | POST |
/booking/{pnrId}/checkIn |
Check in | ✔️ |