- Created by Uliana Arefina on 14.09.2023
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
<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>2023-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 FL2</FlightReferences> </ApplicableFlight> </OfferItem> </OfferItems> </Offer> </Offers> </ShoppingResponse> <OfferItem> <OfferItemID Owner="S7">UNKNOWN</OfferItemID> <OfferItemType> <DetailedFlightItem> <OriginDestination> <Flight> <SegmentKey>FL1</SegmentKey> <Departure> <AirportCode>MSQ</AirportCode> <Date>2023-06-21</Date> <Time>12:50</Time> </Departure> <Arrival> <AirportCode>DME</AirportCode> <Date>2023-06-21</Date> <Time>14:15</Time> </Arrival> <MarketingCarrier> <AirlineID>B2</AirlineID> <FlightNumber>951</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>B2</AirlineID> <FlightNumber>951</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>W</Code> </ClassOfService> </Flight> <Flight> <SegmentKey>FL2</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-06-21</Date> <Time>17:10</Time> </Departure> <Arrival> <AirportCode>OVB</AirportCode> <Date>2023-06-22</Date> <Time>01:15</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2509</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2509</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>Q</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">1111111111</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>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>LXKSLB</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> <ns3:BookingReference> <ns3:Type> <ns3:Definition>FL2</ns3:Definition> </ns3:Type> <ns3:ID>WAITING</ns3:ID> <ns3:AirlineID>PG</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences> <ns3:TimeLimits> <ns3:PaymentTimeLimit DateTime="2023-09-17T13:22: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>IKT</ns3:AirportCode> <ns3:Date>2023-11-01</ns3:Date> <ns3:Time>10:10</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>BKK</ns3:AirportCode> <ns3:Date>2023-11-01</ns3:Date> <ns3:Time>15:30</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>6309</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>6309</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>K</ns3:Code> </ns3:ClassOfService> </ns3:Flight> <ns3:Flight> <ns3:SegmentKey>FL2</ns3:SegmentKey> <ns3:Status> <ns3:StatusCode> <ns3:Code>HN</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>BKK</ns3:AirportCode> <ns3:Date>2023-11-01</ns3:Date> <ns3:Time>19:40</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>HKT</ns3:AirportCode> <ns3:Date>2023-11-01</ns3:Date> <ns3:Time>21:10</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>PG</ns3:AirlineID> <ns3:FlightNumber>279</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>PG</ns3:AirlineID> <ns3:FlightNumber>279</ns3:FlightNumber> </ns3:OperatingCarrier> <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>
Partner PNR
Service assigns two PNR locator (BookingReference) for order with interline flight (Marketing and Operating carrier is not S7)
BookingReferences
<ns3:BookingReferences> <ns3:BookingReference> <ns3:ID>LXKSLB</ns3:ID> <ns3:AirlineID>S7</ns3:AirlineID> </ns3:BookingReference> <ns3:BookingReference> <ns3:Type> <ns3:Definition>FL2</ns3:Definition> </ns3:Type> <ns3:ID>WAITING</ns3:ID> <ns3:AirlineID>PG</ns3:AirlineID> </ns3:BookingReference> </ns3:BookingReferences>
Second BookingReference with value 'WAITING' means that partner airline has not assigned the PNR value yet
Please complete Read operation to update order status
Besides you receive partner segment status 'HN' if partner BookingReference not assigned yet
- No labels