You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Overview

An example of end-to-end scenario based on on operation flow and user story

Operation flow

book (Flight) → read (booking)

User story

S7 agent wants to book one way flight from Moscow (DME) to Samara (KUF) for one adult traveler. Then S7 agent wants to read reservation to get reservation details.

Scenario

The general process for book a trip and read reservation details such as this is:

  1. Book a reservation: S7 Agent executes a book operation with passenger details and itinerary info of chosen solution from search results;
  2. Read reservation details: S7 Agent executes a read operation itinerary info of reservation PNR.

Table of contents:

Before you can send a request to S7 Agent API, you must get an SSL certificate and configure your software.

Step 1: 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

(lightbulb) Segments (Flight) must be devided into slices (OriginDestination):

  • one OriginDestination for One Way trip;
  • two for Round Trip and more for MultiCity;
  • for Transfer Trip all segments included in one slice have to be pass in one OriginDestination;
  • for Transfer Trip segments with stopover between have to be divided into two OriginDestination.
OriginDestination information in AirShoppingRS
Envelope/Body/AirShoppingRS/DataLists/FlightSegmentList

and <ClassOfService> (RBD) from

RBD information in AirShoppingRS
Envelope/Body/AirShoppingRS/OffersGroup/AirlineOffers/AirlineOffer/PricedOffer/OfferPrice/RequestedDate/Associations/ApplicableFlight/FlightSegmentReference/ClassOfService/Code

Step 2: Read reservation details

S7 Agent executes a read operation itinerary info of reservation PNR.


  • No labels