HotelPriceCheck (JSON)

当該機能は、ホテルの金額をチェックするAPIです。

ホテルAPIの各種ワークフローはこちらをご確認ください。

 

API情報

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

更新履歴

HotelPriceCheck v2.1.0 on Jan 31, 2020
  • Version2.1.0をリリースいたしました。

JSONタグ定義書

スキーマ

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

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

リクエストサンプル

 選択{
  "HotelPriceCheckRQ": {
    "version": "2.1.0",
    "RateInfoRef": {
      "RateKey": "tB2Y3t23/78ByBAmBUdJKvOoNUYOASQJ9xt+EM2cqSU8kfdiSSdwcMz7E/n/UNOHMbLysEURrodZKYkCwNeU13RPLpN2kz3eL0FpJQUoUXBvdZccq1RNR2qA7iaqVmQVwnE9V4Rqmacg8F2smHayupQZzEuIqX5uZeUMzZOY0+7VZVaOiaMN866fhBadyaLWOUwNC0cd0f3XqUA1bea2A4zTq0Wmcut3DSDXYJklfm7CHTyH6Tp01kr+m/XcutgY+roI/2ag2oBtB1IKanVOkNP5o5UCx5EYWOsnLf76I8pysugnIxtelxppQL8isjAbH4OLejdrCGMb36Dmk3CzVCt7oId0uxtMvA8pG0IdwYRHbKJFV7uIxT/siEnnRODhzrtTTfZPhxrA/DnRd77cCg=="
    }
  }
}

