Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExample - OrderReshopRQ - Availability 17.2v2
Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <OrderReshopRQ xsi:schemaLocation="http://www.iata.org/IATA/EDIST/2017.2 ../../OrderReshopRQ.xsd" Version="5.000" PrimaryLangID="es" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
         <PointOfSale>
            <Location>
               <CountryCode>ES</CountryCode>
            </Location>
         </PointOfSale>
         <Document>
            <ReferenceVersion>5.000</ReferenceVersion>
         </Document>
         <Party>
            <Sender>
               <TravelAgencySender>
                  <Name>Alvaros Agency Tests SA</Name>
                  <Contacts>
                     <Contact>
                        <EmailContact>
                           <Address>pruebas@pruebas.com</Address>
                        </EmailContact>
                        <PhoneContact>
                           <Application>MOBILE</Application>
                           <Number CountryCode="+34">666666666</Number>
                        </PhoneContact>
                        <Name>
                           <Surname>Hernandez</Surname>
                           <Given>Raul</Given>
                        </Name>
                     </Contact>
                  </Contacts>
                  <IATA_Number>12345678</IATA_Number>
                  <AgencyID>Alvaros VIAJES</AgencyID>
               </TravelAgencySender>
            </Sender>
         </Party>
         <Query>
            <OrderID>IB73b10257e52c4aeba1fd7c6b40588064OC</OrderID>
            <Reshop>
               <OrderServicing>
                  <Add>
                     <FlightQuery>
                        <!--Solo indicamos lo que queremos cambiar, lo que se mantiene lo decimos abajo diciendo el servicio que queremos mantenerWe only indicate what we want to change, and what is maintained we say below the service we want to maintain.-->
                        <OriginDestinations>
                           <OriginDestination>
                              <Departure>
                                 <AirportCode>SDR</AirportCode>
                                 <Date>2024-03-05</Date>
                              </Departure>
                              <Arrival>
                                 <AirportCode>EZE</AirportCode>
                              </Arrival>
                           </OriginDestination>
                           <OriginDestination>
                              <Departure>
                                 <AirportCode>EZE</AirportCode>
                                 <Date>2024-03-10</Date>
                              </Departure>
                              <Arrival>
                                 <AirportCode>SDR</AirportCode>
                              </Arrival>
                           </OriginDestination>
                        </OriginDestinations>
                     </FlightQuery>
                     <Preference>
                        <FlightPreferences>
                           <Characteristic>
                              <DirectPreferences>4</DirectPreferences>
                           </Characteristic>
                        </FlightPreferences>
                     </Preference>
                     <Passengers>
                        <PassengerReferences>ADULT_01 ADULT_02</PassengerReferences>
                     </Passengers>
                  </Add>
                  <Delete>
                     <OrderItem OrderItemID="IB73b10257e52c4aeba1fd7c6b40588064OC_01"/>
                     <OrderItem OrderItemID="IB73b10257e52c4aeba1fd7c6b40588064OC_02"/>
                  </Delete>
               </OrderServicing>
            </Reshop>
         </Query>
         <DataLists>
            <PassengerList>
               <Passenger PassengerID="ADULT_01">
                  <PTC>ADT</PTC>
                  <Individual>
                     <GivenName>Luis Alfonso</GivenName>
                     <Surname>PÈrez PÈrez</Surname>
                  </Individual>
               </Passenger>
               <Passenger PassengerID="ADULT_02">
                  <PTC>ADT</PTC>
                  <Individual>
                     <GivenName>Ana Laura</GivenName>
                     <Surname>Santos Perez</Surname>
                  </Individual>
               </Passenger>
            </PassengerList>
         </DataLists>
      </OrderReshopRQ>
   </soapenv:Body>
</soapenv:Envelope>
Expand
titleExample - OrderReshopRQ - Fare 17.2v2
Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <OrderReshopRQ xsi:schemaLocation="http://www.iata.org/IATA/EDIST/2017.2 ../../OrderReshopRQ.xsd" Version="5.000" PrimaryLangID="es" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
         <PointOfSale>
            <Location>
               <CountryCode>ES</CountryCode>
            </Location>
         </PointOfSale>
         <Document>
            <ReferenceVersion>5.000</ReferenceVersion>
         </Document>
         <Party>
            <Sender>
               <TravelAgencySender>
                  <IATA_Number>12345678</IATA_Number>
                  <AgencyID>Alvaros VIAJES</AgencyID>
               </TravelAgencySender>
            </Sender>
         </Party>
         <Query>
            <OrderID>IB73b10257e52c4aeba1fd7c6b40588064OC</OrderID>
            <Reshop>
               <OrderServicing>
                  <!--CambiamosWe only solochange lathe idadeparture, we want queremosto mantenerkeep lathe vueltareturn-->
                  <Add>
                     <Qualifier>
                        <ExistingOrderQualifier>
                           <OrderKeys>
                              <OrderID Owner="IB">IB73b10257e52c4aeba1fd7c6b40588064OC</OrderID>
                              <AssociatedIDs>
                                 <AssociatedID>
                                    <OfferItemID Owner="IB">IB16e45cf7c4c1447abddaea68fb5242dbOP_01</OfferItemID>
                                    <!--Reference to previous ReshopOffer so we can use the items-->
                                 </AssociatedID>
                              </AssociatedIDs>
                           </OrderKeys>
                           <PassengerReferences>ADULT_01 ADULT_02</PassengerReferences>
                        </ExistingOrderQualifier>
                     </Qualifier>
                  </Add>
               </OrderServicing>
            </Reshop>
         </Query>
         <DataLists>
            <PassengerList>
               <Passenger PassengerID="ADULT_01">
                  <PTC>ADT</PTC>
                  <Individual>
                     <GivenName>Luis Alfonso</GivenName>
                     <Surname>PÈrez PÈrez</Surname>
                  </Individual>
               </Passenger>
               <Passenger PassengerID="ADULT_02">
                  <PTC>ADT</PTC>
                  <Individual>
                     <GivenName>Ana Laura</GivenName>
                     <Surname>Santos Perez</Surname>
                  </Individual>
               </Passenger>
            </PassengerList>
         </DataLists>
      </OrderReshopRQ>
   </soapenv:Body>
</soapenv:Envelope>

...