GetHotelDetails (JSON)

API情報

最新バージョン :1.1.0
プロトコル :JSON

更新履歴

GetHotelDetails v1.1.0 on January31, 2020
  • Version1.1.0をリリースいたしました。

JSONタグ定義書

スキーマ

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

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

リクエストサンプル

 選択{
  "GetHotelDetailsRQ": {
    "SearchCriteria": {
      "ShopKey": "f428e502-e5bd-4682-bdf4-0df3fc3f6be9",
      "HotelRefs": {
        "HotelRef": {
          "HotelCode": "100074174",
          "CodeContext": "GLOBAL"
        }
      },
      "RateInfoRef": {
        "CurrencyCode": "USD",
        "PrepaidQualifier": "IncludePrepaid",
        "RefundableOnly": true,
        "ConvertedRateInfoOnly": true,
        "StayDateRange": {
          "StartDate": "2020-12-24",
          "EndDate": "2020-12-30"
        },
        "RateRange": {
          "Min": 100.05,
          "Max": 1013.05
        },
        "Rooms": {
          "RoomSetType": "BedTypeCode",
          "Room": [
            {
              "Index": 1,
              "Adults": 1,
              "Children": 1,
              "ChildAges": "10"
            }
          ]
        },
        "RatePlanCandidates": {
          "ExactMatchOnly": false,
          "RatePlanCandidate": [
            {
              "RatePlanType": "11",
              "RatePlanCode": "ABC"
            }
          ]
        },
        "LoyaltyIds": {
          "LoyaltyId": [
            "YX1123",
            "MC1234"
          ]
        },
        "FrequentFlyerNumber": "AQ1234",
        "CorpDiscount": "9876",
        "InfoSource": "100,111,112,110,113"
      },
      "HotelContentRef": {
        "DescriptiveInfoRef": {
          "PropertyInfo": true,
          "LocationInfo": true,
          "Amenities": true,
          "Descriptions": {
            "Description": [
              {
                "Type": "ShortDescription"
              }
            ]
          },
          "AdditionalCharges": true,
          "PointOfInterests": true,
          "Airports": true,
          "AcceptedCreditCards": true,
          "GuaranteePolicies": true
        },
        "MediaRef": {
          "MaxItems": "10",
          "MediaTypes": {
            "Images": {
              "Image": [
                {
                  "Type": "MEDIUM"
                }
              ]
            }
          },
          "AdditionalInfo": {
            "Info": [
              {
                "Type": "CAPTION",
                "value": true
              }
            ]
          },
          "Languages": {
            "Language": [
              {
                "Code": "EN"
              }
            ]
          }
        }
      }
    }
  }
}

レスポンスサンプル

 選択{
  "GetHotelDetailsRS": {
    "ApplicationResults": {
      "status": "Complete",
      "Success": [
        {
          "timeStamp": "2019-11-22T13:56:49.22+09:00"
        }
      ],
      "Warning": [
        {
          "type": "Application",
          "timeStamp": "2019-11-22T13:56:49.137+09:00",
          "SystemSpecificResults": [
            {
              "Message": [
                {
                  "code": "ERR.0414",
                  "value": "More days were specified than exist in inventory"
                }
              ]
            }
          ]
        },
        {
          "type": "Application",
          "timeStamp": "2019-11-22T13:56:49.167+09:00",
          "SystemSpecificResults": [
            {
              "Message": [
                {
                  "code": "WARN.0102",
                  "value": "No image data Available"
                }
              ]
            }
          ]
        }
      ]
    },
    "HotelDetailsInfo": {
      "HotelInfo": {
        "HotelCode": "100074174",
        "CodeContext": "GLOBAL",
        "HotelName": "Hilton Tokyo Narita Airport",
        "ChainCode": "HL",
        "ChainName": "HiltonHotels",
        "BrandCode": "10390",
        "BrandName": "HiltonHotels",
        "Status": "Active",
        "SabreRating": "3.0"
      },
      "HotelDescriptiveInfo": {
        "LocationInfo": {
          "Latitude": 35.783298,
          "Longitude": 140.316605,
          "Address": {
            "AddressLine1": "456 Kosuge",
            "CityName": {
              "CityCode": "NRT",
              "value": "Narita"
            },
            "PostalCode": "286-0127",
            "CountryName": {
              "Code": "JP",
              "value": "Japan"
            }
          },
          "Contact": {
            "Phone": "81-476-331121",
            "Fax": "81-476-330369"
          }
        },
        "Amenities": {
          "Amenity": [
            {
              "Code": "101",
              "Description": "Wheelchair access"
            },
            {
              "Code": "198",
              "Description": "Non-smoking rooms (generic)"
            },
            {
              "Code": "2014",
              "Description": "Family Room"
            },
            {
              "Code": "233",
              "Description": "Tennis court"
            },
            {
              "Code": "236",
              "Description": "Golf"
            },
            {
              "Code": "24",
              "Description": "Conference facilities"
            },
            {
              "Code": "259",
              "Description": "High speed internet access"
            },
            {
              "Code": "260",
              "Description": "Interior corridors"
            },
            {
              "Code": "282",
              "Description": "Airport shuttle service",
              "ComplimentaryInd": true
            },
            {
              "Code": "42",
              "Description": "Free parking",
              "ComplimentaryInd": true
            },
            {
              "Code": "44",
              "Description": "Game room"
            },
            {
              "Code": "48",
              "Description": "Health club"
            },
            {
              "Code": "54",
              "Description": "Indoor pool"
            },
            {
              "Code": "55",
              "Description": "Jacuzzi"
            },
            {
              "Code": "71",
              "Description": "Pool"
            }
          ]
        },
        "Descriptions": {
          "Description": [
            {
              "Text": {
                "Type": "ShortDescription",
                "value": "The hilton tokyo narita airport hotel is centrally located near the heart of the city and just 10 minutes by free shuttle to narita international airport .Situated on the eastern side of tokyo bay you can explore the scenic boso peninsula form this modern and luxurious hotel .Do business in the 18 meeting rooms for 5-1000 guests with wireless internet access .Stay active on the jogging track and tennis courts or do laps of the indoor swimming pool .Unwind after a long day in the sauna or enjoy a meal in one of our 3 restaurants . ."
              }
            }
          ]
        },
        "Airports": {}
      }
    }
  }
}