- Created by Uliana Arefina, last modified on 08.09.2023
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Current »
Overview
An example of end-to-end scenario based on on operation flow and user story
read (booking) → servicePrice→ seatMap→ addAncillaries → voidTicket (EMD) S7 agent wants to buy ancillaries (bag) for 1ADT in booking with tickets issued earlier. He also wants to cancel ancillaries services if it necessary.Operation flow
User story
Scenario
The general process for book a trip and read reservation details such as this is:
Read reservation: S7 Agent executes a read operation to get information about passengers, issued tickets and route;
Get ancillaries pricing (bag): S7 Agent executes a servicePrice operation to get information about available ancillaries;
Issue EMD for ancillaries services: S7 Agent executes an addAncillaries operation to issue EMD for chosen ancillaries services;
Cancel EMD if necessary: S7 Agent executes a voidTicket operation to cancel EMD.
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: Read reservation details
S7 Agent executes a read operation to get information about passengers, issued tickets and rout.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <OrderRetrieveRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Filters> <BookingReferences> <BookingReference> <ID>LWVIID</ID> <AirlineID>S7</AirlineID> </BookingReference> </BookingReferences> </Filters> </Query> </OrderRetrieveRQ> </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:Remarks> <ns3:Remark>S7/NON-REF/CHNG/RESTR/BS</ns3:Remark> </ns3:Remarks> </ns3:OrderViewProcessing> <ns3:Passengers> <ns3:Passenger ObjectKey="SH4"> <ns3:PTC Quantity="1">ADT</ns3:PTC> <ns3:Age> <ns3:BirthDate>1969-05-03</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>XAVIER</ns3:Surname> <ns3:Given>CHARLES</ns3:Given> <ns3:Title>MR</ns3:Title> <ns3:Middle/> </ns3:Name> <ns3:Contacts> <ns3:Contact> <ns3:EmailContact> <ns3:Address>u.aefina@s7.ru</ns3:Address> </ns3:EmailContact> <ns3:PhoneContact> <ns3:Number>79263856999</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:DateOfExpiration>2023-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>LWVIID</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <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>KJA</ns3:AirportCode> <ns3:Date>2023-11-30</ns3:Date> <ns3:Time>04:45</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-11-30</ns3:Date> <ns3:Time>06:20</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>5310</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>5310</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:TicketDocInfos> <ns3:TicketDocInfo> <ns3:TicketDocument> <ns3:TicketDocNbr>4212104342712</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>702</ns3:Code> </ns3:Type> <ns3:NumberofBooklets>1</ns3:NumberofBooklets> <ns3:DateOfIssue>2023-09-05</ns3:DateOfIssue> </ns3:TicketDocument> <ns3:PassengerReference>SH4</ns3:PassengerReference> </ns3:TicketDocInfo> </ns3:TicketDocInfos> <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 2: Get ancillaries pricing (bag)
S7 Agent executes a servicePrice operation to get information about extra bag price.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header/> <Body> <ServicePriceRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST"> <Document/> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Parameters> <ServiceFilters> <ServiceFilter> <GroupCode>bag</GroupCode> </ServiceFilter> </ServiceFilters> </Parameters> <Travelers> <Traveler> <AnonymousTraveler> <PTC Quantity="1">ADT</PTC> </AnonymousTraveler> </Traveler> </Travelers> <Query> <OriginDestination> <Flight> <SegmentKey>SEG1</SegmentKey> <Departure> <AirportCode>KJA</AirportCode> <Date>2023-11-30</Date> <Time>04:45</Time> </Departure> <Arrival> <AirportCode>OVB</AirportCode> <Date>2023-11-30</Date> <Time>06:20</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>5310</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>5310</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>Y</Code> </ClassOfService> </Flight> </OriginDestination> </Query> <DataList> <FareList> <FareGroup refs="SEG1" ListKey="FG1"> <Fare> <FareCode> <Code>BASICECONOMY</Code> </FareCode> </Fare> <FareBasisCode> <Code>YBSOW</Code> </FareBasisCode> </FareGroup> </FareList> </DataList> </ServicePriceRQ> </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:ServicePriceRS Version="2.000"> <ns3:Document/> <ns3:Success/> <ns3:Services> <ns3:Service ObjectKey="SR1"> <ns3:ServiceID Owner="S7">SR1</ns3:ServiceID> <ns3:Name>bag</ns3:Name> <ns3:Descriptions> <ns3:Description ObjectKey="fareFamily_SR1"> <ns3:Text>BASICECONOMY</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="description_SR1"> <ns3:Text>CHECKED FIRST BAG</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="weight_SR1"> <ns3:Text>23kg</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="size_SR1"> <ns3:Text>203cm</ns3:Text> </ns3:Description> </ns3:Descriptions> <ns3:Price> <ns3:Total Code="RUB">3800.0</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:Application>base fare</ns3:Application> <ns3:Amount Code="RUB">3800.0</ns3:Amount> </ns3:Detail> </ns3:Details> </ns3:Price> <ns3:BookingInstructions> <ns3:OSIText>0CC</ns3:OSIText> </ns3:BookingInstructions> <ns3:Associations> <ns3:Flight> <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences> </ns3:Flight> </ns3:Associations> <ns3:Associations> <ns3:OtherAssociations> <ns3:OtherAssociation> <ns3:Type>fare</ns3:Type> <ns3:ReferenceValue>OD1</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociations> </ns3:Associations> <ns3:Associations> <ns3:Traveler> <ns3:TravelerReferences>SH1</ns3:TravelerReferences> </ns3:Traveler> </ns3:Associations> <ns3:Associations> <ns3:OtherAssociations> <ns3:OtherAssociation> <ns3:Type>media</ns3:Type> <ns3:ReferenceValue>ML1</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociations> </ns3:Associations> </ns3:Service> <ns3:Service ObjectKey="SR2"> <ns3:ServiceID Owner="S7">SR2</ns3:ServiceID> <ns3:Name>bag</ns3:Name> <ns3:Descriptions> <ns3:Description ObjectKey="fareFamily_SR2"> <ns3:Text>BASICECONOMY</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="description_SR2"> <ns3:Text>CHECKED BAG SECOND</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="weight_SR2"> <ns3:Text>23kg</ns3:Text> </ns3:Description> <ns3:Description ObjectKey="size_SR2"> <ns3:Text>203cm</ns3:Text> </ns3:Description> </ns3:Descriptions> <ns3:Price> <ns3:Total Code="RUB">3800.0</ns3:Total> <ns3:Details> <ns3:Detail> <ns3:Application>base fare</ns3:Application> <ns3:Amount Code="RUB">3800.0</ns3:Amount> </ns3:Detail> </ns3:Details> </ns3:Price> <ns3:BookingInstructions> <ns3:OSIText>0CD</ns3:OSIText> </ns3:BookingInstructions> <ns3:Associations> <ns3:Flight> <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences> </ns3:Flight> </ns3:Associations> <ns3:Associations> <ns3:OtherAssociations> <ns3:OtherAssociation> <ns3:Type>fare</ns3:Type> <ns3:ReferenceValue>OD1</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociations> </ns3:Associations> <ns3:Associations> <ns3:Traveler> <ns3:TravelerReferences>SH1</ns3:TravelerReferences> </ns3:Traveler> </ns3:Associations> <ns3:Associations> <ns3:OtherAssociations> <ns3:OtherAssociation> <ns3:Type>media</ns3:Type> <ns3:ReferenceValue>ML2</ns3:ReferenceValue> </ns3:OtherAssociation> </ns3:OtherAssociations> </ns3:Associations> </ns3:Service> </ns3:Services> <ns3:DataLists> <ns3:AnonymousTravelerList> <ns3:AnonymousTraveler ObjectKey="SH1"> <ns3:PTC>ADT</ns3:PTC> </ns3:AnonymousTraveler> </ns3:AnonymousTravelerList> <ns3:FareList> <ns3:FareGroup refs="SEG1" ListKey="FG1"> <ns3:Fare> <ns3:FareCode> <ns3:Code>BASICECONOMY</ns3:Code> </ns3:FareCode> </ns3:Fare> <ns3:FareBasisCode> <ns3:Code>YBSOW</ns3:Code> </ns3:FareBasisCode> </ns3:FareGroup> </ns3:FareList> <ns3:FlightSegmentList> <ns3:FlightSegment SegmentKey="SEG1"> <ns3:Departure> <ns3:AirportCode>KJA</ns3:AirportCode> <ns3:Date>2023-11-30</ns3:Date> <ns3:Time>04:45</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-11-30</ns3:Date> <ns3:Time>06:20</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>5310</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>5310</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:Equipment refs="ML3"> <ns3:AircraftCode>E70</ns3:AircraftCode> <ns3:AirlineEquipCode>Embraer RJ170</ns3:AirlineEquipCode> </ns3:Equipment> </ns3:FlightSegment> </ns3:FlightSegmentList> <ns3:OriginDestinationList> <ns3:OriginDestination OriginDestinationKey="OD1"> <ns3:DepartureCode>KJA</ns3:DepartureCode> <ns3:ArrivalCode>OVB</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/rich-content/baggage/baggage_bag23kg.png</ns3:MediaLink> </ns3:Media> <ns3:Media ListKey="ML2"> <ns3:MediaLink>https://static.s7cdn.online/hermes/IBE/rich-content/baggage/baggage_bag23kg.png</ns3:MediaLink> </ns3:Media> <ns3:Media ListKey="ML3"> <ns3:MediaLink>https://static.s7cdn.online/hermes/IBE/image_airplane/e170.png</ns3:MediaLink> </ns3:Media> </ns3:MediaList> </ns3:DataLists> </ns3:ServicePriceRS> </ns2:Body> </ns2:Envelope>
Step 4: Issue EMD for bag
S7 Agent executes an addAncillaries operation to issue EMD for choosen ancillaries services.
- Add information about passenger keys from read operation RS
Envelope/Body/OrderViewRS/Response/Passengers/Passenger@ObjectKey
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:iata="http://www.iata.org/IATA/2015/00/2019.1/IATA_OrderChangeRQ"> <soapenv:Header/> <soapenv:Body> <iata:IATA_OrderChangeRQ> <iata:Party> <iata:Sender> <iata:TravelAgency> <iata:AgencyID>test</iata:AgencyID> <iata:PseudoCityID>S7AGN8224</iata:PseudoCityID> </iata:TravelAgency> </iata:Sender> </iata:Party> <iata:Request> <iata:BookingRef> <iata:BookingEntity> <iata:Carrier> <iata:AirlineDesigCode>S7</iata:AirlineDesigCode> </iata:Carrier> </iata:BookingEntity> <iata:BookingID>LWVIID</iata:BookingID> </iata:BookingRef> <iata:ChangeOrder> <iata:UpdateOrderItem> <iata:AcceptOffer> <iata:CreateOrderItem> <iata:OfferItemID>OI1</iata:OfferItemID> <iata:OfferItemType> <iata:BaggageItem> <iata:BagItemDetails> <iata:BaggageAllowanceRefID>BG1</iata:BaggageAllowanceRefID> </iata:BagItemDetails> <iata:Price> <iata:TotalAmount CurCode="RUB">3800</iata:TotalAmount> </iata:Price> </iata:BaggageItem> </iata:OfferItemType> <iata:OwnerCode>S7</iata:OwnerCode> </iata:CreateOrderItem> <iata:CreateOrderItem> <iata:OfferItemID>OI1</iata:OfferItemID> <iata:OfferItemType> <iata:BaggageItem> <iata:BagItemDetails> <iata:BaggageAllowanceRefID>BG2</iata:BaggageAllowanceRefID> </iata:BagItemDetails> <iata:Price> <iata:TotalAmount CurCode="RUB">3800</iata:TotalAmount> </iata:Price> </iata:BaggageItem> </iata:OfferItemType> <iata:OwnerCode>S7</iata:OwnerCode> </iata:CreateOrderItem> </iata:AcceptOffer> </iata:UpdateOrderItem> </iata:ChangeOrder> <iata:DataLists> <iata:BaggageAllowanceList> <iata:BaggageAllowance> <iata:ApplicableBagText>OD1</iata:ApplicableBagText> <iata:ApplicablePartyText>PAX4</iata:ApplicablePartyText> <iata:BaggageAllowanceID>BG1</iata:BaggageAllowanceID> <iata:DescText>0CC</iata:DescText> <iata:TypeCode>Checked</iata:TypeCode> </iata:BaggageAllowance> <iata:BaggageAllowance> <iata:ApplicableBagText>OD1</iata:ApplicableBagText> <iata:ApplicablePartyText>PAX4</iata:ApplicablePartyText> <iata:BaggageAllowanceID>BG2</iata:BaggageAllowanceID> <iata:DescText>0CD</iata:DescText> <iata:TypeCode>Checked</iata:TypeCode> </iata:BaggageAllowance> </iata:BaggageAllowanceList> <iata:FareList> <iata:FareGroup> <iata:FareCode>Y</iata:FareCode> <iata:FareDetail> <iata:FarePriceType> <iata:FarePriceTypeCode/> <iata:Price> <iata:TotalAmount CurCode="RUB">7600</iata:TotalAmount> </iata:Price> </iata:FarePriceType> <iata:PricingSystemCodeText>MS</iata:PricingSystemCodeText> <iata:StatisticalCodeText>*A*FREETEXT</iata:StatisticalCodeText> </iata:FareDetail> <iata:FareGroupID>FR1</iata:FareGroupID> </iata:FareGroup> </iata:FareList> <iata:PaxJourneyList> <iata:PaxJourney> <iata:PaxJourneyID>OD1</iata:PaxJourneyID> <iata:PaxSegmentRefID>SEG1</iata:PaxSegmentRefID> </iata:PaxJourney> </iata:PaxJourneyList> <iata:PaxList> <iata:Pax> <iata:PaxID>PAX4</iata:PaxID> <iata:PTC>ADT</iata:PTC> </iata:Pax> </iata:PaxList> <iata:PaxSegmentList> <iata:PaxSegment> <iata:Arrival> <iata:AircraftScheduledDateTime>2023-11-30T06:20:00</iata:AircraftScheduledDateTime> <iata:IATA_LocationCode>OVB</iata:IATA_LocationCode> </iata:Arrival> <iata:Dep> <iata:AircraftScheduledDateTime>2023-11-30T04:45:00</iata:AircraftScheduledDateTime> <iata:IATA_LocationCode>KJA</iata:IATA_LocationCode> </iata:Dep> <iata:MarketingCarrierInfo> <iata:CarrierDesigCode>S7</iata:CarrierDesigCode> <iata:MarketingCarrierFlightNumberText>5310</iata:MarketingCarrierFlightNumberText> </iata:MarketingCarrierInfo> <iata:OperatingCarrierInfo> <iata:CarrierDesigCode>S7</iata:CarrierDesigCode> <iata:OperatingCarrierFlightNumberText>5310</iata:OperatingCarrierFlightNumberText> </iata:OperatingCarrierInfo> <iata:PaxSegmentID>SEG1</iata:PaxSegmentID> </iata:PaxSegment> </iata:PaxSegmentList> </iata:DataLists> <iata:Order> <iata:OrderID>DFRРLDH</iata:OrderID> <iata:OwnerCode>S7</iata:OwnerCode> </iata:Order> </iata:Request> </iata:IATA_OrderChangeRQ> </soapenv:Body> </soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns2:IATA_OrderViewRS xmlns:ns2="http://www.iata.org/IATA/2015/00/2019.1/IATA_OrderViewRS"> <ns2:Response> <ns2:DataLists> <ns2:PaxJourneyList> <ns2:PaxJourney> <ns2:PaxJourneyID>OD1</ns2:PaxJourneyID> <ns2:PaxSegmentRefID>SEG1</ns2:PaxSegmentRefID> </ns2:PaxJourney> </ns2:PaxJourneyList> <ns2:PaxList> <ns2:Pax> <ns2:Individual> <ns2:GenderCode>M</ns2:GenderCode> <ns2:GivenName>Charles</ns2:GivenName> <ns2:Surname>Xavier</ns2:Surname> <ns2:TitleName>MR</ns2:TitleName> </ns2:Individual> <ns2:PaxID>PAX4</ns2:PaxID> <ns2:PTC>ADT</ns2:PTC> </ns2:Pax> </ns2:PaxList> <ns2:PaxSegmentList> <ns2:PaxSegment> <ns2:Arrival> <ns2:AircraftScheduledDateTime>2023-11-30T06:20:00</ns2:AircraftScheduledDateTime> <ns2:IATA_LocationCode>OVB</ns2:IATA_LocationCode> </ns2:Arrival> <ns2:Dep> <ns2:AircraftScheduledDateTime>2023-11-30T04:45:00</ns2:AircraftScheduledDateTime> <ns2:IATA_LocationCode>KJA</ns2:IATA_LocationCode> </ns2:Dep> <ns2:MarketingCarrierInfo> <ns2:CarrierDesigCode>S7</ns2:CarrierDesigCode> <ns2:MarketingCarrierFlightNumberText>5310</ns2:MarketingCarrierFlightNumberText> <ns2:RBD_Code>Y</ns2:RBD_Code> </ns2:MarketingCarrierInfo> <ns2:OperatingCarrierInfo> <ns2:CarrierDesigCode>S7</ns2:CarrierDesigCode> <ns2:OperatingCarrierFlightNumberText>5310</ns2:OperatingCarrierFlightNumberText> </ns2:OperatingCarrierInfo> <ns2:PaxSegmentID>SEG1</ns2:PaxSegmentID> </ns2:PaxSegment> </ns2:PaxSegmentList> <ns2:ServiceDefinitionList> <ns2:ServiceDefinition> <ns2:Desc> <ns2:DescText>4214101933976</ns2:DescText> </ns2:Desc> <ns2:Name>bag</ns2:Name> <ns2:ServiceCode>0CC</ns2:ServiceCode> <ns2:ServiceDefinitionID>SD_1</ns2:ServiceDefinitionID> <ns2:ValidatingCarrierCode>S7</ns2:ValidatingCarrierCode> </ns2:ServiceDefinition> <ns2:ServiceDefinition> <ns2:Desc> <ns2:DescText>4214101933977</ns2:DescText> </ns2:Desc> <ns2:Name>bag</ns2:Name> <ns2:ServiceCode>0CD</ns2:ServiceCode> <ns2:ServiceDefinitionID>SD_2</ns2:ServiceDefinitionID> <ns2:ValidatingCarrierCode>S7</ns2:ValidatingCarrierCode> </ns2:ServiceDefinition> </ns2:ServiceDefinitionList> </ns2:DataLists> <ns2:Order> <ns2:BookingRef> <ns2:BookingEntity> <ns2:Carrier> <ns2:AirlineDesigCode>S7</ns2:AirlineDesigCode> </ns2:Carrier> </ns2:BookingEntity> <ns2:BookingID>LWVIID</ns2:BookingID> </ns2:BookingRef> <ns2:OrderID>QG24F47</ns2:OrderID> <ns2:OrderItem> <ns2:CreationDateTime>2023-09-05T07:15:02.331739</ns2:CreationDateTime> <ns2:OrderItemID>4214101933976</ns2:OrderItemID> <ns2:Price> <ns2:TotalAmount CurCode="RUB">3800</ns2:TotalAmount> </ns2:Price> <ns2:Service> <ns2:PaxRefID>PAX4</ns2:PaxRefID> <ns2:ServiceAssociations> <ns2:ServiceDefinitionRef> <ns2:FlightAssociations> <ns2:PaxJourneyRefID>OD1</ns2:PaxJourneyRefID> </ns2:FlightAssociations> <ns2:ServiceDefinitionRefID>SD_1</ns2:ServiceDefinitionRefID> </ns2:ServiceDefinitionRef> </ns2:ServiceAssociations> <ns2:ServiceID>SRV_1</ns2:ServiceID> <ns2:StatusCode>ISSUED</ns2:StatusCode> </ns2:Service> </ns2:OrderItem> <ns2:OrderItem> <ns2:CreationDateTime>2023-09-05T07:15:02.331756</ns2:CreationDateTime> <ns2:OrderItemID>4214101933977</ns2:OrderItemID> <ns2:Price> <ns2:TotalAmount CurCode="RUB">3800</ns2:TotalAmount> </ns2:Price> <ns2:Service> <ns2:PaxRefID>PAX4</ns2:PaxRefID> <ns2:ServiceAssociations> <ns2:ServiceDefinitionRef> <ns2:FlightAssociations> <ns2:PaxJourneyRefID>OD1</ns2:PaxJourneyRefID> </ns2:FlightAssociations> <ns2:ServiceDefinitionRefID>SD_2</ns2:ServiceDefinitionRefID> </ns2:ServiceDefinitionRef> </ns2:ServiceAssociations> <ns2:ServiceID>SRV_2</ns2:ServiceID> <ns2:StatusCode>ISSUED</ns2:StatusCode> </ns2:Service> </ns2:OrderItem> <ns2:OwnerCode>S7</ns2:OwnerCode> <ns2:TotalPrice> <ns2:TotalAmount CurCode="RUB">7600</ns2:TotalAmount> </ns2:TotalPrice> </ns2:Order> </ns2:Response> <ns2:PayloadAttributes> <ns2:CorrelationID>3.56:8d4712b5-9902-4739-9da6-53cc1ed1f131</ns2:CorrelationID> </ns2:PayloadAttributes> </ns2:IATA_OrderViewRS> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Step 5: Cancel EMD if necessary
S7 Agent executes a voidTicket operation to cancel EMD.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <AirDocVoidRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S7AGN8224</PseudoCity> <AgentUserID>test</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <TicketDocQuantity>1</TicketDocQuantity> <TicketDocument> <TicketDocNbr>4214101933977</TicketDocNbr> <Type> <Code>Y</Code> </Type> </TicketDocument> </Query> </AirDocVoidRQ> </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:AirDocVoidRS Version=""> <ns3:Document> <ns3:Name>1.0</ns3:Name> </ns3:Document> <ns3:Success/> <ns3:Response> <ns3:TicketDocument> <ns3:TicketDocNbr>4214101933977</ns3:TicketDocNbr> <ns3:Type> <ns3:Code>Y</ns3:Code> </ns3:Type> </ns3:TicketDocument> </ns3:Response> </ns3:AirDocVoidRS> </ns2:Body> </ns2:Envelope>
- No labels