Overview
An example of end-to-end scenario based on operation flow and user story
Excerpt |
---|
Operation flowsearchFlightsJorney → book (Flight) → reprice without PNR → reprice with PNR → demandTickets (ETK) User storyS7 Agent wants to buy one way flight from Moscow (DME) to Samara (KUF) for one adult traveler who is a participant of S7 Profi program. He chooses direct S7 flight. |
Scenario
The general process for buying a trip such as this is:
- Initial search for flight solutions: S7 Agent executes a searchFlightsJorney operation with itinerary criteria and passenger count.
- Book a reservation: S7 Agent executes a book operation with S7 Profi client details and itinerary info of chosen solution from search result
- Request for informative reservation pricing: S7 Agent executes a reprice operation with itinerary info and S7 Profi client codes of chosen solution
- Request for reservation pricing: S7 Agent executes a reprice operation with itinerary info and S7 Profi client codes of chosen solution
- Issue tickets for all passenger: S7 Agent executes a demandTickets operation with reservation reference, pricing details and S7 Profi client code
Table of contents:
Table of Contents
Info |
---|
S7 Profi is S7 Airlines programme for small and medium businesses. This programme, under which you can accumulate bonus points that can be exchanged for S7 Airlines award tickets, lets you book corporate flights for your company on favourable terms. |
Step 1: Initial search for flight solutions
S7 Agent executes a searchFlightsJorney operation with itinerary criteria and passenger count to receive solution for trip
- itinerary criteria - round trip flight from Moscow (DME) to Samara (KUF)
- passenger types count - 1ADT
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Received solutions include information for whole itinerary. Pricing also 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 S7 Profi client code and itinerary info of chosen solution from search results:
<DetailedFlightItem> block consists of journey information, where each slice is described by the <OriginDestination> element, and each segment in slice by the <Flight> element.
Each <OriginDestination> takes from appropriate AirShoppingRS
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/Envelope /Body /AirShoppingRS /DataLists /FlightSegmentList |
and <ClassOfService> (RBD) from
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/Envelope /Body /AirShoppingRS /OffersGroup /AirlineOffers /AirlineOffer /PricedOffer /OfferPrice /RequestedDate /Associations /ApplicableFlight /FlightSegmentReference /ClassOfService/Code |
S7 Profi client code - QYW1458
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Step 3: Request for informative reservation pricing
S7 Agent executes a informative reprice operation with itinerary info and Agent/Corporate and S7 Profi client codes of chosen solution.
All information must be taken from AirShoppingRS:
itinerary details (airport codes and dates for origin and departure, airline code and flight number);
Note <FlightItem> block must fill in like in OrderCreateRQ
- passenger types (PTC);
- fare details (RBD and fare code);
- S7 Profi client code are the same.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Step 4: Request for reservation pricing
S7 Agent executes a reprice operation with itinerary info and Agent/Corporate and S7 Profi client codes of chosen solution.
All information must be taken from AirShoppingRS:
itinerary details (airport codes and dates for origin and departure, airline code and flight number);
Note <FlightItem> block must fill in like in OrderCreateRQ
- passenger types (PTC);
- fare details (RBD and fare code);
- S7 Profi client code are the same.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Step 5: Issue tickets for all passenger
S7 Agent executes a demandTickets operation with reservation reference, pricing details and S7 Profi client code.
Add information about PNR from OrderViewRS
Code Block language xml theme Confluence title PNR information in OrderViewRS collapse true Envelope/Body/OrderViewRS/Response/Order/BookingReferences/BookingReference/ID
Fill in the form of payment as in example <*QYW1458>, where *QYW1458 - S7 Profi client code
Code Block language xml theme Confluence title FOP collapse true <Payments> <Payment> <Type> <Code>MS</Code> </Type> <Other> <Remarks> <Remark>*QYW1458</Remark> </Remarks> </Other> </Payment> </Payments>
- S7 Profi client code are the same.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|