Jai Kumar Rajput
Jai Kumar Rajput

Reputation: 4217

Sabre Dev Studio API call by ruby

I'm trying to take hotels details from sabre dev studio in my app and I'm using gem 'sabre_dev_studio' but I can't understand how and which url I have to hit (APIs) for the hotel details. I'm using like this :

SabreDevStudio.configure do |c|
    c.client_id     = 'V1:kiifsurie29jj:KITPUI:DFR'
    c.client_secret = 'wiurRTs'
    c.uri           = 'https://api.test.sabre.com'
  end
  token = SabreDevStudio::Base.get_access_token
  themes = SabreDevStudio::Base.get('/v1/shop/themes')

this is working and give me proper response but for hotels I'm not getting which url are for apies.

Upvotes: 0

Views: 261

Answers (2)

fcarreno
fcarreno

Reputation: 701

There are currently no REST APIs for hotels, only SOAP at the moment. Here's the related documentation: https://developer.sabre.com/docs/read/soap_apis/hotel

Upvotes: 0

ABrowne
ABrowne

Reputation: 1604

https://developer.sabre.com/docs/read/rest_basics/endpoints_and_uris

This is the list of the urls you'll want

Upvotes: 1

Related Questions