Overview
An example of end-to-end scenario based on on operation flow and user story searchFlightsJourney → book (Flight) → cancelBooking S7 Agent wants to buy one way flight from Moscow (DME) to Samara (KUF) for one adult traveler. He chooses direct S7 flight. Agent realised before ticketing that he can't proceed a payment from the passenger and want to cancel reservation.Operation flow
User story
Scenario
The general process for buying a trip such as this is:
- Initial search for flight solutions: S7 Agent executes a searchFlightsJourney operation with itinerary criteria and passenger types count;
- Book a reservation: S7 Agent executes a book operation with passenger details and itinerary info of chosen solution from search results;
- Cancel reservation: S7 Agent executes a cancelBooking operation with reservation reference.
Table of contents:
Step 1: Initial search for flight solutions
S7 Agent executes a searchFlightsJourney operation with itinerary criteria and passenger types count
Received solutions divided by fare family and mostly includes 4 sub solutions (Basic Economy, Flex Economy, Basic Business, Flex Business) for each itinerary solution.
Step 2: Book a reservation
S7 Agent executes a book operation with passenger details and itinerary info of chosen solution from search results.
<DetailedFlightItem> block consists of journey information, where each slice is described by the <OriginDestination> element.
<OriginDestination> block takes from appropriate AirShoppingRS
and <ClassOfService> (RBD) from
Step 3: Cancel reservation
S7 Agent executes a cancelBooking operation with reservation reference.
- Add information about PNR from OrderViewRS