Get Direct Fare & Get Fare

Get Direct Fare

This is used when you have used a third party Shopping (Availability Pricing) engine and already know the specific flights you require. As a result, we return various Offers with different Fare Products.

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

<JourneyData> Only for Get Direct Fare

Flight / OriginDestinationKey

ID for the Origin/Destination (only for Direct OfferPrice)

Alphanumeric

This attribute can be filled with any value, but first character cannot be a number digit or a special character.

Flight / Flight / Departure / AirportCode

IATA 3 character code for the departure city/airport/station

3 Alphanumeric

Any valid departure point listed in the Airline Profile

Flight / Flight / Departure / Date

Date of departure

Date (yyyy-MM-dd)

Any future date within 3

Flight / Flight / Arrival / AirportCode

IATA 3 character code for the departure city/airport/station

3 Alphanumeric

Any valid departure point listed in the Airline Profile

Flight / Flight / MarketingCarrier / AirlineID

Id for the airline that markets the flight

Alphabetical

Any

Flight / Flight / MarketingCarrier / FlightNumber

Marketing Flight number identifier (0449…)

Numeric (4 numbers)

Any

Offer / OfferItem / PassengerRefs

The references of the passengers for whom the Offers must apply, and the same as those included in the DataLists/PassengerList where the number of Passengers the their Type are indicated.

Alphanumeric

As per description

<JourneyData> <Flight> <OriginDestinationKey>IDA</OriginDestinationKey> <Flight> <Departure> <AirportCode>MAD</AirportCode> <Date>2023-05-24</Date> </Departure> <Arrival> <AirportCode>PMI</AirportCode> </Arrival> <MarketingCarrier> <AirlineID>IB</AirlineID> <FlightNumber>3916</FlightNumber> </MarketingCarrier> </Flight> </Flight> <Flight> <OriginDestinationKey>VUELTA</OriginDestinationKey> <Flight> <Departure> <AirportCode>PMI</AirportCode> <Date>2023-05-31</Date> </Departure> <Arrival> <AirportCode>MAD</AirportCode> </Arrival> <MarketingCarrier> <AirlineID>IB</AirlineID> <FlightNumber>3919</FlightNumber> </MarketingCarrier> </Flight> </Flight> </JourneyData>

Get Fare

Used when you have used our AirShopping API and have obtained an OfferID to include in this request.

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

<Query> Only for Get Fare

Offer

Attribute

OfferID

Attribute

Owner

Attribute

ResponseID

 

Used to reference the following:

  • The ID of an Offer returned in the previous AirShoppingRS

  • Together with the Owner of said Offer. Today this is always “IB”

  • Together with the ResponseID from the previous AirShoppingRS

Alphanumeric

As per description.

OfferItem

 

The ID of the OfferItem returned in the previous AirShoppingRS for which you want the details.

Alphanumeric

As per description.

Offer / OfferItem / PassengerRefs

The references of the passengers for whom the previous AirShopping was done and the same as those included in the DataLists/PassengerList

Alphanumeric

The same as those returned in the AirShoppingRS

<Query> <Offer OfferID="IBb3ce8b2b68f443a391df5d41969b4c81OC" Owner="IB" ResponseID="Qm9va2luZ0AxNjg5ODQ2MTg2MDIzLXFXUDl6"> <OfferItem OfferItemID="IBb3ce8b2b68f443a391df5d41969b4c81OC_01"> <PassengerRefs>ADULT_01 ADULT_02</PassengerRefs> </OfferItem> <OfferItem OfferItemID="IBb3ce8b2b68f443a391df5d41969b4c81OC_02"> <PassengerRefs>CHILD_01</PassengerRefs> </OfferItem> </Offer> </Query>