GetHotelLeadRate (JSON)

当該機能は、ホテルの最安レートを取得するAPIです。

 

API情報

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

更新履歴

GetHotelLeadRate v3.0.0 on May 08, 2020
  • Version3.0.0をリリースいたしました。

JSONタグ定義書

スキーマ

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

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

リクエストサンプル

 選択{			
  "GetHotelLeadRateRQ": {			
    "HotelRefs": {			
      "HotelRef": [			
        {			
          "HotelCode": "8"			
        }			
      ]			
    },			
    "RateInfoRef": {			
      "CurrencyCode": "USD",			
      "BestOnly": "1",			
      "RefundableOnly": false,			
      "StayDateRange": {			
        "StartDate": "2020-06-20",			
        "EndDate": "2020-06-21"			
      },			
      "Rooms": {			
        "Room": [			
          {			
            "Index": 1,			
            "Adults": 1			
          }			
        ]			
      }			
    }			
  }			
}			

レスポンスサンプル

 選択{					
    "GetHotelLeadRateRS": {					
        "ApplicationResults": {					
            "status": "Complete",					
            "Success": [					
                {					
                    "timeStamp": "2019-11-18T00:25:11.620-06:00"					
                }					
            ]					
        },					
        "HotelRateInfos": {					
            "HotelRateInfo": [					
                {					
                    "HotelInfo": {					
                        "HotelCode": "8",					
                        "CodeContext": "SABRE"					
                    },					
                    "RateInfos": {					
                        "RateInfo": [					
                            {					
                                "StartDate": "2020-06-20",					
                                "EndDate": "2020-06-21",					
                                "AmountBeforeTax": 212.97,					
                                "AmountAfterTax": 253.28,					
                                "AverageNightlyRate": 253.28,					
                                "CurrencyCode": "USD",					
                                "AdditionalFeesInclusive": true,					
                                "TaxInclusive": true,					
                                "RateSource": "100",					
                                "RateKey": "usfU5PJ83LqSP8wZNK+ACgsKGe3PXTNT5kJsPG4900FzKgRoxxEEn2d1TniDTVP1RrvVWrnKaXchHZb57ImcARK7T6SUlJlcAwGNWHwZclzZev7wNPJbEgZMv6eO+Gr9970HTahzTm7w/cLogPyYTYjdGxVKV9tt4GrxEct0beWmufBOGz9rbvL16dd2zHUmRMmc9CgK0ws8ARm3Tpoujy6OTwA0VTZyklw728YORS8h9Yvv73Z2TVTjZJMfygEcH7WWOGfxEbE/FEnCZhgwjCZVxk0nxld6mD24Nw9Bb0vRQHFFlCwNe+CkpWIcAeH8CVWabipzVWPg/SmxgfoHo0Om9UrDgtIUfzxcg0o2+eSXimEZu8kB7CtAwLaF6uuXw8KVThPZLSZYErsomqKLtg==",					
                                "Commission": {					
                                    "Type": "Variable",					
                                    "CommissionDescription": {					
                                        "Text": "COMMISSIONABLE"					
                                    }					
                                }					
                            }					
                        ]					
                    },					
                    "Rooms": {					
                        "Room": [					
                            {					
                                "RoomIndex": 1,					
                                "RoomDescription": {					
                                    "Name": "ADVANCE PURCHASE",					
                                    "Text": [					
                                        "ADVANCE PURCHASE RATE, PREPAY IN FULL, NON-REFUNDABLE, NO CHANGES, GUEST ROOM, 2 DOUBLE"					
                                    ]					
                                },					
                                "RatePlans": {					
                                    "RatePlan": [					
                                        {					
                                            "RatePlanName": "ADVANCE PURCHASE",					
                                            "RatePlanType": "24",					
                                            "PrepaidIndicator": false,					
                                            "LimitedAvailability": "false",					
                                            "RateSource": "100",					
                                            "RateKey": "usfU5PJ83LqSP8wZNK+ACgsKGe3PXTNT5kJsPG4900FzKgRoxxEEn2d1TniDTVP1RrvVWrnKaXchHZb57ImcARK7T6SUlJlcAwGNWHwZclzZev7wNPJbEgZMv6eO+Gr9970HTahzTm7w/cLogPyYTYjdGxVKV9tt4GrxEct0beWmufBOGz9rbvL16dd2zHUmRMmc9CgK0ws8ARm3Tpoujy6OTwA0VTZyklw728YORS8h9Yvv73Z2TVTjZJMfygEcH7WWOGfxEbE/FEnCZhgwjCZVxk0nxld6mD24Nw9Bb0vRQHFFlCwNe+CkpWIcAeH8CVWabipzVWPg/SmxgfoHo0Om9UrDgtIUfzxcg0o2+eSXimEZu8kB7CtAwLaF6uuXw8KVThPZLSZYErsomqKLtg==",					
                                            "ProductCode": "APNL00",					
                                            "RateInfo": {					
                                                "StartDate": "2020-06-20",					
                                                "EndDate": "2020-06-21",					
                                                "AmountBeforeTax": 212.97,					
                                                "AmountAfterTax": 253.28,					
                                                "AverageNightlyRate": 253.28,					
                                                "CurrencyCode": "USD",					
                                                "AdditionalFeesInclusive": true,					
                                                "TaxInclusive": true,					
                                                "Taxes": {					
                                                    "Amount": 40.31,					
                                                    "CurrencyCode": "USD"					
                                                },					
                                                "RoomExtras": {					
                                                    "RoomExtra": [					
                                                        {					
                                                            "Code": 91,					
                                                            "Amount": 0,					
                                                            "CurrencyCode": "USD",					
                                                            "Text": "Rollaway bed"					
                                                        },					
                                                        {					
                                                            "Code": 196,					
                                                            "Amount": 25,					
                                                            "CurrencyCode": "USD",					
                                                            "Text": "Extra adult charge"					
                                                        },					
                                                        {					
                                                            "Code": 26,					
                                                            "Amount": 0,					
                                                            "CurrencyCode": "USD",					
                                                            "Text": "Cribs"					
                                                        }					
                                                    ]					
                                                },					
                                                "CancelPenalties": {					
                                                    "CancelPenalty": [					
                                                        {					
                                                            "Refundable": false,					
                                                            "PenaltyDescription": {					
                                                                "Text": "UP TO 01 DAYS AFTER BOOKING"					
                                                            }					
                                                        }					
                                                    ]					
                                                },					
                                                "Guarantee": {					
                                                    "GuaranteeType": "DEP",					
                                                    "GuaranteesAccepted": {					
                                                        "GuaranteeAccepted": [					
                                                            {					
                                                                "GuaranteeTypeCode": 5,					
                                                                "PaymentCards": {					
                                                                    "PaymentCard": [					
                                                                        {					
                                                                            "CardCode": "AX",					
                                                                            "value": "AMERICAN EXPRESS"					
                                                                        },					
                                                                        {					
                                                                            "CardCode": "CA",					
                                                                            "value": "MASTERCARD"					
                                                                        },					
                                                                        {					
                                                                            "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"					
                                                                        }					
                                                                    ]					
                                                                }					
                                                            }					
                                                        ]					
                                                    }					
                                                }					
                                            }					
                                        }					
                                    ]					
                                }					
                            }					
                        ]					
                    }					
                }					
            ]					
        }					
    }					
}