- Created by Uliana Arefina on 22.11.2023
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
Overview
An example of end-to-end scenario based on on operation flow and user story
searchFlightsJourney → book (Flight) → Read → reprice without PNR → reprice with PNR → demandTickets (ETK) S7 Agent wants to buy one way flight from Sochi (AER) to Baku (GYD) for one adult traveler. He chooses Codeshare S7+J2 flight.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;
- Read a reservation: S7 Agent executes a read operation with S7 PNR locator number;
Request for informative reservation pricing: S7 Agent executes a reprice operation with itinerary info of chosen solution;
Request for reservation pricing: S7 Agent executes a reprice operation with itinerary info of chosen solution;
Issue tickets for all passenger: S7 Agent executes a demandTickets operation with reservation reference and pricing details.
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: Initial search for flight solutions
S7 Agent executes a searchFlightsJourney operation with itinerary criteria and passenger types count
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header/> <Body> <AirShoppingRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0"> <Document/> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Parameters> <CurrCodes> <CurrCode>RUB</CurrCode> </CurrCodes> </Parameters> <Travelers> <Traveler> <AnonymousTraveler> <PTC Quantity="1">ADT</PTC> </AnonymousTraveler> </Traveler> </Travelers> <CoreQuery> <OriginDestinations> <OriginDestination> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-09</Date> </Departure> <Arrival> <AirportCode>GYD</AirportCode> </Arrival> </OriginDestination> </OriginDestinations> </CoreQuery> </AirShoppingRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirShoppingRS Version="2.000"> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:AirShoppingProcessing/> <ns3:OffersGroup> <ns3:AirlineOffers> <ns3:Owner>S7</ns3:Owner> <ns3:AirlineOffer> <ns3:OfferID Owner="S7">OF1</ns3:OfferID> <ns3:TotalPrice> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">53350</ns3:SubTotal> <ns3:Application>Fare</ns3:Application> </ns3:Detail> <ns3:Detail> <ns3:SubTotal Code="EUR">550</ns3:SubTotal> <ns3:Application>Fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> </ns3:Taxes> </ns3:DetailCurrencyPrice> </ns3:TotalPrice> <ns3:Disclosure> <ns3:Description> <ns3:Text>STANDARD ECONOMY</ns3:Text> </ns3:Description> </ns3:Disclosure> <ns3:PricedOffer> <ns3:OfferPrice OfferItemID="OF1SL1"> <ns3:RequestedDate> <ns3:PriceDetail> <ns3:TotalAmount> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560</ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> </ns3:Taxes> </ns3:DetailCurrencyPrice> </ns3:TotalAmount> <ns3:BaseAmount Code="RUB">53350</ns3:BaseAmount> </ns3:PriceDetail> <ns3:Associations> <ns3:OtherAssociation> <ns3:OtherAssociation> <ns3:Type>SEG1 DME-GYD</ns3:Type> <ns3:ReferenceValue>Meal_S</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociation> </ns3:Associations> <ns3:Associations> <ns3:AssociatedTraveler> <ns3:TravelerReferences>SH1</ns3:TravelerReferences> </ns3:AssociatedTraveler> <ns3:ApplicableFlight> <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences> <ns3:FlightSegmentReference ref="SEG1"> <ns3:Cabin> <ns3:CabinDesignator>Y</ns3:CabinDesignator> <ns3:MarketingName>STANDARD ECONOMY</ns3:MarketingName> </ns3:Cabin> </ns3:FlightSegmentReference> <ns3:FlightSegmentReference ref="SEG1"> <ns3:ClassOfService> <ns3:Code SeatsLeft="4">Y</ns3:Code> <ns3:MarketingName>YSTOWCS</ns3:MarketingName> </ns3:ClassOfService> <ns3:BagDetailAssociation> <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences> <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences> </ns3:BagDetailAssociation> </ns3:FlightSegmentReference> </ns3:ApplicableFlight> <ns3:OtherAssociation> <ns3:OtherAssociation> <ns3:Type>YSTOWCS</ns3:Type> <ns3:ReferenceValue>PL1</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociation> </ns3:Associations> </ns3:RequestedDate> <ns3:FareDetail> <ns3:FareComponent refs="SH1" ObjectKey="FC1"> <ns3:Parameters Quantity="1"/> <ns3:PriceBreakdown> <ns3:Price> <ns3:BaseAmount Code="RUB">53350</ns3:BaseAmount> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">1461</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> <ns3:Description>Terminal Use Charge</ns3:Description> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">779</ns3:Amount> <ns3:TaxCode>UH</ns3:TaxCode> <ns3:Description>Surcharge</ns3:Description> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">970</ns3:Amount> <ns3:TaxCode>JL</ns3:TaxCode> <ns3:Description>Surcharge</ns3:Description> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> </ns3:Price> </ns3:PriceBreakdown> </ns3:FareComponent> </ns3:FareDetail> </ns3:OfferPrice> </ns3:PricedOffer> </ns3:AirlineOffer> <ns3:AirlineOffer> <ns3:OfferID Owner="S7">OF2</ns3:OfferID> <ns3:TotalPrice> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">81395</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">78185</ns3:SubTotal> <ns3:Application>Fare</ns3:Application> </ns3:Detail> <ns3:Detail> <ns3:SubTotal Code="EUR">806</ns3:SubTotal> <ns3:Application>Fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> </ns3:Taxes> </ns3:DetailCurrencyPrice> </ns3:TotalPrice> <ns3:Disclosure> <ns3:Description> <ns3:Text>STANDARD BUSINESS</ns3:Text> </ns3:Description> </ns3:Disclosure> <ns3:PricedOffer> <ns3:OfferPrice OfferItemID="OF2SL1"> <ns3:RequestedDate> <ns3:PriceDetail> <ns3:TotalAmount> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">81395</ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> </ns3:Taxes> </ns3:DetailCurrencyPrice> </ns3:TotalAmount> <ns3:BaseAmount Code="RUB">78185</ns3:BaseAmount> </ns3:PriceDetail> <ns3:Associations> <ns3:OtherAssociation> <ns3:OtherAssociation> <ns3:Type>SEG1 DME-GYD</ns3:Type> <ns3:ReferenceValue>Meal_H</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociation> </ns3:Associations> <ns3:Associations> <ns3:AssociatedTraveler> <ns3:TravelerReferences>SH1</ns3:TravelerReferences> </ns3:AssociatedTraveler> <ns3:ApplicableFlight> <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences> <ns3:FlightSegmentReference ref="SEG1"> <ns3:Cabin> <ns3:CabinDesignator>B</ns3:CabinDesignator> <ns3:MarketingName>STANDARD BUSINESS</ns3:MarketingName> </ns3:Cabin> </ns3:FlightSegmentReference> <ns3:FlightSegmentReference ref="SEG1"> <ns3:ClassOfService> <ns3:Code SeatsLeft="4">D</ns3:Code> <ns3:MarketingName>DSTOWCS</ns3:MarketingName> </ns3:ClassOfService> <ns3:BagDetailAssociation> <ns3:CheckedBagReferences>BG2</ns3:CheckedBagReferences> <ns3:CarryOnReferences>CO2</ns3:CarryOnReferences> </ns3:BagDetailAssociation> </ns3:FlightSegmentReference> </ns3:ApplicableFlight> <ns3:OtherAssociation> <ns3:OtherAssociation> <ns3:Type>DSTOWCS</ns3:Type> <ns3:ReferenceValue>PL1</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociation> </ns3:Associations> </ns3:RequestedDate> <ns3:FareDetail> <ns3:FareComponent refs="SH1" ObjectKey="FC2"> <ns3:Parameters Quantity="1"/> <ns3:PriceBreakdown> <ns3:Price> <ns3:BaseAmount Code="RUB">78185</ns3:BaseAmount> <ns3:Taxes> <ns3:Total Code="RUB">3210</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">1461</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> <ns3:Description>Terminal Use Charge</ns3:Description> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">779</ns3:Amount> <ns3:TaxCode>UH</ns3:TaxCode> <ns3:Description>Surcharge</ns3:Description> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">970</ns3:Amount> <ns3:TaxCode>JL</ns3:TaxCode> <ns3:Description>Surcharge</ns3:Description> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> </ns3:Price> </ns3:PriceBreakdown> </ns3:FareComponent> </ns3:FareDetail> </ns3:OfferPrice> </ns3:PricedOffer> </ns3:AirlineOffer> </ns3:AirlineOffers> </ns3:OffersGroup> <ns3:DataLists> <ns3:AnonymousTravelerList> <ns3:AnonymousTraveler ObjectKey="SH1"> <ns3:PTC Quantity="1">ADT</ns3:PTC> </ns3:AnonymousTraveler> </ns3:AnonymousTravelerList> <ns3:CarryOnAllowanceList> <ns3:CarryOnAllowance ListKey="CO1"> <ns3:AllowanceDescription> <ns3:ApplicableParty>Traveler</ns3:ApplicableParty> <ns3:Descriptions> <ns3:Description> <ns3:Text>10KG</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:AllowanceDescription> </ns3:CarryOnAllowance> <ns3:CarryOnAllowance ListKey="CO2"> <ns3:AllowanceDescription> <ns3:ApplicableParty>Traveler</ns3:ApplicableParty> <ns3:Descriptions> <ns3:Description> <ns3:Text>15KG</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:AllowanceDescription> </ns3:CarryOnAllowance> </ns3:CarryOnAllowanceList> <ns3:CheckedBagAllowanceList> <ns3:CheckedBagAllowance ListKey="BG1"> <ns3:AllowanceDescription> <ns3:ApplicableParty>Traveler</ns3:ApplicableParty> <ns3:ApplicableBag>1PC</ns3:ApplicableBag> <ns3:Descriptions> <ns3:Description> <ns3:Text>Whellchair</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Fishing Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Golf Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Skiing Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Bicycle</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Hockey Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Stroller/Pushchair</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Sporting Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>23 KG</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Up to 50 lb/23 kg</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Max Length Up to 79 in/200 cm</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:AllowanceDescription> </ns3:CheckedBagAllowance> <ns3:CheckedBagAllowance ListKey="BG2"> <ns3:AllowanceDescription> <ns3:ApplicableParty>Traveler</ns3:ApplicableParty> <ns3:ApplicableBag>1PC</ns3:ApplicableBag> <ns3:Descriptions> <ns3:Description> <ns3:Text>Whellchair</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Fishing Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Golf Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Skiing Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Bicycle</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Hockey Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Stroller/Pushchair</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Sporting Equipment</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>32 KG</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Up to 70 lb/32 kg</ns3:Text> </ns3:Description> <ns3:Description> <ns3:Text>Up to 80 li/203 lcm</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:AllowanceDescription> </ns3:CheckedBagAllowance> </ns3:CheckedBagAllowanceList> <ns3:FlightSegmentList> <ns3:FlightSegment SegmentKey="SEG1"> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> <ns3:Terminal> <ns3:Name>1</ns3:Name> </ns3:Terminal> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:Equipment refs="ML1"> <ns3:AircraftCode>320</ns3:AircraftCode> <ns3:AirlineEquipCode>Airbus A320</ns3:AirlineEquipCode> </ns3:Equipment> <ns3:FlightDetail> <ns3:FlightDistance> <ns3:Value>1198</ns3:Value> <ns3:UOM>Miles</ns3:UOM> </ns3:FlightDistance> <ns3:FlightDuration> <ns3:Value>PT3H10M</ns3:Value> </ns3:FlightDuration> </ns3:FlightDetail> </ns3:FlightSegment> </ns3:FlightSegmentList> <ns3:OriginDestinationList> <ns3:OriginDestination OriginDestinationKey="OD1"> <ns3:DepartureCode>DME</ns3:DepartureCode> <ns3:ArrivalCode>GYD</ns3:ArrivalCode> <ns3:FlightReferences>SEG1</ns3:FlightReferences> </ns3:OriginDestination> </ns3:OriginDestinationList> <ns3:MediaList> <ns3:Media ListKey="ML1"> <ns3:MediaLink>https://static.s7cdn.online/hermes/IBE/image_airplane/a320-neo.png</ns3:MediaLink> </ns3:Media> </ns3:MediaList> <ns3:PenaltyList> <ns3:Penalty ObjectKey="PL1"> <ns3:Details> <ns3:Detail> <ns3:Type>BEFORE-DEPARTURE</ns3:Type> <ns3:Application> <ns3:Code>changePenalty</ns3:Code> </ns3:Application> <ns3:Amounts> <ns3:Amount> <ns3:CurrencyAmountValue Code="EUR">45</ns3:CurrencyAmountValue> <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication> </ns3:Amount> <ns3:Amount> <ns3:CurrencyAmountValue Code="EUR">45</ns3:CurrencyAmountValue> <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication> </ns3:Amount> </ns3:Amounts> </ns3:Detail> <ns3:Detail> <ns3:Type>BEFORE-DEPARTURE</ns3:Type> <ns3:Application> <ns3:Code>cancellationAndRefundPenalty</ns3:Code> </ns3:Application> <ns3:Amounts> <ns3:Amount> <ns3:CurrencyAmountValue Code="EUR">55</ns3:CurrencyAmountValue> <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication> </ns3:Amount> <ns3:Amount> <ns3:CurrencyAmountValue Code="EUR">55</ns3:CurrencyAmountValue> <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication> </ns3:Amount> </ns3:Amounts> </ns3:Detail> </ns3:Details> </ns3:Penalty> </ns3:PenaltyList> <ns3:ServiceList> <ns3:Service ObjectKey="Meal_S"> <ns3:ServiceID Owner="Any">S</ns3:ServiceID> <ns3:Name>Meal</ns3:Name> <ns3:Descriptions> <ns3:Description> <ns3:Text>Snack</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:Service> <ns3:Service ObjectKey="Meal_H"> <ns3:ServiceID Owner="Any">H</ns3:ServiceID> <ns3:Name>Meal</ns3:Name> <ns3:Descriptions> <ns3:Description> <ns3:Text>Hot meal</ns3:Text> </ns3:Description> </ns3:Descriptions> </ns3:Service> </ns3:ServiceList> </ns3:DataLists> <ns3:Metadata> <ns3:Other> <ns3:OtherMetadata> <ns3:CurrencyMetadatas> <ns3:CurrencyMetadata MetadataKey="RUB"> <ns3:Application>Sale currency</ns3:Application> <ns3:Decimals>2</ns3:Decimals> </ns3:CurrencyMetadata> <ns3:CurrencyMetadata MetadataKey="EUR"> <ns3:Application>97.0</ns3:Application> <ns3:Decimals>2</ns3:Decimals> <ns3:Name>Conversion rate from EUR to RUB</ns3:Name> </ns3:CurrencyMetadata> </ns3:CurrencyMetadatas> </ns3:OtherMetadata> </ns3:Other> </ns3:Metadata> </ns3:AirShoppingRS> </ns2:Body> </ns2:Envelope>
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
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.
Envelope/Body/AirShoppingRS/DataLists/FlightSegmentList
and <ClassOfService> (RBD) from
Envelope/Body/AirShoppingRS/OffersGroup/AirlineOffers/AirlineOffer/PricedOffer/OfferPrice/RequestedDate/Associations/ApplicableFlight/FlightSegmentReference/ClassOfService/Code
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header/> <Body> <OrderCreateRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST"> <Document> <Name>1.0</Name> </Document> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Passengers> <Passenger ObjectKey="SH1"> <PTC>ADT</PTC> <Age> <BirthDate>1985-05-03</BirthDate> </Age> <Name> <Surname>Marko</Surname> <Given>Cain</Given> <Title>MR</Title> </Name> <Contacts> <Contact> <EmailContact> <Address>y.komarova@s7.ru</Address> </EmailContact> <PhoneContact> <Number CountryCode="7" AreaCode="926">3856999</Number> </PhoneContact> </Contact> </Contacts> <Gender>Male</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>1111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2013-10-22</DateOfIssue> <DateOfExpiration>2033-10-22</DateOfExpiration> <CountryOfResidence>RU</CountryOfResidence> </PassengerDocument> </PassengerIDInfo> </Passenger> </Passengers> <OrderItems> <ShoppingResponse> <Owner>S7</Owner> <ResponseID>UNKNOWN</ResponseID> <Offers> <Offer> <OfferID Owner="S7">UNKNOWN</OfferID> <OfferItems> <OfferItem> <OfferItemID Owner="S7">UNKNOWN</OfferItemID> <Passengers> <PassengerReference>SH1</PassengerReference> </Passengers> <ApplicableFlight> <FlightReferences>FL1</FlightReferences> </ApplicableFlight> </OfferItem> </OfferItems> </Offer> </Offers> </ShoppingResponse> <OfferItem> <OfferItemID Owner="S7">UNKNOWN</OfferItemID> <OfferItemType> <DetailedFlightItem> <OriginDestination> <Flight> <SegmentKey>FL1</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-09</Date> <Time>12:20</Time> </Departure> <Arrival> <AirportCode>GYD</AirportCode> <Date>2023-12-09</Date> <Time>16:30</Time> <Terminal> <Name>1</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>4101</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>J2</AirlineID> <FlightNumber>182</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>Y</Code> </ClassOfService> </Flight> </OriginDestination> </DetailedFlightItem> </OfferItemType> </OfferItem> </OrderItems> </Query> </OrderCreateRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:OrderViewRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:OrderViewProcessing/> <ns3:Passengers> <ns3:Passenger ObjectKey="SH4"> <ns3:PTC Quantity="1">ADT</ns3:PTC> <ns3:Age> <ns3:BirthDate>1985-05-03</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>MARKO</ns3:Surname> <ns3:Given>CAIN</ns3:Given> <ns3:Title>MR</ns3:Title> <ns3:Middle/> </ns3:Name> <ns3:Contacts> <ns3:Contact> <ns3:EmailContact> <ns3:Address>y.komarova@s7.ru</ns3:Address> </ns3:EmailContact> <ns3:PhoneContact> <ns3:Number CountryCode="7">9263856999</ns3:Number> </ns3:PhoneContact> </ns3:Contact> </ns3:Contacts> <ns3:Gender>Male</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>1111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2033-10-22</ns3:DateOfExpiration> <ns3:CountryOfResidence>RU</ns3:CountryOfResidence> </ns3:PassengerDocument> </ns3:PassengerIDInfo> </ns3:Passenger> </ns3:Passengers> <ns3:Order> <ns3:OrderID Owner="S7">1</ns3:OrderID> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>M2YMZ8</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:TimeLimits> <ns3:PaymentTimeLimit DateTime="2023-11-25T13:49:00"/> </ns3:TimeLimits> <ns3:OrderItems> <ns3:OrderItem> <ns3:FlightItem> <ns3:OriginDestination> <ns3:Flight> <ns3:SegmentKey>FL1</ns3:SegmentKey> <ns3:Status> <ns3:StatusCode> <ns3:Code>HK</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>Y</ns3:Code> </ns3:ClassOfService> </ns3:Flight> </ns3:OriginDestination> </ns3:FlightItem> <ns3:Associations> <ns3:Passengers> <ns3:PassengerReferences>SH4</ns3:PassengerReferences> </ns3:Passengers> </ns3:Associations> </ns3:OrderItem> </ns3:OrderItems> </ns3:Order> <ns3:Metadata> <ns3:Other> <ns3:OtherMetadata> <ns3:CountryMetadatas> <ns3:CountryMetadata MetadataKey="CM1"> <ns3:AugmentationPoint> <ns3:AugPoint Owner="OVB"> <ns4:value xmlns:ns4="##other" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> </ns3:AugPoint> </ns3:AugmentationPoint> </ns3:CountryMetadata> </ns3:CountryMetadatas> </ns3:OtherMetadata> </ns3:Other> </ns3:Metadata> </ns3:Response> </ns3:OrderViewRS> </ns2:Body> </ns2:Envelope>
Marketing and Operating airline
Codeshare S7 flights S74000 - S74999 (Operating carrier is not S7)
<MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>4101</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>J2</AirlineID> <FlightNumber>182</FlightNumber> </OperatingCarrier>
Codeshare flight has a differenr Marketing and Operating carrier
Step 3: Request for read reservation
S7 Agent executes a read operation with S7 PNR locator number
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header/> <Body> <OrderCreateRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST"> <Document> <Name>1.0</Name> </Document> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Passengers> <Passenger ObjectKey="SH1"> <PTC>ADT</PTC> <Age> <BirthDate>1985-05-03</BirthDate> </Age> <Name> <Surname>Marko</Surname> <Given>Cain</Given> <Title>MR</Title> </Name> <Contacts> <Contact> <EmailContact> <Address>y.komarova@s7.ru</Address> </EmailContact> <PhoneContact> <Number CountryCode="7" AreaCode="926">3856999</Number> </PhoneContact> </Contact> </Contacts> <Gender>Male</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>1111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2013-10-22</DateOfIssue> <DateOfExpiration>2033-10-22</DateOfExpiration> <CountryOfResidence>RU</CountryOfResidence> </PassengerDocument> </PassengerIDInfo> </Passenger> </Passengers> <OrderItems> <ShoppingResponse> <Owner>S7</Owner> <ResponseID>UNKNOWN</ResponseID> <Offers> <Offer> <OfferID Owner="S7">UNKNOWN</OfferID> <OfferItems> <OfferItem> <OfferItemID Owner="S7">UNKNOWN</OfferItemID> <Passengers> <PassengerReference>SH1</PassengerReference> </Passengers> <ApplicableFlight> <FlightReferences>FL1</FlightReferences> </ApplicableFlight> </OfferItem> </OfferItems> </Offer> </Offers> </ShoppingResponse> <OfferItem> <OfferItemID Owner="S7">UNKNOWN</OfferItemID> <OfferItemType> <DetailedFlightItem> <OriginDestination> <Flight> <SegmentKey>FL1</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-09</Date> <Time>12:20</Time> </Departure> <Arrival> <AirportCode>GYD</AirportCode> <Date>2023-12-09</Date> <Time>16:30</Time> <Terminal> <Name>1</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>4101</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>J2</AirlineID> <FlightNumber>182</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>Y</Code> </ClassOfService> </Flight> </OriginDestination> </DetailedFlightItem> </OfferItemType> </OfferItem> </OrderItems> </Query> </OrderCreateRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:OrderViewRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:OrderViewProcessing/> <ns3:Passengers> <ns3:Passenger ObjectKey="SH4"> <ns3:PTC Quantity="1">ADT</ns3:PTC> <ns3:Age> <ns3:BirthDate>1985-05-03</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>MARKO</ns3:Surname> <ns3:Given>CAIN</ns3:Given> <ns3:Title>MR</ns3:Title> <ns3:Middle/> </ns3:Name> <ns3:Contacts> <ns3:Contact> <ns3:EmailContact> <ns3:Address>y.komarova@s7.ru</ns3:Address> </ns3:EmailContact> <ns3:PhoneContact> <ns3:Number CountryCode="7">9263856999</ns3:Number> </ns3:PhoneContact> </ns3:Contact> </ns3:Contacts> <ns3:Gender>Male</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>1111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2033-10-22</ns3:DateOfExpiration> <ns3:CountryOfResidence>RU</ns3:CountryOfResidence> </ns3:PassengerDocument> </ns3:PassengerIDInfo> </ns3:Passenger> </ns3:Passengers> <ns3:Order> <ns3:OrderID Owner="S7">1</ns3:OrderID> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>M2YN7F</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:TimeLimits> <ns3:PaymentTimeLimit DateTime="2023-11-25T15:21:00"/> </ns3:TimeLimits> <ns3:OrderItems> <ns3:OrderItem> <ns3:FlightItem> <ns3:OriginDestination> <ns3:Flight> <ns3:SegmentKey>FL1</ns3:SegmentKey> <ns3:Status> <ns3:StatusCode> <ns3:Code>HK</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>Y</ns3:Code> </ns3:ClassOfService> </ns3:Flight> </ns3:OriginDestination> </ns3:FlightItem> <ns3:Associations> <ns3:Passengers> <ns3:PassengerReferences>SH4</ns3:PassengerReferences> </ns3:Passengers> </ns3:Associations> </ns3:OrderItem> </ns3:OrderItems> </ns3:Order> <ns3:Metadata> <ns3:Other> <ns3:OtherMetadata> <ns3:CountryMetadatas> <ns3:CountryMetadata MetadataKey="CM1"> <ns3:AugmentationPoint> <ns3:AugPoint Owner="OVB"> <ns4:value xmlns:ns4="##other" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> </ns3:AugPoint> </ns3:AugmentationPoint> </ns3:CountryMetadata> </ns3:CountryMetadatas> </ns3:OtherMetadata> </ns3:Other> </ns3:Metadata> </ns3:Response> </ns3:OrderViewRS> </ns2:Body> </ns2:Envelope>
Step 4: Request for informative pricing
S7 Agent executes a reprice operation with itinerary info 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);
<FlightItem> block must fill in like in OrderCreateRQ. Each slice is described by the <OriginDestination> element.
passenger types (PTC);
fare details (RBD and fare code).
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <ItinReshopRQ Version="" xmlns="http://www.iata.org/IATA/EDIST"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Reshop> <Actions> <ActionType /> <OrderItems> <OrderItem> <FlightItem> <OriginDestination> <Flight> <SegmentKey>FL1</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-09</Date> <Time>12:20</Time> </Departure> <Arrival> <AirportCode>GYD</AirportCode> <Date>2023-12-09</Date> <Time>16:30</Time> <Terminal> <Name>1</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>4101</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>J2</AirlineID> <FlightNumber>182</FlightNumber> </OperatingCarrier> </Flight> </OriginDestination> <FareDetail> <FareComponent refs="FL1"> <FareBasis> <FareBasisCode> <Code>YSTOWCS</Code> </FareBasisCode> <RBD>Y</RBD> </FareBasis> </FareComponent> </FareDetail> </FlightItem> <Associations> <Passengers> <PassengerReferences>SH4</PassengerReferences> </Passengers> </Associations> </OrderItem> </OrderItems> <Passengers> <Passenger ObjectKey="SH4"> <PTC Quantity="1">ADT</PTC> <Name> <Surname /> </Name> </Passenger> </Passengers> </Actions> </Reshop> </Query> </ItinReshopRQ> </Body> </Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:ItinReshopRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:ItinReshopProcessing/> <ns3:Passengers> <ns3:Passenger ObjectKey="SH4"> <ns3:PTC Quantity="1">ADT</ns3:PTC> <ns3:Name> <ns3:Surname>Anonymous</ns3:Surname> </ns3:Name> </ns3:Passenger> </ns3:Passengers> <ns3:ReShopOffers> <ns3:ReShopOffer ObjectKey="RO1"> <ns3:OfferID Owner="S7">Offer</ns3:OfferID> <ns3:TotalPrice> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560.00</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal> <ns3:Application>fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210.00</ns3:Total> </ns3:Taxes> <ns3:Fees> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Fees> </ns3:DetailCurrencyPrice> </ns3:TotalPrice> <ns3:ReShopPricedOffer> <ns3:OfferPrice> <ns3:RequestedDate> <ns3:PriceDetail> <ns3:TotalAmount> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560.00</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal> <ns3:Application>fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210.00</ns3:Total> </ns3:Taxes> <ns3:Fees> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Fees> </ns3:DetailCurrencyPrice> </ns3:TotalAmount> <ns3:BaseAmount Code="RUB">53350.00</ns3:BaseAmount> <ns3:FareFiledIn> <ns3:BaseAmount Code="EUR">550.00</ns3:BaseAmount> <ns3:ExchangeRate>97.0</ns3:ExchangeRate> </ns3:FareFiledIn> <ns3:Surcharges> <ns3:Surcharge> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Surcharge> </ns3:Surcharges> <ns3:Taxes> <ns3:Total Code="RUB">3210.00</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">970.00</ns3:Amount> <ns3:TaxCode>JL</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">1461.00</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">779.00</ns3:Amount> <ns3:TaxCode>UH</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> </ns3:PriceDetail> <ns3:Associations> <ns3:AssociatedTraveler> <ns3:TravelerReferences>SH4</ns3:TravelerReferences> </ns3:AssociatedTraveler> <ns3:OfferDetailAssociation> <ns3:OfferTermReferences>T1</ns3:OfferTermReferences> </ns3:OfferDetailAssociation> </ns3:Associations> </ns3:RequestedDate> <ns3:FareDetail> <ns3:FareComponent> <ns3:SegmentReference>SEG1</ns3:SegmentReference> <ns3:FareBasis> <ns3:FareBasisCode> <ns3:Code>YSTOWCS</ns3:Code> </ns3:FareBasisCode> <ns3:RBD>Y</ns3:RBD> </ns3:FareBasis> <ns3:FareRules> <ns3:Ticketing> <ns3:Endorsements> <ns3:Endorsement>ENDO</ns3:Endorsement> </ns3:Endorsements> </ns3:Ticketing> <ns3:Remarks> <ns3:Remark>UnstructuredFareCalc</ns3:Remark> </ns3:Remarks> </ns3:FareRules> </ns3:FareComponent> </ns3:FareDetail> </ns3:OfferPrice> </ns3:ReShopPricedOffer> </ns3:ReShopOffer> </ns3:ReShopOffers> <ns3:DataList> <ns3:FlightSegmentList> <ns3:FlightSegment SegmentKey="SEG1"> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> </ns3:OperatingCarrier> </ns3:FlightSegment> </ns3:FlightSegmentList> <ns3:OriginDestinationList> <ns3:OriginDestination OriginDestinationKey="OD1"> <ns3:DepartureCode>DME</ns3:DepartureCode> <ns3:ArrivalCode>GYD</ns3:ArrivalCode> <ns3:FlightReferences>SEG1</ns3:FlightReferences> </ns3:OriginDestination> </ns3:OriginDestinationList> <ns3:TermsList ListKey="TL1"> <ns3:Term refs="SEG1" ObjectKey="T1"> <ns3:AvailablePeriod> <ns3:Earliest/> <ns3:Latest/> </ns3:AvailablePeriod> </ns3:Term> </ns3:TermsList> </ns3:DataList> </ns3:Response> </ns3:ItinReshopRS> </ns2:Body> </ns2:Envelope>
Step 5: Request for reservation pricing
S7 Agent executes a reprice operation with itinerary info 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);
<FlightItem> block must fill in like in OrderCreateRQ. Each slice is described by the <OriginDestination> element.
passenger types (PTC);
fare details (RBD and fare code).
xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header />
<Body>
<ItinReshopRQ Version=""
xmlns="http://www.iata.org/IATA/EDIST">
<Document />
<Party>
<Sender>
<AgentUserSender>
<PseudoCity>S7AGN8224</PseudoCity>
<AgentUserID>test</AgentUserID>
</AgentUserSender>
</Sender>
</Party>
<Query>
<Reshop>
<Actions>
<ActionType />
<BookingReferences>
<BookingReference>
<ID>M2YN7F</ID>
<AirlineID>S7</AirlineID>
</BookingReference>
</BookingReferences>
<OrderItems>
<OrderItem>
<FlightItem>
<OriginDestination>
<Flight>
<SegmentKey>FL1</SegmentKey>
<Departure>
<AirportCode>DME</AirportCode>
<Date>2023-12-09</Date>
<Time>12:20</Time>
</Departure>
<Arrival>
<AirportCode>GYD</AirportCode>
<Date>2023-12-09</Date>
<Time>16:30</Time>
<Terminal>
<Name>1</Name>
</Terminal>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>4101</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>J2</AirlineID>
<FlightNumber>182</FlightNumber>
</OperatingCarrier>
</Flight>
</OriginDestination>
<FareDetail>
<FareComponent refs="FL1">
<FareBasis>
<FareBasisCode>
<Code>YSTOWCS</Code>
</FareBasisCode>
<RBD>Y</RBD>
</FareBasis>
</FareComponent>
</FareDetail>
</FlightItem>
<Associations>
<Passengers>
<PassengerReferences>SH4</PassengerReferences>
</Passengers>
</Associations>
</OrderItem>
</OrderItems>
<Passengers>
<Passenger ObjectKey="SH4">
<PTC Quantity="1">ADT</PTC>
<Name>
<Surname />
</Name>
</Passenger>
</Passengers>
</Actions>
</Reshop>
</Query>
</ItinReshopRQ>
</Body>
</Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:ItinReshopRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:ItinReshopProcessing/> <ns3:Passengers> <ns3:Passenger ObjectKey="SH4"> <ns3:PTC Quantity="1">ADT</ns3:PTC> <ns3:Name> <ns3:Surname>Anonymous</ns3:Surname> </ns3:Name> </ns3:Passenger> </ns3:Passengers> <ns3:Order> <ns3:OrderID Owner="S7">Order</ns3:OrderID> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>M2YN7F</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:OrderItems> <ns3:OrderItem> <ns3:OrderItemID Owner="S7">NONE</ns3:OrderItemID> </ns3:OrderItem> </ns3:OrderItems> </ns3:Order> <ns3:ReShopOffers> <ns3:ReShopOffer ObjectKey="RO1"> <ns3:OfferID Owner="S7">Offer</ns3:OfferID> <ns3:TotalPrice> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560.0</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">53350.0</ns3:SubTotal> <ns3:Application>fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210.0</ns3:Total> </ns3:Taxes> <ns3:Fees> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Fees> </ns3:DetailCurrencyPrice> </ns3:TotalPrice> <ns3:ReShopPricedOffer> <ns3:OfferPrice> <ns3:RequestedDate> <ns3:PriceDetail> <ns3:TotalAmount> <ns3:DetailCurrencyPrice> <ns3:Total Code="RUB">56560.0</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:SubTotal Code="RUB">53350.0</ns3:SubTotal> <ns3:Application>fare</ns3:Application> </ns3:Detail> </ns3:Details> <ns3:Taxes> <ns3:Total Code="RUB">3210.0</ns3:Total> </ns3:Taxes> <ns3:Fees> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Fees> </ns3:DetailCurrencyPrice> </ns3:TotalAmount> <ns3:BaseAmount Code="RUB">53350.0</ns3:BaseAmount> <ns3:FareFiledIn> <ns3:BaseAmount Code="EUR">550.0</ns3:BaseAmount> <ns3:ExchangeRate>97.0</ns3:ExchangeRate> </ns3:FareFiledIn> <ns3:Surcharges> <ns3:Surcharge> <ns3:Total Code="RUB">0</ns3:Total> </ns3:Surcharge> </ns3:Surcharges> <ns3:Taxes> <ns3:Total Code="RUB">3210.0</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">970.0</ns3:Amount> <ns3:TaxCode>JL</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">1461.0</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">779.0</ns3:Amount> <ns3:TaxCode>UH</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> </ns3:PriceDetail> <ns3:Associations> <ns3:AssociatedTraveler> <ns3:TravelerReferences>SH4</ns3:TravelerReferences> </ns3:AssociatedTraveler> <ns3:OfferDetailAssociation> <ns3:OfferTermReferences>T1</ns3:OfferTermReferences> </ns3:OfferDetailAssociation> </ns3:Associations> </ns3:RequestedDate> <ns3:FareDetail> <ns3:FareComponent> <ns3:SegmentReference>SEG1</ns3:SegmentReference> <ns3:FareBasis> <ns3:FareBasisCode> <ns3:Code>YSTOWCS</ns3:Code> </ns3:FareBasisCode> <ns3:RBD>Y</ns3:RBD> </ns3:FareBasis> <ns3:FareRules> <ns3:Ticketing> <ns3:Endorsements> <ns3:Endorsement>ENDO</ns3:Endorsement> </ns3:Endorsements> </ns3:Ticketing> <ns3:Remarks> <ns3:Remark>UnstructuredFareCalc</ns3:Remark> </ns3:Remarks> </ns3:FareRules> </ns3:FareComponent> </ns3:FareDetail> </ns3:OfferPrice> </ns3:ReShopPricedOffer> </ns3:ReShopOffer> </ns3:ReShopOffers> <ns3:DataList> <ns3:FlightSegmentList> <ns3:FlightSegment SegmentKey="SEG1"> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> </ns3:OperatingCarrier> </ns3:FlightSegment> </ns3:FlightSegmentList> <ns3:OriginDestinationList> <ns3:OriginDestination OriginDestinationKey="OD1"> <ns3:DepartureCode>DME</ns3:DepartureCode> <ns3:ArrivalCode>GYD</ns3:ArrivalCode> <ns3:FlightReferences>SEG1</ns3:FlightReferences> </ns3:OriginDestination> </ns3:OriginDestinationList> <ns3:TermsList ListKey="TL1"> <ns3:Term refs="SEG1" ObjectKey="T1"> <ns3:AvailablePeriod> <ns3:Earliest/> <ns3:Latest/> </ns3:AvailablePeriod> </ns3:Term> </ns3:TermsList> </ns3:DataList> </ns3:Response> </ns3:ItinReshopRS> </ns2:Body> </ns2:Envelope>
Step 6: Issue tickets for all passenger
S7 Agent executes a demandTickets operation with reservation reference and pricing details
Add information about PNR from OrderViewRS
Envelope/Body/OrderViewRS/Response/Order/BookingReferences/BookingReference/ID
Fill in the form of payment as in example <*A*TEXT>
<Payments> <Payment> <Type> <Code>MS</Code> </Type> <Other> <Remarks> <Remark>*A*TEXT</Remark> </Remarks> </Other> </Payment> </Payments>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <AirDocIssueRQ Version="" xmlns="http://www.iata.org/IATA/EDIST"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <TicketDocQuantity>1</TicketDocQuantity> <TicketDocInfo> <TravelerInfo> <Surname>ANY</Surname> <Given>ANY</Given> </TravelerInfo> <BookingReference> <ID>M2YN7F</ID> <AirlineID>S7</AirlineID> </BookingReference> <Payments> <Payment ObjectKey="ETK"> <Type> <Code>MS</Code> </Type> <Other> <Remarks> <Remark>*A*TEXT</Remark> </Remarks> </Other> </Payment> </Payments> </TicketDocInfo> </Query> </AirDocIssueRQ> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"> <ns2:Body> <ns3:AirDocDisplayRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:TicketDocInfos> <ns3:TicketDocInfo> <ns3:Traveler> <ns3:Surname>MARKO</ns3:Surname> <ns3:Given>CAIN</ns3:Given> <ns3:PTC>ADT</ns3:PTC> </ns3:Traveler> <ns3:IssuingAirlineInfo> <ns3:AirlineName>S7</ns3:AirlineName> </ns3:IssuingAirlineInfo> <ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>M2YN7F</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:Payments> <ns3:Payment> <ns3:Method/> <ns3:Amount Code="RUB">56560.0</ns3:Amount> </ns3:Payment> </ns3:Payments> <ns3:OriginDestination> <ns3:Origin>DME</ns3:Origin> <ns3:Destination>GYD</ns3:Destination> </ns3:OriginDestination> <ns3:FareInfo> <ns3:BaseFare> <ns3:Amount Code="RUB">53350.0</ns3:Amount> </ns3:BaseFare> <ns3:EquivFare EquivRate="97"> <ns3:Amount Code="EUR">550.0</ns3:Amount> </ns3:EquivFare> <ns3:Total> <ns3:Amount Code="RUB">56560.0</ns3:Amount> </ns3:Total> <ns3:Taxes> <ns3:Total Code="RUB">3210.0</ns3:Total> <ns3:Breakdown> <ns3:Tax> <ns3:Amount Code="RUB">970.00</ns3:Amount> <ns3:TaxCode>JL</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">1461.00</ns3:Amount> <ns3:TaxCode>RI</ns3:TaxCode> </ns3:Tax> <ns3:Tax> <ns3:Amount Code="RUB">779.00</ns3:Amount> <ns3:TaxCode>UH</ns3:TaxCode> </ns3:Tax> </ns3:Breakdown> </ns3:Taxes> <ns3:UnstructuredFareCalcInfo> <ns3:Info>MOW S7 GYD578.81NUC578.81END ROE0.950225</ns3:Info> </ns3:UnstructuredFareCalcInfo> </ns3:FareInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212105453854</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2023-11-22</ns3:DateOfIssue> <ns3:CouponInfo> <ns3:CouponNumber>1</ns3:CouponNumber> <ns3:FareBasisCode> <ns3:Code>YSTOWCS</ns3:Code> </ns3:FareBasisCode> <ns3:CouponValid> <ns3:EffectiveDatePeriod> <ns3:Expiration>2024-11-22</ns3:Expiration> </ns3:EffectiveDatePeriod> </ns3:CouponValid> <ns3:Status> <ns3:Code>OPEN FOR USE</ns3:Code> </ns3:Status> <ns3:SoldAirlineInfo> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>12:20</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>GYD</ns3:AirportCode> <ns3:Date>2023-12-09</ns3:Date> <ns3:Time>16:30</ns3:Time> </ns3:Arrival> <ns3:OperatingCarrier> <ns3:AirlineID>J2</ns3:AirlineID> <ns3:FlightNumber>182</ns3:FlightNumber> <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode> </ns3:OperatingCarrier> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>4101</ns3:FlightNumber> </ns3:MarketingCarrier> </ns3:SoldAirlineInfo> </ns3:CouponInfo> </ns3:TicketDocument> <ns3:Commission> <ns3:Amount>0</ns3:Amount> <ns3:Remarks> <ns3:Remark>S7 ONLY/REF/CHNG/RESTR/ST</ns3:Remark> <ns3:Remark>2023-11-22T15:22</ns3:Remark> </ns3:Remarks> </ns3:Commission> <ns3:PassengerSpecificData>1111111111</ns3:PassengerSpecificData> </ns3:TicketDocInfo> </ns3:TicketDocInfos> </ns3:Response> </ns3:AirDocDisplayRS> </ns2:Body> </ns2:Envelope>
- No labels