レスポンスサンプル

 選択{
  "HotelPriceCheckRS": {
    "ApplicationResults": {
      "status": "Complete",
      "Success": [
        {
          "timeStamp": "2019-12-17T15:10:52.023+09:00"
        }
      ],
      "Warning": [
        {
          "type": "Application",
          "timeStamp": "2019-12-17T15:10:52.006+09:00",
          "SystemSpecificResults": [
            {
              "Message": [
                {
                  "code": "ERR.0883",
                  "value": "Price change detected"
                }
              ]
            }
          ]
        }
      ]
    },
    "version": "3.0.0",
    "PriceCheckInfo": {
      "BookingKey": "c8eb59d5-ab2d-47b0-b238-a40c4dc600ae",
      "PriceChange": false,
      "PriceDifference": 0,
      "CurrencyCode": "USD",
      "ConvertedPriceChange": true,
      "ConvertedPriceDifference": 149.72,
      "ConvertedCurrencyCode": "JPY",
      "HotelInfo": {
        "HotelCode": "100058266",
        "CodeContext": "GLOBAL",
        "HotelName": "Courtyard Dfw North",
        "ChainCode": "CY",
        "ChainName": "Courtyard By Marriott",
        "BrandCode": "10000",
        "BrandName": "undefined",
        "SabreRating": "3.0",
        "SabreHotelCode": "30817",
        "LocationInfo": {
          "Latitude": "32.93632",
          "Longitude": "-97.0125",
          "Address": {
            "AddressLine1": "4949 Regent Blvd",
            "CityName": {
              "CityCode": "DFW",
              "value": "Irving"
            },
            "StateProv": {
              "StateCode": "TX",
              "value": ""
            },
            "PostalCode": "75063",
            "CountryName": {
              "Code": "US",
              "value": "United States (the)"
            }
          },
          "Contact": {
            "Phone": "972-929-4004",
            "Fax": "972-929-4207"
          }
        }
      },
      "HotelRateInfo": {
        "RateInfos": {
          "RateInfo": [
            {
              "StartDate": "2020-06-20",
              "EndDate": "2020-06-21",
              "AmountBeforeTax": 350.0,
              "AmountAfterTax": 402.5,
              "AverageNightlyRate": 402.5,
              "CurrencyCode": "USD",
              "AdditionalFeesInclusive": true,
              "TaxInclusive": true,
              "RateSource": "100",
              "RateKey": "jIz6MN+SChA/U2gT6EnDQ7hk0+3QfEVDsZjw10FgWB94r+m9QcZlunlAjYX1PnYRKYd4vNLwU6CNX9Q7CdxQWA/jt7z0s73LqeSLRmbN8XHWhrms5yGxeTYXdp5cQChJbLdwwVt8sFqUK+PxsrHn/Y/kpzMR/eI1ezo77R+z071qwWJes5z5/2gqKoYQswt5R4EY7QuvFkZ8V3JA8ZGMPq9jxEVbXaL1YY10/gBxM3GeLjhADJ1rsPfkLnLNSxW4m+2LtQbSONFPgotYMK0mrHfZBT7K6SkgDmaiRz+QkSq6/E0z2V6UI8D88JPI8fr5WO/okkgjVTr3oGSy2M5HYGwmhCc68DjxfXIwSzowMtZvPdOe+3IgfmAGDRAw/5C4D6OqVciRBexhFKyqPARTBPaT0PkSESMfDF1XkS34CIFbFy1wCEvG8gWZGkbETziu",
              "Commission": {
                "Type": "Variable",
                "CommissionDescription": {
                  "Text": "COMMISSIONABLE"
                }
              }
            }
          ],
          "ConvertedRateInfo": [
            {
              "StartDate": "2020-06-20",
              "EndDate": "2020-06-21",
              "AmountBeforeTax": 38286.45,
              "AmountAfterTax": 44029.41,
              "AverageNightlyRate": 44029.41,
              "CurrencyCode": "JPY",
              "AdditionalFeesInclusive": true,
              "TaxInclusive": true,
              "RateSource": "100",
              "RateKey": "jIz6MN+SChA/U2gT6EnDQ7hk0+3QfEVDsZjw10FgWB94r+m9QcZlunlAjYX1PnYRKYd4vNLwU6CNX9Q7CdxQWA/jt7z0s73LqeSLRmbN8XHWhrms5yGxeTYXdp5cQChJbLdwwVt8sFqUK+PxsrHn/Y/kpzMR/eI1ezo77R+z071qwWJes5z5/2gqKoYQswt5R4EY7QuvFkZ8V3JA8ZGMPq9jxEVbXaL1YY10/gBxM3GeLjhADJ1rsPfkLnLNSxW4m+2LtQbSONFPgotYMK0mrHfZBT7K6SkgDmaiRz+QkSq6/E0z2V6UI8D88JPI8fr5WO/okkgjVTr3oGSy2M5HYGwmhCc68DjxfXIwSzowMtZvPdOe+3IgfmAGDRAw/5C4D6OqVciRBexhFKyqPARTBPaT0PkSESMfDF1XkS34CIFbFy1wCEvG8gWZGkbETziu",
              "Commission": {
                "Type": "Variable",
                "CommissionDescription": {
                  "Text": "COMMISSIONABLE"
                }
              }
            }
          ]
        },
        "Rooms": {
          "Room": [
            {
              "RoomIndex": 1,
              "GuestRoomInfo": 6,
              "BedTypes": {
                "BedType": [
                  {
                    "Code": 3
                  }
                ]
              },
              "RoomDescription": {
                "Name": "REGULAR RATE",
                "Text": [
                  "REGULAR RATE, 1 BEDROOM EXECUTIVE SUITE, 1 KING MAX OCCUPANCY- 3 GUESTS 1 KING, MINI FRIDGE, MICROWAVE, 625SQFT/56SQM, LIVING/SITTING AREA, WIRELESS INTERNET, COMPLIMENTARY"
                ]
              },
              "AdditionalDetails": {
                "AdditionalDetail": [
                  {
                    "Code": 32,
                    "Text": [
                      "INCLUDES TAXES AND SURCHARGES"
                    ]
                  },
                  {
                    "Code": 7,
                    "Text": [
                      "CANCEL PERMITTED UP TO 02 DAYS BEFORE ARRIVAL 402.50 USD CANCEL FEE PER ROOM"
                    ]
                  },
                  {
                    "Code": 14,
                    "Text": [
                      "OUR ROOMS WERE MADE FOR YOU",
                      "MUST GUARANTEE LATE ARRIVAL 01 DAYS AFTER BOOKING",
                      "COMPLIMENTARY ON-CALL DFW AIRPORT SHUTTLE AVAILABLE 5AM-11PM . RATES INCLUDE IN-ROOM HIGH SPEED WIRELESS INTERNET ACCESS."
                    ]
                  }
                ]
              },
              "RatePlans": {
                "RatePlan": [
                  {
                    "RatePlanName": "REGULAR RATE",
                    "RatePlanType": "24",
                    "PrepaidIndicator": false,
                    "LimitedAvailability": "true",
                    "RateSource": "100",
                    "RateKey": "jIz6MN+SChA/U2gT6EnDQ7hk0+3QfEVDsZjw10FgWB94r+m9QcZlunlAjYX1PnYRKYd4vNLwU6CNX9Q7CdxQWA/jt7z0s73LqeSLRmbN8XHWhrms5yGxeTYXdp5cQChJbLdwwVt8sFqUK+PxsrHn/Y/kpzMR/eI1ezo77R+z071qwWJes5z5/2gqKoYQswt5R4EY7QuvFkZ8V3JA8ZGMPq9jxEVbXaL1YY10/gBxM3GeLjhADJ1rsPfkLnLNSxW4m+2LtQbSONFPgotYMK0mrHfZBT7K6SkgDmaiRz+QkSq6/E0z2V6UI8D88JPI8fr5WO/okkgjVTr3oGSy2M5HYGwmhCc68DjxfXIwSzowMtZvPdOe+3IgfmAGDRAw/5C4D6OqVciRBexhFKyqPARTBPaT0PkSESMfDF1XkS34CIFbFy1wCEvG8gWZGkbETziu",
                    "ProductCode": "REGE00",
                    "RateInfo": {
                      "StartDate": "2020-06-20",
                      "EndDate": "2020-06-21",
                      "AmountBeforeTax": 350.0,
                      "AmountAfterTax": 402.5,
                      "AverageNightlyRate": 402.5,
                      "CurrencyCode": "USD",
                      "AdditionalFeesInclusive": true,
                      "TaxInclusive": true,
                      "Taxes": {
                        "Amount": 52.5,
                        "CurrencyCode": "USD",
                        "TaxGroups": {
                          "TaxGroup": [
                            {
                              "Code": 3,
                              "Amount": 31.5,
                              "CurrencyCode": "USD",
                              "TaxDescription": {
                                "Text": [
                                  "CITY TAX"
                                ]
                              }
                            },
                            {
                              "Code": 10,
                              "Amount": 21,
                              "CurrencyCode": "USD",
                              "TaxDescription": {
                                "Text": [
                                  "OCCUPANCY TAX"
                                ]
                              }
                            }
                          ]
                        }
                      },
                      "RoomExtras": {
                        "RoomExtra": [
                          {
                            "Code": 196,
                            "Amount": 10.0,
                            "CurrencyCode": "USD",
                            "Text": "Extra adult charge"
                          }
                        ]
                      },
                      "CancelPenalties": {
                        "CancelPenalty": [
                          {
                            "Refundable": true,
                            "Deadline": {
                              "OffsetTimeUnit": "Day",
                              "OffsetUnitMultiplier": 2
                            }
                          }
                        ]
                      },
                      "Guarantee": {
                        "GuaranteeType": "GUAR",
                        "GuaranteesAccepted": {
                          "GuaranteeAccepted": [
                            {
                              "GuaranteeTypeCode": 5,
                              "PaymentCards": {
                                "PaymentCard": [
                                  {
                                    "CardCode": "AX",
                                    "value": "AMERICAN EXPRESS"
                                  },
                                  {
                                    "CardCode": "CB",
                                    "value": "CARTE BLANCHE"
                                  },
                                  {
                                    "CardCode": "DC",
                                    "value": "DINERS CLUB CARD"
                                  },
                                  {
                                    "CardCode": "DS",
                                    "value": "DISCOVER CARD"
                                  },
                                  {
                                    "CardCode": "IK",
                                    "value": "MASTER CARD"
                                  },
                                  {
                                    "CardCode": "JC",
                                    "value": "JCB CREDIT CARD"
                                  },
                                  {
                                    "CardCode": "VI",
                                    "value": "VISA"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    },
                    "ConvertedRateInfo": {
                      "StartDate": "2020-06-20",
                      "EndDate": "2020-06-21",
                      "AmountBeforeTax": 38286.45,
                      "AmountAfterTax": 44029.41,
                      "AverageNightlyRate": 44029.41,
                      "CurrencyCode": "JPY",
                      "AdditionalFeesInclusive": true,
                      "TaxInclusive": true,
                      "Taxes": {
                        "Amount": 5742.97,
                        "CurrencyCode": "JPY",
                        "TaxGroups": {
                          "TaxGroup": [
                            {
                              "Code": 3,
                              "Amount": 3445.78,
                              "CurrencyCode": "JPY",
                              "TaxDescription": {
                                "Text": [
                                  "CITY TAX"
                                ]
                              }
                            },
                            {
                              "Code": 10,
                              "Amount": 2297.19,
                              "CurrencyCode": "JPY",
                              "TaxDescription": {
                                "Text": [
                                  "OCCUPANCY TAX"
                                ]
                              }
                            }
                          ]
                        }
                      },
                      "RoomExtras": {
                        "RoomExtra": [
                          {
                            "Code": 196,
                            "Amount": 1093.9,
                            "CurrencyCode": "JPY",
                            "Text": "Extra adult charge"
                          }
                        ]
                      },
                      "CancelPenalties": {
                        "CancelPenalty": [
                          {
                            "Refundable": true,
                            "Deadline": {
                              "OffsetTimeUnit": "Day",
                              "OffsetUnitMultiplier": 2
                            }
                          }
                        ]
                      },
                      "Guarantee": {
                        "GuaranteeType": "GUAR",
                        "GuaranteesAccepted": {
                          "GuaranteeAccepted": [
                            {
                              "GuaranteeTypeCode": 5,
                              "PaymentCards": {
                                "PaymentCard": [
                                  {
                                    "CardCode": "AX",
                                    "value": "AMERICAN EXPRESS"
                                  },
                                  {
                                    "CardCode": "CB",
                                    "value": "CARTE BLANCHE"
                                  },
                                  {
                                    "CardCode": "DC",
                                    "value": "DINERS CLUB CARD"
                                  },
                                  {
                                    "CardCode": "DS",
                                    "value": "DISCOVER CARD"
                                  },
                                  {
                                    "CardCode": "IK",
                                    "value": "MASTER CARD"
                                  },
                                  {
                                    "CardCode": "JC",
                                    "value": "JCB CREDIT CARD"
                                  },
                                  {
                                    "CardCode": "VI",
                                    "value": "VISA"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    }
  }
}