Best practices of using S7 Agent API:
- Basic shopping scenario
with operation flow: searchFlightsJourney → book (Flight) → reprice without PNR → reprice with PNR → demandTickets (ETK)
divided into several user stories:
S7 agent wants to buy one way flight from Moscow (DME) to Samara (KUF) for one adult traveler. He chooses direct S7 flight. User Story: OW + 1xADT + Direct + S7 flight
S7 agent wants to buy round trip flight from Moscow (DME) to Novosibirsk (OVB) for a group of travelers (2 adults, 1 child and 1 infant on a lap). He chooses direct S7 flights.User Story: 2ADT+1CHD+1INF+Domestic+RT+Direct - 3D agreement scenario
with operation flow: searchFlightsJourney → book (Flight) → reprice without PNR → reprice with PNR → demandTickets (ETK)
User Story: S7 Agent wants to buy round trip flight from Munich (MUC) to Moscow (DME) for one adult traveler of their corporate client. He chooses direct S7 flight. Agent, client and S7 are already entered into 3D agreement.
Invalidation scenario
TKT void
with operation flow: searchFlightsJourney → book (Flight) → reprice without PNR → reprice with PNR → demandTickets (ETK) → voidTicket (ETK)
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 after ticketing that he messed up with a charged price and want to void ticket and issue it again. User Story: OW + 1xADT + Direct + S7 flight + TKT void
Booking cancelation
with operation flow: 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. User Story: OW + 1xADT + Direct + S7 flight + Booking cancelation