amadeus - American Airlines - amadeus

Using self-service API in production mode - I am not getting American Airlines in the results. Example: "https://api.amadeus.com/v2/shopping/flight-offers?originLocationCode=PHX&destinationLocationCode=SFO&departureDate=2019-12-02&returnDate=2019-12-04&adults=1&travelClass=ECONOMY&nonStop=true&currencyCode=USD&max=20" will give other airlines but not AA. Both the AA site and KAYAK show AA non-stops on those dates.
What Am I doing wrong?
Thanks.

According to Amadeus, "Our APIs return all airline except low cost carriers and American Airline’s flights. We are currently working on this but the negotiations with the airline are still ongoing."

Related

How do I figure out hotelId for any hotel?

I am trying to get hotel specific details using the following api:
/shopping/hotel-offers/by-hotel
how do I figure out the hotelId parameter? For example I want to use the aforementioned api, to get information about Pendry San Diego hotel, what would be the hotelId for this hotel.
Appreciate any help.
The Hotel Search API comes with 3 different endpoints:
Get the list of hotels for a specific location.
Get the hotel and rooms information for a specific hotel (by its hotel id).
Confirm the price and availability before booking.
To get the hotel id, you need to use the first endpoint to find the list of hotels for a given location, then you can use this hotel id with the second endpoint.
As of today, you cannot directly search by a hotel name to get a hotel id. We have this in our backlog but not a specific delivery date yet.
FYI, I searched for hotels in San Diego and retrieved the hotel with the name Pendry San Diego:
"hotelId": "MNSANPSH",
"name": "Pendry San Diego LVX"

Amadeus api List of airport by country

Good day everyone,
Am using amadeus self-service for the first time, i wanted to know if it was possible to get list of airports by their country.
Thanks for the assist.
We do not have a specific API that retrieves airports in given countries. However, you could use our Airport Nearest Relevant API.
This API allows you to find all the airports around specific coordinates (latitude & longitude). You can query the API with the coordinates of the specific country (like the center) and play with the radius parameter (note that the maximum value is 500 kms). This will give you all the airports in this search radius. You can then filter the response by countryName to only retrieve airports in the given country. Of course depending on the size of the country you may need to do this process with multiple geocoordinates.

How to connect rooms from Amadeus Hotel services

So i have database where i store hotels and rooms to that hotels.
Now we are connecting Amadeus Hotel services with our database. There is no problem to connect hotel from Amadeus with our hotel. There is property code and Amadeus id.
The problem is with rooms. We can't find any tutorial about connecting rates (rooms) that are returned from MultiSingleAvailability with our rooms. We have in Amadeus response room_type, room_type_code, rate_plan_code but all of those codes can change as hotel is updating for example property code or doing other things. We need this connection as data that is returned about rooms is very poor and low quality.
Is there any safe way to connect rates with our rooms ?
room_type is returned to us from the hotel providers and corresponds to the type of the room, the quality varies depending on the provider behind.
Something that might help is the following field:
"typeEstimated": {
  "category": "ACCESSIBLE_ROOM",
  "beds": 1,
  "bedType": "QUEEN"
},
Here we are attempting to extract better information about the room by combining the room code with parsing the room description. Of course, we cannot guarantee that this information is 100% accurate.
rateCode: A rate code comes from the provider but is represented in an Amadeus format. It cannot be used to identify a room. In fact, the same room can be offered using multiple rate codes. 
For example: RAC is the public rate offered to everyone, while the hotel could for example offer a discounted price for government workers with the code GOV. A hotel offer is thus a combination of a room type and a rate code.
How are you building your database? What identifiers are you using? Where did you get them from?

Sabre Instaflights Search API only pulling Basic Economy Fares

I am testing the Instaflights Search API to pull fare information for an airline. In this example, using Delta. When I pull the data, I only get the pricing for the Basic Economy and not for Main Cabin or First class. Is there a way to get access to these prices or we are limited to the lowest price? I compared the results with the Delta website and only the flights with Basic Economy seats matched between the API and the airline site.
InstaFligths, retrieves roundtrip or one-way flight itineraries with published fares and fare breakdowns for a given city pair and departure date. The API returns the 300 of the lowest-priced itineraries.
If looking to retrieve different Brands or Cabin Types, please look into Bargain Finder Max API.
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max

Amadeus Service 'No fare for booking code ' error in Fare_Informativebestpricing

I am working on to call the Amadeus Service and get the response for flight search and then book.
Amadeus service method _InformativeBestPricingWithoutPNR is giving following error
1) 'NO VALID FARE/RULE COMBINATIONS FOR PRICING'
2) 'NO FARE FOR BOOKING CODE-TRY OTHER PRICING OPTIONS'
3) 'No INTERLINE AGREEMENT - PRICE SEPARATELY'
Just to know that i am calling Fare_MasterPricerTravelBoard and then select one flight and call the Fare_InformativeBestpricingWithoutPNR , some of the flight is giving proper response in Fare_InformativeBestpricing but some of the are giving error,
Please help, i have read all the document provide by Amadeus extranet site and related document , there are no any solution provide for specific error.
If you haven't already read it, I'd definitely suggest you log in to webservices.amadeus.com and take a look at the Amadeus WBS Implementation Guide - Internet Booking Engine with Master Pricer.
Typically these errors occur because only a subset of the journey returned by Travel Board is being sent to Informative Bestpricing, and this subset is not valid for pricing on its own.
A typical case when this can occur is if you price each leg individually but the Fare Basis used may only apply for a round trip.
Could you please provide more information on the call you are making to Fare_InformativeBestpricingWithoutPNR?
The error says you are combining two different airlines that do not have interline agreements. So in this case you will have to price them separately. For example if you are flying american airlines for the outbound flight, then you cannot fly air france in the inbound flight and price them in one transaction. in this case, assuming American and Air France do not have interline agreements, you have to price them separately.