Origin / Destination


Request Definition

Field/ElementMandtoryDetails Format
<OriginDestination>MThis must be repeated for each O&D. If the request is for EDI-AMS return then this must be repeated twice one for EDI-AMS and one for AMS-EDI
   <Departure>M

     <AirportCode>

MAccepts both airport code (LHR) and city code (LON){{string}} XXX
      <Date>MDate of departureYYYY-MM-DD
      <Time>M*Time of DepartureHH:MM
   <Arrival>M

     <AirportCode>

MAccepts both airport code (LHR) and city code (LON){{string}} XXX
      <Date>M*Date of departureYYYY-MM-DD
      <Time>M*Time of DepartureHH:MM
<CalendarDates>O<CalendarDates DaysBefore="3" DaysAfter="3"/> AirShoppingRQ  Only
    DaysBeforeOSearch Offers x Days before Departure Date  {{Integer}}  0..3
    DaysAfterOSearch Offers x Days After Departure Date {{Integer}}  0..3

FlightPrice RQ *

Departure & Arrival Times are Mandatory Fields,  Take flight details from the AirShoppingRS

Limitations

  • Redemption availability is not supported
  • Non flight (hotel) availability is not supported
  • Maximum 6 Origin and Destination can be requested


  • Calendar recommendation will not be returned if clients do not ask for it in AirShoppingRQ i.e if AirShoppingRQ didn’t have CalendarDates requested the service will not return calendar recommendation
  • Calendar recommendation will not be returned for requests containing more than 2 O&Ds even if the client requests for it
  • Client can request for calendar recommendation up to 3 days before and after the requested date e.g. if the client requests
  • AirShoppingRQ/CoreQuery/OriginDestinations/OriginDestination/CalendarDates/DaysBefore = “2” DaysAfter =”2”> then the service will return calendar recommendation for 2 days before 2 days after the requested date
  • AirShoppingRQ/CoreQuery/OriginDestinations/OriginDestination/CalendarDates/DaysBefore = “1” DaysAfter =”1”> then the service will return calendar recommendation for 1 day before 1 day after the requested date
  • AirShoppingRQ/CoreQuery/OriginDestinations/OriginDestination/CalendarDates/DaysBefore = “3” DaysAfter =”3”> then the service will return calendar recommendation for 3 days before 3 days after the requested date
  • Calendar recommendation will not be returned if both DaysBefore and DaysAfter are passed as “0”
  • The service returns calendar recommendation if at least one O&D contains DaysBefore and DaysAfter attributes with non-zero value

Example XML

  <OriginDestinations>
             <OriginDestination>
                <Departure>
                   <AirportCode>LHR</AirportCode>
                   <Date>2018-02-01</Date>
                </Departure>
                <Arrival>
                   <AirportCode>MAD</AirportCode>
                </Arrival>
				<CalendarDates DaysBefore="3" DaysAfter="3"/>
             </OriginDestination>
             <OriginDestination>
                <Departure>
                   <AirportCode>MAD</AirportCode>
                   <Date>2018-02-06</Date>
                </Departure>
                <Arrival>
                   <AirportCode>LHR</AirportCode>
                </Arrival>
				<CalendarDates DaysBefore="3" DaysAfter="3"/>
             </OriginDestination>
   </OriginDestinations>