- Created by Yulia Komarova, last modified on 06.12.2023
Book operation makes a reservation of chosen solution for one or more passengers and returns PNR locator with passengers, itinerary information and Ticket Time Limits in XML.
Table of contents
Request (OrderCreateRQ)
Required inputs
# | Name | Format/Reference | xPath |
---|---|---|---|
1 | Block of access parameters | Use credentials that you received from our technical support. Check out Quick Start | S7 Agent API for how to get it and References for more details | /Envelope/Body/OrderCreateRQ/Party/Sender/AgentUserSender |
2 | Passenger information | This element contains information about passengers: name, surname, date of birth, contacts, passport data, etc. | /Envelope/Body/OrderCreateRQ/Query/Passengers/Passenger |
3 | Passengers and flight segments references | Includes reference elements connecting passengers with the appropriate flights | /Envelope/Body/OrderCreateRQ/Query/OrderItems/ShoppingResponse |
4 | Itinerary information | Solution from Search method RS
| /Envelope/Body/OrderCreateRQ/Query/OrderItems/OfferItem/DetailedFlightItem |
Response (OrderViewRS)
Name | Format/Reference | xPath | |
---|---|---|---|
1 | Passengers information | This element contains information about passengers: name, surname, date of birth, contacts, passport data, etc. | /Envelope/Body/OrderViewRS/Response/Passengers/Passenger |
2 | Booking reservation number | PNR | /Envelope/Body/OrderViewRS/Response/Order/BookingReferences |
3 | Ticketing Time Limit | TTL | /Envelope/Body/OrderViewRS/Response/Order/TimeLimits/PaymentTimeLimit |
4 | Itinerary information | Itinerary information | /Envelope/Body/OrderViewRS/Response/Order/OrderItems |
Samples
Request Expand source
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header />
<Body>
<OrderCreateRQ Version=""
xmlns="http://www.iata.org/IATA/EDIST">
<Document />
<Party>
<Sender>
<AgentUserSender>
<PseudoCity>S70008031</PseudoCity>
<AgentUserID>WSS72API</AgentUserID>
</AgentUserSender>
</Sender>
</Party>
<Query>
<Passengers>
<Passenger ObjectKey="SH1">
<PTC>ZEA</PTC>
<Age>
<BirthDate>1992-02-27</BirthDate>
</Age>
<Name>
<Surname>Pilatus</Surname>
<Given>Pontius</Given>
<Title>MR</Title>
</Name>
<Contacts>
<Contact>
<EmailContact>
<Address>y.komarova@s7.ru</Address>
</EmailContact>
<PhoneContact>
<Number CountryCode="7" AreaCode="999">9999999</Number>
</PhoneContact>
</Contact>
</Contacts>
<Gender>Male</Gender>
<PassengerIDInfo>
<PassengerDocument>
<Type>PP</Type>
<ID>111111111</ID>
<BirthCountry>RU</BirthCountry>
<DateOfIssue>2012-02-27</DateOfIssue>
<DateOfExpiration>2030-02-27</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>OVB</AirportCode>
<Date>2023-12-11</Date>
<Time>12:25</Time>
</Departure>
<Arrival>
<AirportCode>DME</AirportCode>
<Date>2023-12-11</Date>
<Time>15:10</Time>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2514</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2514</FlightNumber>
</OperatingCarrier>
<ClassOfService>
<Code>E</Code>
</ClassOfService>
</Flight>
</OriginDestination>
<OriginDestination>
<Flight>
<SegmentKey>FL2</SegmentKey>
<Departure>
<AirportCode>DME</AirportCode>
<Date>2023-12-28</Date>
<Time>21:05</Time>
</Departure>
<Arrival>
<AirportCode>OVB</AirportCode>
<Date>2023-12-29</Date>
<Time>05:15</Time>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2511</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2511</FlightNumber>
</OperatingCarrier>
<ClassOfService>
<Code>E</Code>
</ClassOfService>
</Flight>
</OriginDestination>
</DetailedFlightItem>
</OfferItemType>
</OfferItem>
</OrderItems>
</Query>
</OrderCreateRQ>
</Body>
</Envelope>
Response Expand source
<?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">ZEA</ns3:PTC>
<ns3:Age>
<ns3:BirthDate>1992-02-27</ns3:BirthDate>
</ns3:Age>
<ns3:Name>
<ns3:Surname>PILATUS</ns3:Surname>
<ns3:Given>PONTIUS</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">9999999999</ns3:Number>
</ns3:PhoneContact>
</ns3:Contact>
</ns3:Contacts>
<ns3:Gender>Male</ns3:Gender>
<ns3:PassengerIDInfo>
<ns3:PassengerDocument>
<ns3:Type>PP</ns3:Type>
<ns3:ID>111111111</ns3:ID>
<ns3:BirthCountry>RU</ns3:BirthCountry>
<ns3:DateOfExpiration>2030-02-27</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>M1SHSJ</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>SA</ns3:Code>
</ns3:StatusCode>
</ns3:Status>
<ns3:Departure>
<ns3:AirportCode>OVB</ns3:AirportCode>
<ns3:Date>2023-12-11</ns3:Date>
<ns3:Time>12:25</ns3:Time>
</ns3:Departure>
<ns3:Arrival>
<ns3:AirportCode>DME</ns3:AirportCode>
<ns3:Date>2023-12-11</ns3:Date>
<ns3:Time>15:10</ns3:Time>
</ns3:Arrival>
<ns3:MarketingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2514</ns3:FlightNumber>
</ns3:MarketingCarrier>
<ns3:OperatingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2514</ns3:FlightNumber>
</ns3:OperatingCarrier>
<ns3:CabinType>
<ns3:Code>Y</ns3:Code>
</ns3:CabinType>
<ns3:ClassOfService>
<ns3:Code>E</ns3:Code>
</ns3:ClassOfService>
</ns3:Flight>
</ns3:OriginDestination>
<ns3:OriginDestination>
<ns3:Flight>
<ns3:SegmentKey>FL2</ns3:SegmentKey>
<ns3:Status>
<ns3:StatusCode>
<ns3:Code>SA</ns3:Code>
</ns3:StatusCode>
</ns3:Status>
<ns3:Departure>
<ns3:AirportCode>DME</ns3:AirportCode>
<ns3:Date>2023-12-28</ns3:Date>
<ns3:Time>21:05</ns3:Time>
</ns3:Departure>
<ns3:Arrival>
<ns3:AirportCode>OVB</ns3:AirportCode>
<ns3:Date>2023-12-29</ns3:Date>
<ns3:Time>05:15</ns3:Time>
</ns3:Arrival>
<ns3:MarketingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2511</ns3:FlightNumber>
</ns3:MarketingCarrier>
<ns3:OperatingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2511</ns3:FlightNumber>
</ns3:OperatingCarrier>
<ns3:CabinType>
<ns3:Code>Y</ns3:Code>
</ns3:CabinType>
<ns3:ClassOfService>
<ns3:Code>E</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="MOW">
<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>
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header /> <Body> <OrderCreateRQ Version="" xmlns="http://www.iata.org/IATA/EDIST"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S70008031</PseudoCity> <AgentUserID>WSS72API</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Passengers> <Passenger ObjectKey="SH1"> <PTC>ZEA</PTC> <Age> <BirthDate>1992-02-27</BirthDate> </Age> <Name> <Surname>Pilatus</Surname> <Given>Pontius</Given> <Title>MR</Title> </Name> <Contacts> <Contact> <EmailContact> <Address>y.komarova@s7.ru</Address> </EmailContact> <PhoneContact> <Number CountryCode="7" AreaCode="999">9999999</Number> </PhoneContact> </Contact> </Contacts> <Gender>Male</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2012-02-27</DateOfIssue> <DateOfExpiration>2030-02-27</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>OVB</AirportCode> <Date>2023-12-11</Date> <Time>12:25</Time> </Departure> <Arrival> <AirportCode>DME</AirportCode> <Date>2023-12-11</Date> <Time>15:10</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2514</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2514</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>E</Code> </ClassOfService> </Flight> </OriginDestination> <OriginDestination> <Flight> <SegmentKey>FL2</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-28</Date> <Time>21:05</Time> </Departure> <Arrival> <AirportCode>OVB</AirportCode> <Date>2023-12-29</Date> <Time>05:15</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2511</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2511</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>E</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">ZEA</ns3:PTC> <ns3:Age> <ns3:BirthDate>1992-02-27</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>PONTIUS</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">9999999999</ns3:Number> </ns3:PhoneContact> </ns3:Contact> </ns3:Contacts> <ns3:Gender>Male</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2030-02-27</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>M1SHSJ</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>SA</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-12-11</ns3:Date> <ns3:Time>12:25</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-11</ns3:Date> <ns3:Time>15:10</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2514</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2514</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>E</ns3:Code> </ns3:ClassOfService> </ns3:Flight> </ns3:OriginDestination> <ns3:OriginDestination> <ns3:Flight> <ns3:SegmentKey>FL2</ns3:SegmentKey> <ns3:Status> <ns3:StatusCode> <ns3:Code>SA</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-28</ns3:Date> <ns3:Time>21:05</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-12-29</ns3:Date> <ns3:Time>05:15</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2511</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2511</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>E</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="MOW"> <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>
Check out
operation overview, their main purpose and use cases
references with detailed explanation of input&output parameters and possible errors
other samples
Request Expand source
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header />
<Body>
<OrderCreateRQ Version=""
xmlns="http://www.iata.org/IATA/EDIST">
<Document />
<Party>
<Sender>
<AgentUserSender>
<PseudoCity>S70008031</PseudoCity>
<AgentUserID>WSS72API</AgentUserID>
</AgentUserSender>
</Sender>
</Party>
<Query>
<Passengers>
<Passenger ObjectKey="SH1">
<PTC>ZEA</PTC>
<Age>
<BirthDate>1992-02-27</BirthDate>
</Age>
<Name>
<Surname>Pilatus</Surname>
<Given>Pontius</Given>
<Title>MR</Title>
</Name>
<Contacts>
<Contact>
<EmailContact>
<Address>y.komarova@s7.ru</Address>
</EmailContact>
<PhoneContact>
<Number CountryCode="7" AreaCode="999">9999999</Number>
</PhoneContact>
</Contact>
</Contacts>
<Gender>Male</Gender>
<PassengerIDInfo>
<PassengerDocument>
<Type>PP</Type>
<ID>111111111</ID>
<BirthCountry>RU</BirthCountry>
<DateOfIssue>2012-02-27</DateOfIssue>
<DateOfExpiration>2030-02-27</DateOfExpiration>
<CountryOfResidence>RU</CountryOfResidence>
</PassengerDocument>
</PassengerIDInfo>
</Passenger>
<Passenger ObjectKey="SH2">
<PTC>ZEC</PTC>
<Age>
<BirthDate>2015-02-27</BirthDate>
</Age>
<Name>
<Surname>Pilatus</Surname>
<Given>Sevda</Given>
<Title>MRS</Title>
</Name>
<Contacts>
<Contact>
<EmailContact>
<Address>y.komarova@s7.ru</Address>
</EmailContact>
<PhoneContact>
<Number CountryCode="7" AreaCode="999">9999999</Number>
</PhoneContact>
</Contact>
</Contacts>
<Gender>Female</Gender>
<PassengerIDInfo>
<PassengerDocument>
<Type>PP</Type>
<ID>111111111</ID>
<BirthCountry>RU</BirthCountry>
<DateOfIssue>2012-02-27</DateOfIssue>
<DateOfExpiration>2030-02-27</DateOfExpiration>
<CountryOfResidence>RU</CountryOfResidence>
</PassengerDocument>
</PassengerIDInfo>
</Passenger>
<Passenger ObjectKey="SH3">
<PTC>ZEI</PTC>
<Age>
<BirthDate>2022-02-27</BirthDate>
</Age>
<Name>
<Surname>Pilatus</Surname>
<Given>Bonga</Given>
<Title>MRS</Title>
</Name>
<Gender>Female</Gender>
<PassengerIDInfo>
<PassengerDocument>
<Type>PP</Type>
<ID>111111111</ID>
<BirthCountry>RU</BirthCountry>
<DateOfIssue>2012-02-27</DateOfIssue>
<DateOfExpiration>2030-02-27</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 SH2 SH3</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>OVB</AirportCode>
<Date>2023-12-11</Date>
<Time>12:25</Time>
</Departure>
<Arrival>
<AirportCode>DME</AirportCode>
<Date>2023-12-11</Date>
<Time>15:10</Time>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2514</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2514</FlightNumber>
</OperatingCarrier>
<ClassOfService>
<Code>E</Code>
</ClassOfService>
</Flight>
</OriginDestination>
<OriginDestination>
<Flight>
<SegmentKey>FL2</SegmentKey>
<Departure>
<AirportCode>DME</AirportCode>
<Date>2023-12-28</Date>
<Time>21:05</Time>
</Departure>
<Arrival>
<AirportCode>OVB</AirportCode>
<Date>2023-12-29</Date>
<Time>05:15</Time>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2511</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>2511</FlightNumber>
</OperatingCarrier>
<ClassOfService>
<Code>E</Code>
</ClassOfService>
</Flight>
</OriginDestination>
</DetailedFlightItem>
</OfferItemType>
</OfferItem>
</OrderItems>
</Query>
</OrderCreateRQ>
</Body>
</Envelope>
Response Expand source
<?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">ZEA</ns3:PTC>
<ns3:Age>
<ns3:BirthDate>1992-02-27</ns3:BirthDate>
</ns3:Age>
<ns3:Name>
<ns3:Surname>PILATUS</ns3:Surname>
<ns3:Given>PONTIUS</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">9999999999</ns3:Number>
</ns3:PhoneContact>
</ns3:Contact>
</ns3:Contacts>
<ns3:Gender>Male</ns3:Gender>
<ns3:PassengerIDInfo>
<ns3:PassengerDocument>
<ns3:Type>PP</ns3:Type>
<ns3:ID>111111111</ns3:ID>
<ns3:BirthCountry>RU</ns3:BirthCountry>
<ns3:DateOfExpiration>2030-02-27</ns3:DateOfExpiration>
<ns3:CountryOfResidence>RU</ns3:CountryOfResidence>
</ns3:PassengerDocument>
</ns3:PassengerIDInfo>
</ns3:Passenger>
<ns3:Passenger ObjectKey="SH3">
<ns3:PTC Quantity="1">ZEI</ns3:PTC>
<ns3:Age>
<ns3:BirthDate>2022-02-27</ns3:BirthDate>
</ns3:Age>
<ns3:Name>
<ns3:Surname>PILATUS</ns3:Surname>
<ns3:Given>BONGA</ns3:Given>
<ns3:Title>MS</ns3:Title>
<ns3:Middle/>
</ns3:Name>
<ns3:Gender>Female</ns3:Gender>
<ns3:PassengerIDInfo>
<ns3:PassengerDocument>
<ns3:Type>PP</ns3:Type>
<ns3:ID>111111111</ns3:ID>
<ns3:BirthCountry>RU</ns3:BirthCountry>
<ns3:DateOfExpiration>2030-02-27</ns3:DateOfExpiration>
<ns3:CountryOfResidence>RU</ns3:CountryOfResidence>
</ns3:PassengerDocument>
</ns3:PassengerIDInfo>
</ns3:Passenger>
<ns3:Passenger ObjectKey="SH2">
<ns3:PTC Quantity="1">ZEC</ns3:PTC>
<ns3:Age>
<ns3:BirthDate>2015-02-27</ns3:BirthDate>
</ns3:Age>
<ns3:Name>
<ns3:Surname>PILATUS</ns3:Surname>
<ns3:Given>SEVDA</ns3:Given>
<ns3:Title>MS</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">9999999999</ns3:Number>
</ns3:PhoneContact>
</ns3:Contact>
</ns3:Contacts>
<ns3:Gender>Female</ns3:Gender>
<ns3:PassengerIDInfo>
<ns3:PassengerDocument>
<ns3:Type>PP</ns3:Type>
<ns3:ID>111111111</ns3:ID>
<ns3:BirthCountry>RU</ns3:BirthCountry>
<ns3:DateOfExpiration>2030-02-27</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>M1SHSM</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>SA</ns3:Code>
</ns3:StatusCode>
</ns3:Status>
<ns3:Departure>
<ns3:AirportCode>OVB</ns3:AirportCode>
<ns3:Date>2023-12-11</ns3:Date>
<ns3:Time>12:25</ns3:Time>
</ns3:Departure>
<ns3:Arrival>
<ns3:AirportCode>DME</ns3:AirportCode>
<ns3:Date>2023-12-11</ns3:Date>
<ns3:Time>15:10</ns3:Time>
</ns3:Arrival>
<ns3:MarketingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2514</ns3:FlightNumber>
</ns3:MarketingCarrier>
<ns3:OperatingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2514</ns3:FlightNumber>
</ns3:OperatingCarrier>
<ns3:CabinType>
<ns3:Code>Y</ns3:Code>
</ns3:CabinType>
<ns3:ClassOfService>
<ns3:Code>E</ns3:Code>
</ns3:ClassOfService>
</ns3:Flight>
</ns3:OriginDestination>
<ns3:OriginDestination>
<ns3:Flight>
<ns3:SegmentKey>FL2</ns3:SegmentKey>
<ns3:Status>
<ns3:StatusCode>
<ns3:Code>SA</ns3:Code>
</ns3:StatusCode>
</ns3:Status>
<ns3:Departure>
<ns3:AirportCode>DME</ns3:AirportCode>
<ns3:Date>2023-12-28</ns3:Date>
<ns3:Time>21:05</ns3:Time>
</ns3:Departure>
<ns3:Arrival>
<ns3:AirportCode>OVB</ns3:AirportCode>
<ns3:Date>2023-12-29</ns3:Date>
<ns3:Time>05:15</ns3:Time>
</ns3:Arrival>
<ns3:MarketingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2511</ns3:FlightNumber>
</ns3:MarketingCarrier>
<ns3:OperatingCarrier>
<ns3:AirlineID>S7</ns3:AirlineID>
<ns3:FlightNumber>2511</ns3:FlightNumber>
</ns3:OperatingCarrier>
<ns3:CabinType>
<ns3:Code>Y</ns3:Code>
</ns3:CabinType>
<ns3:ClassOfService>
<ns3:Code>E</ns3:Code>
</ns3:ClassOfService>
</ns3:Flight>
</ns3:OriginDestination>
</ns3:FlightItem>
<ns3:Associations>
<ns3:Passengers>
<ns3:PassengerReferences>SH4 SH3 SH2</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="MOW">
<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>
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="" xmlns="http://www.iata.org/IATA/EDIST"> <Document /> <Party> <Sender> <AgentUserSender> <PseudoCity>S70008031</PseudoCity> <AgentUserID>WSS72API</AgentUserID> </AgentUserSender> </Sender> </Party> <Query> <Passengers> <Passenger ObjectKey="SH1"> <PTC>ZEA</PTC> <Age> <BirthDate>1992-02-27</BirthDate> </Age> <Name> <Surname>Pilatus</Surname> <Given>Pontius</Given> <Title>MR</Title> </Name> <Contacts> <Contact> <EmailContact> <Address>y.komarova@s7.ru</Address> </EmailContact> <PhoneContact> <Number CountryCode="7" AreaCode="999">9999999</Number> </PhoneContact> </Contact> </Contacts> <Gender>Male</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2012-02-27</DateOfIssue> <DateOfExpiration>2030-02-27</DateOfExpiration> <CountryOfResidence>RU</CountryOfResidence> </PassengerDocument> </PassengerIDInfo> </Passenger> <Passenger ObjectKey="SH2"> <PTC>ZEC</PTC> <Age> <BirthDate>2015-02-27</BirthDate> </Age> <Name> <Surname>Pilatus</Surname> <Given>Sevda</Given> <Title>MRS</Title> </Name> <Contacts> <Contact> <EmailContact> <Address>y.komarova@s7.ru</Address> </EmailContact> <PhoneContact> <Number CountryCode="7" AreaCode="999">9999999</Number> </PhoneContact> </Contact> </Contacts> <Gender>Female</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2012-02-27</DateOfIssue> <DateOfExpiration>2030-02-27</DateOfExpiration> <CountryOfResidence>RU</CountryOfResidence> </PassengerDocument> </PassengerIDInfo> </Passenger> <Passenger ObjectKey="SH3"> <PTC>ZEI</PTC> <Age> <BirthDate>2022-02-27</BirthDate> </Age> <Name> <Surname>Pilatus</Surname> <Given>Bonga</Given> <Title>MRS</Title> </Name> <Gender>Female</Gender> <PassengerIDInfo> <PassengerDocument> <Type>PP</Type> <ID>111111111</ID> <BirthCountry>RU</BirthCountry> <DateOfIssue>2012-02-27</DateOfIssue> <DateOfExpiration>2030-02-27</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 SH2 SH3</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>OVB</AirportCode> <Date>2023-12-11</Date> <Time>12:25</Time> </Departure> <Arrival> <AirportCode>DME</AirportCode> <Date>2023-12-11</Date> <Time>15:10</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2514</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2514</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>E</Code> </ClassOfService> </Flight> </OriginDestination> <OriginDestination> <Flight> <SegmentKey>FL2</SegmentKey> <Departure> <AirportCode>DME</AirportCode> <Date>2023-12-28</Date> <Time>21:05</Time> </Departure> <Arrival> <AirportCode>OVB</AirportCode> <Date>2023-12-29</Date> <Time>05:15</Time> </Arrival> <MarketingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2511</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>S7</AirlineID> <FlightNumber>2511</FlightNumber> </OperatingCarrier> <ClassOfService> <Code>E</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">ZEA</ns3:PTC> <ns3:Age> <ns3:BirthDate>1992-02-27</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>PONTIUS</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">9999999999</ns3:Number> </ns3:PhoneContact> </ns3:Contact> </ns3:Contacts> <ns3:Gender>Male</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2030-02-27</ns3:DateOfExpiration> <ns3:CountryOfResidence>RU</ns3:CountryOfResidence> </ns3:PassengerDocument> </ns3:PassengerIDInfo> </ns3:Passenger> <ns3:Passenger ObjectKey="SH3"> <ns3:PTC Quantity="1">ZEI</ns3:PTC> <ns3:Age> <ns3:BirthDate>2022-02-27</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>BONGA</ns3:Given> <ns3:Title>MS</ns3:Title> <ns3:Middle/> </ns3:Name> <ns3:Gender>Female</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2030-02-27</ns3:DateOfExpiration> <ns3:CountryOfResidence>RU</ns3:CountryOfResidence> </ns3:PassengerDocument> </ns3:PassengerIDInfo> </ns3:Passenger> <ns3:Passenger ObjectKey="SH2"> <ns3:PTC Quantity="1">ZEC</ns3:PTC> <ns3:Age> <ns3:BirthDate>2015-02-27</ns3:BirthDate> </ns3:Age> <ns3:Name> <ns3:Surname>PILATUS</ns3:Surname> <ns3:Given>SEVDA</ns3:Given> <ns3:Title>MS</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">9999999999</ns3:Number> </ns3:PhoneContact> </ns3:Contact> </ns3:Contacts> <ns3:Gender>Female</ns3:Gender> <ns3:PassengerIDInfo> <ns3:PassengerDocument> <ns3:Type>PP</ns3:Type> <ns3:ID>111111111</ns3:ID> <ns3:BirthCountry>RU</ns3:BirthCountry> <ns3:DateOfExpiration>2030-02-27</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>M1SHSM</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>SA</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-12-11</ns3:Date> <ns3:Time>12:25</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-11</ns3:Date> <ns3:Time>15:10</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2514</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2514</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>E</ns3:Code> </ns3:ClassOfService> </ns3:Flight> </ns3:OriginDestination> <ns3:OriginDestination> <ns3:Flight> <ns3:SegmentKey>FL2</ns3:SegmentKey> <ns3:Status> <ns3:StatusCode> <ns3:Code>SA</ns3:Code> </ns3:StatusCode> </ns3:Status> <ns3:Departure> <ns3:AirportCode>DME</ns3:AirportCode> <ns3:Date>2023-12-28</ns3:Date> <ns3:Time>21:05</ns3:Time> </ns3:Departure> <ns3:Arrival> <ns3:AirportCode>OVB</ns3:AirportCode> <ns3:Date>2023-12-29</ns3:Date> <ns3:Time>05:15</ns3:Time> </ns3:Arrival> <ns3:MarketingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2511</ns3:FlightNumber> </ns3:MarketingCarrier> <ns3:OperatingCarrier> <ns3:AirlineID>S7</ns3:AirlineID> <ns3:FlightNumber>2511</ns3:FlightNumber> </ns3:OperatingCarrier> <ns3:CabinType> <ns3:Code>Y</ns3:Code> </ns3:CabinType> <ns3:ClassOfService> <ns3:Code>E</ns3:Code> </ns3:ClassOfService> </ns3:Flight> </ns3:OriginDestination> </ns3:FlightItem> <ns3:Associations> <ns3:Passengers> <ns3:PassengerReferences>SH4 SH3 SH2</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="MOW"> <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>
- No labels