Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example request and response

Code Block
languagexml
titleOTA_HotelRateAmountNotifRQ request
<OTA_HotelRateAmountNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentravel.org/OTA/2003/05" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRateAmountNotifRQ.xsd" TimeStamp="2012-10-12T11:34:05" Target="Test" Version="3.000">
  <POS>
    <Source>
      <RequestorID  Type="5" ID="USERNAME" MessagePassword="PASSWORD"></RequestorID>
    </Source>
  </POS>
  <RateAmountMessages>
    <RateAmountMessage LocatorID="1">
      <StatusApplicationControl Start="2015-08-25" End="2015-08-31" RatePlanCode="00P551924536469f" InvCode="00P5519245316dc1"/>
      <Rates>
        <Rate>
          <BaseByGuestAmts>
            <BaseByGuestAmt AmountAfterTax="3800" DecimalPlaces="2" NumberOfGuests="1" AgeQualifyingCode="10" CurrencyCode="EUR" />
            <BaseByGuestAmt AmountAfterTax="4500" DecimalPlaces="2" NumberOfGuests="2" AgeQualifyingCode="10" CurrencyCode="EUR" />
          </BaseByGuestAmts>
        </Rate>
      </Rates>
    </RateAmountMessage>
  </RateAmountMessages>
</OTA_HotelRateAmountNotifRQ>

Code Block
{
	"OTA_HotelRateAmountNotifRQ": {
		"POS": {
			"Source": {
				"RequestorID": {
					"_Type": "5",
					"_ID": "USERNAME",
					"_MessagePassword": "PASSWORD"
				}
			}
		},
		"RateAmountMessages": {
			"RateAmountMessage": {
				"StatusApplicationControl": {
					"_Start": "2015-08-25",
					"_End": "2015-08-31",
					"_RatePlanCode": "00P551924536469f",
					"_InvCode": "00P5519245316dc1"
				},
				"Rates": {
					"Rate": {
						"BaseByGuestAmts": {
							"BaseByGuestAmt": [
								{
									"_AmountAfterTax": "3800",
									"_DecimalPlaces": "2",
									"_NumberOfGuests": "1",
									"_AgeQualifyingCode": "10",
									"_CurrencyCode": "EUR"
								},
								{
									"_AmountAfterTax": "4500",
									"_DecimalPlaces": "2",
									"_NumberOfGuests": "2",
									"_AgeQualifyingCode": "10",
									"_CurrencyCode": "EUR"
								}
							]
						}
					}
				},
				"_LocatorID": "1"
			}
		},
		"_TimeStamp": "2012-10-12T11:34:05",
		"_Target": "Test",
		"_Version": "3.000"
	}
}


Code Block
languagexml
titleOTA_HotelRateAmountNotifRS response
<OTA_HotelRateAmountNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRateAmountNotifRQ.xsd" TimeStamp="2015-11-17T14:45:54+01:00" Target="Test" Version="1.0" CorrelationID="00Q564b2f91e1bf6">
  <Success />
</OTA_HotelRateAmountNotifRS>
Code Block
{
    "Success": null,
    "_PrimaryLangID": "en",
    "_TimeStamp": "2019-09-19T07:28:14+02:00",
    "_Target": "Test",
    "_Version": "1.000",
    "_CorrelationID": null
}


Request structure

OTA_HotelRateAmountNotifRQ

...