Seat map visibility - amadeus

When I query seat maps for certain flights, I find that much of the seatmap comes back with "blocked" status. I can confirm with various other sources (airline webpage, ExpertFlyer, etc.) that many of the seats showing up as blocked in the Amadeus API are actually open.
One example is the following query for EWR-LHR flights on UA. I run this as a GET query on the flight-offers API and then pass the results to the seat map API.
https://test.api.amadeus.com/v2/shopping/flight-offers?originLocationCode=JFK&destinationLocationCode=LHR&departureDate=2020-12-18&adults=1&nonStop=true&max=250
This comes back with rows 30-35 or so all "BLOCKED" status. Many of these seats are in reality open, but United may charge an extra fee to book them.
Is there a way to show actual seat availability or include the information on seats for purchase? Alternatively, can I specify the booking class in the query somehow? E.g. I wonder if I asked for a higher class of fare (e.g. full-fare Y) maybe no seat charge would be required (not completely familiar with UA's rules on this). Overall my goal is to see all actual available seats.

The SeatMap Display API builds the aircraft seatmap based on specific flight offer. That’s why the information you get for the seat availability depends on the traveler class information. In the Flight Offers Search API you can define with the parameter travelClass the travel class; economy, premium economy, business or first class. Also, in the test environment it's normal to have discrepancies with other sources as the test environment doesn't contain the full and live data.

Related

On-Demand Flight Status | Gate Information not working

using the Java SDK, trying to use the On-Demand Flight Status API will result in following error, if a Gate is specified:
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $[0].flightPoints[0].departure.gate
From the documentation I assume that gate should be a JSONObject with the mainGate attribute, but apparently it has been encoded as a JSONArray in the SDK.
I would be grateful about some feedback on this. Maybe I am doing something wrong?
Thanks!
P.S.
If I may add some suggestions:
Would it be possible to make segments.partnership return the flight number of the operating carrier, if the search is done with a codeshare flight? Currently it seems to just return 0, if a codeshare flight number is entered. (e.g. searching for A37136 will return OA0, instead of OA136). Also, it would be great if segments.partnership was to return all codeshare flight numbers for particular flight, and not only one.
The possibility to access fare rules from Flight Offers would be great as well. I understand that displaying fares between two cities is a feature of the Enterprise API (which I probably am not eligible to use), but it would be great to be able to see data, such as Travel and Sales restrictions like these:
VALID FOR TRAVEL COMMENCING ON/AFTER 20SEP 21 AND ON/BEFORE 10MAR 22.
TICKETS MUST BE ISSUED ON/BEFORE 29SEP 21.
As always, thank you for your work!
Below you can find the answers on the topics mentioned in your questions:
Java SDK - gate info not working
Thanks for the report, we've opened the issue on GitHub where you can track its status.
Flight Fare rules
The fare rules can be found for each flight with the Flight Offers Price API where you would have to add the query parameter include=detailed-fare-rules your URL, such as:
https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
Operating carrier in codeshare flight
Indeed with the specific flight doesn't return properly the operating carrier flight number, however, we tested it with other codeshare flights and it worked fine. It seems that the issue is coming directly from the providers and the data they share.
Return all codeshare flight numbers
This is not possible from the legal point of view, as it means it would expose the partnerships and private business between the airlines.

Which Sabre API can get count of booked passengers on a flight?

I need help to identify an API that can give us a count of passengers booked on a flight. Input is greatly appreciated. Thnx.
Short answer, there's no API that can give you such information (unless you're the airline, of course).
I believe that the information that you'd need would be the available seats, for you which you can use the service Air Availability. This will show you the available spaces up to 9, but it depends on the airline how much you see. Even if you see 4, it could still mean that there are more available for that RBD (class of service).
There are sabre web services that can provide that information, but which service you use depends if you're within the flight operational window or not. If the flight is initialized and within the operational window (which is normally 3 - 5 days before flight departure) you can use the ACS (airport control system) services.
ACS_FlightDetailsRQ - This will return a count of passengers booked in each cabin of a flight
ACS_PassengerListRQ - This will return more detailed information for all passengers that are booked on a flight.
If you're before the operational window, then you need to use other services that show the booked passengers on the flight. From memory I think TripReportsRQ is a web service that can provide that information.
Also there's always the SabreCommandLLSRQ service that will let you issue native sabre commands to obtain this information.
You may be able to glean some of that information from pulling up a seat map API (perhaps Get Seat Map Counts?), but the number of assigned seats likely does not match the number of ticketed passengers for a given flight.
You'd have to use back office data or some sort of queue spectra kind of process to find the number of passengers booked from your own agency on a given flight, there is no API that I know of that would do that for you.

