GetHotelList (JSON)

 

API情報

当該機能は、ホテルプロパティコード、ホテルネーム、ブランドコード、チェーンコード、アメニティコード、プロパティコードタイプ等の検索パラメータに基づいて、最大5,000のホテルを取得することができるAPIです。

最新バージョン :1.0.0
プロトコル :JSON
HTTPメソッド :POST
Endpoint :/v1.0.0/shop/hotels/list?mode=list
注1: Endpointは、HTTPリクエストヘッダーに設定します。
注2: Endpoint情報は、バージョンによって異なりますので、
最新バージョン以外のEndpointは、タグ定義書をご確認ください。
 

更新履歴

GetHotelList v1.0.0 on May 08, 2020
  • Version1.0.0をリリースいたしました。
 

リクエストサンプル

 選択{			
  "GetHotelListRQ": {			
    "version": "1.0",			
    "SearchCriteria": {			
      "MaxResults": 10,			
      "HotelPref": {			
        "HotelName": "HYA",			
        "AmenityCodes": {			
          "Inclusive": true,			
          "AmenityCode": [			
            "15"			
          ]			
        }			
      }			
    }			
  }			
}			

レスポンスサンプル

 選択{					
    "GetHotelListRS": {					
        "ApplicationResults": {					
            "Success": [					
                {					
                    "timeStamp": "2019-11-15T02:56:55.532-06:00"					
                }					
            ]					
        },					
        "HotelList": {					
            "HotelRef": [					
                {					
                    "MaxSearchResults": 328,					
                    "HotelInfo": [					
                        {					
                            "HotelCode": "1",					
                            "HotelName": "Hyatt Regency Tulsa",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "36.154800",					
                            "Longitude": "-95.990356",					
                            "CountryCode": "US",					
                            "Features": {					
                                "Feature": [					
                                    {					
                                        "Code": "41",					
                                        "Description": "Free airport shuttle"					
                                    }					
                                ]					
                            }					
                        },					
                        {					
                            "HotelCode": "100578",					
                            "HotelName": "Hyatt Place Chesapeake ",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "36.772820",					
                            "Longitude": "-76.237650",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "101160",					
                            "HotelName": "Hyatt Place Columbus-Nor",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "32.540337",					
                            "Longitude": "-84.922675",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "101208",					
                            "HotelName": "Hyatt Place South Bend M",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "41.698487",					
                            "Longitude": "-86.184458",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "10121",					
                            "HotelName": "Hyatt Place Historic Stockyard",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "32.788859",					
                            "Longitude": "-97.345823",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "101743",					
                            "HotelName": "Hyatt Place Grand Rapids-South",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "42.89695",					
                            "Longitude": "-85.719353",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "102447",					
                            "HotelName": "Hyatt Place Lake Mary Or",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "28.754887",					
                            "Longitude": "-81.367246",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "103267",					
                            "HotelName": "Hyatt Place Herndon",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "38.957990",					
                            "Longitude": "-77.420030",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "103341",					
                            "HotelName": "Hyatt Place SRQ Airport",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "27.381858",					
                            "Longitude": "-82.552422",					
                            "CountryCode": "US"					
                        },					
                        {					
                            "HotelCode": "103629",					
                            "HotelName": "Hyatt Place Charleston A",					
                            "ChainCode": "HY",					
                            "ChainName": "Hyatt Hotels And Resorts",					
                            "MarketerCode": "HYATT",					
                            "MarketerName": "Hyatt",					
                            "Status": "Active",					
                            "Latitude": "32.863790",					
                            "Longitude": "-80.017400",					
                            "CountryCode": "US"					
                        }					
                    ]					
                }					
            ]					
        }					
    },					
    "Links": [					
        {					
            "rel": "self",					
            "href": "https://api-crt.cert.havail.sabre.com/v1.0.0/shop/hotels/list?mode=list"					
        },					
        {					
            "rel": "linkTemplate",					
            "href": "https://api-crt.cert.havail.sabre.com/<version>/shop/hotels/list?mode=<mode>"					
        }					
    ]					
}					
 

JSONタグ定義書

スキーマ

【注意点】
各種スキーマは、Sabre社提供のオリジナル版となるため、「JSONタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「JSONタグ定義書」にてご確認ください。

※弊社にて「JSONタグ定義書」を作成する際、各タグの利用可否確認を行っております。