86343

How to query for oneway flights using the Sabre Insta Flights Search REST API?

Question:

What query params do I need to pass to search for oneway flights only using the Sabre Insta Flights Search REST API?

I get an error from the service if I do not include a returndate param. If I do include a returndate, I get roundtrip flights in the result.

Thanks

Answer1:

Not every market has one-way flights loaded, specially in TEST. For instance, US does not currently support one-ways with InstaFlights.

As an example, the following RQ will yield resulsts in PROD, but not in TEST.

v1/shop/flights?origin=SYD&destination=BNE&departuredate=2016-12-18&pointofsalecountry=AU

Answer2:

As an option to Instaflight, Sabre REST Bargain Finder Max is a Live Air Shopping API, that support both One-Way, Roundtrip and Multi Desti Flight Searches.

<a href="https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max" rel="nofollow">https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max</a>

Recommend

  • how do I design return travel itinerary vs one way itinerary
  • Best primary key format for large table
  • Does each call within a multi() call in phpredis result in a new network roundtrip to redis?
  • How to use ES6 Hash Map on any object without maintaing a reference (I.e. Java hashcode)
  • What object should a Monitor wait on?
  • How does garbage collection work in Android 4.2 Jelly bean Dalvik VM?
  • Lazy parse a stateful, multiline per record data stream in Python?
  • Python — consuming one generator inside various consumers
  • How do I see existing classes
  • Bluebird: getting the results of each()
  • Communicating variable in vue.js between components
  • Optional parameter in UriTemplate in WCF
  • How to implement HTTPS in laravel 5.4
  • How to create list with carousel effect in android
  • Cassandra: What is a subcolumn
  • Android - VerifyError
  • UML diagram generator in Visual Studio 2010
  • How to convert integer to string and get length of string
  • Doctrine2 bulk import try to work with another entity
  • Passing “get” parameters doesn't work, parameter not visible in the link
  • Fail:(TESTMODE) Transactions of this market type cannot be processed on this system
  • How can I extract results of aggregate queries in slick?
  • Declaring variable dynamically in VB.net
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Highlight one bar in a series in highcharts?
  • Ajax Loaded meta Tags
  • Display issues when we change from one jquery mobile page to another in firefox
  • Deselecting radio buttons while keeping the View Model in synch
  • Submit form in a displaytag pagination
  • JSON with duplicate key names losing information when parsed
  • Jquery - Jquery Wysiwyg return html as a string
  • Calling of Constructors in a Java
  • php design question - will a Helper help here?
  • PHP: When would you need the self:: keyword?
  • File upload with ng-file-upload throwing error
  • AngularJs get employee from factory
  • Free memory of cv::Mat loaded using FileStorage API
  • Java static initializers and reflection
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Authorize attributes not working in MVC 4