Amadeus Web Services - Fair Quote API

I am trying to find the equivalent of FQP/FQD/FQN queries in the Amadeus SOAP service (Flight) API, but couldn't find one. I checked the API documents as well with no luck. There is command cryptic API to call the GDS commands, but the response is raw data as in the terminal, not a structured one. I need structured data response to precess data in the system.
Is there any SOAP APIs available to get the fare details and the rules?
Thanks
This is a question best sent to Amadeus directly! It's hard to know exactly what you are after without more information. Also Amadeus offer a wide variety of doing basically the same thing and your business can be better off using one or the other - its really impossible to tell without background information.
Check out these webservice calls:
Fare_PricePNRWithBookingClass
The function Fare_PricePNRWithBookingClass is used to price itineraries.
It can return one or several fare recommendations for the passenger(s) and for the itinerary of the active PNR. Only booking classes present in the flight segment of the PNR are considered.
After calling Fare_PricePNRWithBookingClass function, the system keeps the recommendations stored internally for three minutes in a dedicated context. This context can be used to create a TST by using Ticket_CreateTSTFromPricing.
Fare_PricePNRWithLowerFares
The function Fare_PricePNRWithLowerFares is used to display the lowest available fare for a given itinerary.
"Lowest available" means that this fare is applicable in a booking class where there are still enough seats available for the passengers of the PNR. This class might not be the one currently present in the flight segment of the PNR. In this case, rebooking might be necessary.
It can return one or several fare recommendations for the passenger(s) and for the itinerary of the active PNR.
After calling Fare_PricePNRWithLowerFares function, the system keeps the recommendations stored internally for three minutes in a dedicated context. This context can be used to create a TST by using Ticket_CreateTSTFromPricing. Please not that in case rebooking is required, it must be done (for example, using Air_RebookAirSegment) before TST creation.
Fare_InformativeBestPricingWithoutPNR
The InformativeBestPricingWithoutPNR function provided in the Fare interface is used to price informatively an itinerary without any PNR. If a PNR exists, it is neither taken into account nor updated. No pricing record (TST) is created to store the results.
Fare_QuoteItinerary
The QuoteItinary transaction (FQP) quotes fares for passenger types without existing reservations (PNR). Pricing is executed according to the principles of IATA resolutions as well as according to specific user requirements, if industry conform or individual.
Most likely there are more options available (that I don't know about).
Documentation available at https://webservices.amadeus.com/ - login required.

In magento 2, zip code text box to search the store available or not

I am new to Magento.
I want a text box where i can type the zip code and if the store available in that location then i need to show the products of that particular store otherwise we need to show that "the store is not available in particular location".
The following is the example site. i want it as it is.
this site prompts for users zip location .after it will display stores of that particular.
Click on this link to see the working example
how do i do this . Do i need to install a module ?
Follow Some Steps:
You need an entity 'store' that is bound to a geo location.
You need to create a multi select attribute which values are located (using a
source model) with these stores. This way, you can attach a single product to
multiple stores (one to many relation)
Then you need some sort of external API to convert a postcode entered by the
customer to a geo location. I assume the Google Maps API can do this. It would
be best to handle this server side.
Then you need the math to calculate the distance between 2 geo locations in
your database query (probably enough to find on that subject on Google) and
filter your product collection on that.
Once you have the collection you have the power.
The external API will probably have a request threshold so you might have to
pay for that (depending on the traffic).
You need to determine the radius of maximum distance between 2 geo locations.
In a small country like the Netherlands stores could be a couple of km's apart
from each other, whilst in the United States it's not uncommon to have stores
tens or hundreds of km's from each other.
**Best Of Luck For Your Project**

GET method with API's

I am not familiar with API's so I was hoping someone could help me with a question I have. My company uses Greenhouse as their hiring software for people to apply and we are redoing our career site to be more custom. They want a page where we can display each department with a text icon that has the number of positions open in that department that updates itself and when you go into that page it wants to display the positions for that department a long with the location they are in.
In the Greenhouse.io API section they say
"This is useful for reporting purposes, or for customers who have
built their own tools that they want to use with Greenhouse. GET
methods include Offices, Departments, Candidates, Activity Feed,
Applications, Scorecards, Scheduled Interviews, Offers, Jobs, Stages,
Job Post, Rejection Reasons, Email Templates, Users, and Sources."
Does this GET method mean I can pull those pieces from the API and display them where ever we need to in the site and it will update automatically? I'm primarily a web designer so this info is a bit new to me.
The GET refers in fact to the HTTP methods. Generally, you call the api with GET to retrieve data.
If you want to insert a new data with api, you will use POST for instance.
You can see those http methods here:
http://www.restapitutorial.com/lessons/httpmethods.html