Based on Sabre's solutions, Use case section, it is with the recommendation that the Bargain Finder Max API is used to retrieve fares for a particular segment. Am i looking at the wrong API because i am trying to build a request that allows private fare codes with the intention of pulling out negotiated fares.
Bargain Finder Max accomplishes what you want to do - just use the TPA extension flexible fares - this is because private fares are not always the best. And then depending how the Airline loaded the fare use NegotiatedFareCode or CorporateID.
Related
I'm using OTA_AirAvailLLSRQ API to search flights, but it only shows 7 seats each class. I wonder is there any way or function in Sabre can show total available seats of each class.
I am brand new to Sabre and appreciate any advice on if this kind of data is possible or available.
Because LLSR service support is very limited, I would recommend looking for a newer service that allows you to retrieve all information, such as Bargain Finder Max, along the Seats Rest service which retrieves the complete seat maps for all cabins.
Best regards.
I am having issues, combining some fares, from Bargain Finder Max's SimpleOneWayItineraries (SOAP), when sending to OTA_AirBookRQ. The issue happens simply because some of these one-way fares are not combinable. When sending those itineraries together, the response is the famous NO COMBINABLE FARES FOR CLASS USED.
I suspect, in order to avoid sending these faulty requests, BFM would supply me with a piece of information, that signifies which fares can be priced together.
Despite searching the docs, over and over, I have not found an indicator on each PricedItinerary that signals such information.
Please let me know if the indicator exist, or better yet, how I can avoid displaying these faulty combination of fares, from Bargain Finder Max.
The only alternative is to enable Multi-Ticket, which will produce a different ticket for each fare component.
In cases where carriers do not have an agreement, this allows you to combine searches.
It will also retrieve compatible fares if that criteria is met.
I hope this information was useful.
I'm using the Here API to calculate routes for trucks with 40t. Using the HERE devtools, i got the same error of my APP. The answer is "The API can't calculate the route because of illegal access". I checked the map (image attached) and in the street where my journey will start, with a difference of some meters, it exists two limitations 12t and 18t. The street is one way... If you see the satellite image exists several trucks... The company is testing the software says the trucks goes their...
Can some help me on this?
https://fleet.api.here.com/2/calculateroute.json?waypoint0=41.325299,2.141551&waypoint1=stopOver,3600!41.3291843,2.0317197&waypoint2=stopOver,3600!40.91260530,-8.42291420&waypoint3=38.855951,-9.104382&mode=fastest;truck;traffic:enabled&departure=2020-08-19T02:57:58&alternatives=0&weightPerAxle=14t&limitedWeight=40t&height=4m&width=2.55m&length=16.5m&trailersCount=
If you want to ignore the restrictions for trucks in the route, add the parameter truckRestrictionPenalty and set the value to soft.
The route violating truck restrictions is indicated in the response with dedicated route and manoeuvre notes. The route with the note of the type violation and the text truckRestriction may be travelled at your own responsibility. While driving on such a route, extra care has to be taken as it may result in a vehicle or road infrastructure damage.
You can read more about the parameter here.
Thanks for your feedback, but we are using the Fleet Telematics Api not the Routing API. Using your info, We researched a litle more and we found the equivalent parameter: ignoreWaypointVehicleRestriction.
We added these params &ignoreWaypointVehicleRestriction=5000;0;all and the API returned the route with the warning.
Thanks,
I want to create a smart contract and launch it for ICO. I also create a website where people can buy my token. I want know how to check how many token been sold (live)? so i can create a live bar counter to show how many percentages of the token already been sold.
Or is there a way i can monitor the token sale process in the smart contract?
A token contract is no different than any other smart contract. There are no special built in Solidity features or logic associated with them. They are just regular smart contracts that follow a specification.
So, if you want access to the number of tokens sold, you code that into your contract. While tokens sold is not part of the standard ERC20/ERC721 interface, nothing prevents you from adding a constant function to retrieve this information. In fact, if you're using the basic Zeppelin Crowdsale contract, you can just calculate it using the public state variables weiRaised / rate (Chances are you should be creating your own Crowdsale subcontract, so it's better to add the functionality you want there).
We can use the Etherscan Developer API to review transactions against a given contract address and find out the total supply or number of items available for sale.
There is a lot you can do with the Etherscan Developer API. For example, here's one URL that pulls data from Ethereum Mainnet -> Etherscan -> JSON parser -> Shields.io and renders it as an image to calculate the number of Su Squares remaining for sale:
Source: https://img.shields.io/badge/dynamic/json.svg?label=Su+Squares+available&url=https%3A%2F%2Fapi.etherscan.io%2Fapi%3Fmodule%3Daccount%26action%3Dtokenbalance%26contractaddress%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26address%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26tag%3Dlatest%26apikey%3DYourApiKeyToken&query=%24.result
^ I don't know if SO is going to cache the image here. But that URL is a live URL which pulls the number of Su Squares available hot off the blockchain.
I am working on a flights planning app and considering using Sabre to handle my backend.
My app requires an "Explore Destionations" functionallity, something simillar to Google Flights' Explore Destionations featrue.
In theory, Destination Finder would have been perfect for the job.
The problem is, Destination Finder doesn't seem to provide a way to search for one way trips. In other words, you have to provide a return date.
Does anyone know if there is a way to achive this, Either by using Destination Finder or using a different API?
At the moment Destination Finder will only provide Round Trip Lead Fares as part of the Inspirational Shop request.
For One Way Shopping, you can look at the Bargain Finder Max API under Search for Air, available in both REST and SOAP.
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max
Best
You need to use Bargain Finder Max APi
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max
Set
OTA_AirLowFareSearchRQ.TravelPreferences.TPA_Extensions.TripType.Value="OneWay"
I tired with DXB=>LHR but it returned connecting airports but for LAX=>JFK direct results I guess sabre is not strong in europe may be thats the reason