...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" RequestorId="TEST" SourceId="RMS" DestinationId="CRS" RetryInd="false"> <Authentication Username="username" Password="Password"/> <PayloadDescriptor Name="OTA_HotelRatePlanNotifRQ" Version="1.0"/> </PayloadInfo> </soap:Header> <soap:Body> <OTA_HotelRatePlanNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ns="http://www.opentravel.org/OTA/2003/05" EchoToken="123456" TimeStamp="2021-07-16T19:58:15.970422+05:30" Target="Test" Version="1" MessageContentCode="8" TransactionIdentifier="6172037375195"> <RatePlans HotelCode="TESTHotel"> <RatePlan Start="2022-01-16" End="2022-01-16" CurrencyCode="USD" RatePlanCode="BAR" RatePlanNotifType="Overlay"> <Rates> <Rate RateTimeUnit="Day" UnitMultiplier="1" Start="2022-01-16" End="2022-01-16" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" InvTypeCode="KING"> <BaseByGuestAmts> <BaseByGuestAmt AmountBeforeTax="115.10" NumberOfGuests="1" AgeQualifyingCode="10" /> <BaseByGuestAmt AmountBeforeTax="120.20" NumberOfGuests="2" AgeQualifyingCode="10" /> <BaseByGuestAmt AmountBeforeTax="120.20" NumberOfGuests="3" AgeQualifyingCode="10" /> <BaseByGuestAmt AmountBeforeTax="120.20" NumberOfGuests="4" AgeQualifyingCode="10" /> </BaseByGuestAmts> <AdditionalGuestAmounts> <AdditionalGuestAmount AgeQualifyingCode="10" Amount="50.00" /> <AdditionalGuestAmount AgeQualifyingCode="8" Amount="10.00" /> </AdditionalGuestAmounts> </Rate> </Rates> </RatePlan> </RatePlans> </OTA_HotelRatePlanNotifRQ> </soap:Body> </soap:Envelope> |
OTA_HotelRatePlanNotifRS
...
Element | @Attribute
...
Num
...
Description/Contents
...
Origin | Value
...
OTA_HotelRatePlanNotifRS
...
1
...
Root Element of the message
...
...
Sample (Success)
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" SourceId="CRS" DestinationId="RMS"
RetryInd="false"></PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelRatePlanNotifRS xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.00"
xmlns="http://www.opentravel.org/OTA/2003/05">
<Success />
</OTA_HotelRatePlanNotifRS>
</soap:Body>
</soap:Envelope> |
OTA_HotelRatePlanNotifRS Sample (Error)
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" SourceId="CRS" DestinationId="RMS"
RetryInd="false"></PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelRatePlanNotifRS xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.00"
xmlns="http://www.opentravel.org/OTA/2003/05">
<Errors>
<Error>Operation Timeout</Error>
</Errors>
</OTA_HotelRatePlanNotifRS>
</soap:Body>
</soap:Envelope> |
OTA_HotelRatePlanNotifRS Sample (Warning)
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" SourceId="CRS" DestinationId="RMS"
RetryInd="false"></PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelRatePlanNotifRS xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.00"
xmlns="http://www.opentravel.org/OTA/2003/05">
<Warnings>
<Warning>Warning: Unable to map ratecode:BAR1</Warning>
</Warnings>
</OTA_HotelRatePlanNotifRS>
</soap:Body>
</soap:Envelope> |
Page Properties | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|