Table of Contents | ||
---|---|---|
|
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8" ?> <soap:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">; <soap:Header> <wsa:Action>http://uat.windsurfercrs.com/Htng2AvailabilityService/OTA_HotelAvailNotifRQ</wsa:Action>; <wsa:MessageID>urn:uuid:a66b8901-da23-4918-9a8f-d08076e572fe</wsa:MessageID> <wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>;</wsa:ReplyTo> <wsa:To>https://uat.windsurfercrs.com/pms/GenHTNGService.aspx</wsa:To>; <wsse:Security soap:mustUnderstand="1"> <wsu:Timestamp wsu:Id="Timestamp-3bfdf977-9a77-4293-aa2c-6fc20b9095e0"><wsu:Created>2018-09-14T15:59:06</wsu:Created><wsu:Expires>2018-09-15T15:59:06</wsu:Expires></wsu:Timestamp> <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="SecurityToken-a4200b7e-5ae6-4c18-a1a9-2fdc8d4afe93"> <wsse:Username>Skyware</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">skyhtng01</wsse:Password>; <wsse:Nonce>rJkxy5VWvPsEO0DF+lAb+A==</wsse:Nonce> <wsu:Created>2018-09-14T15:59:06</wsu:Created> </wsse:UsernameToken> </wsse:Security> </soap:Header> <soap:Body> <OTA_HotelRateAmountNotifRQ EchoToken="1861376" TimeStamp="2001-12-17T09:30:47-05:00" Version="1.0" xmlns="http://www.opentravel.org/OTA/2003/05"; xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">; <RateAmountMessages ChainCode="WSD" HotelCode="SKY001" HotelName="SKY001"> <RateAmountMessage> <StatusApplicationControl InvTypeCode="QUEEN" RatePlanCode="BAR" IsRoom="true" /> <Rates> <Rate Start="2018-10-10" End="2018-10-15" Mon="true" Tue="false" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true"> <BaseByGuestAmts> <BaseByGuestAmt AmountBeforeTax="160.75" NumberOfGuests="1" /> <BaseByGuestAmt AmountBeforeTax="155.00" NumberOfGuests="2" /> <BaseByGuestAmt AmountBeforeTax="160.00" NumberOfGuests="3" /> <BaseByGuestAmt AmountBeforeTax="165.00" NumberOfGuests="4" /> </BaseByGuestAmts> <AdditionalGuestAmounts> <AdditionalGuestAmount AgeQualifyingCode="10" Amount="17.00"/> </AdditionalGuestAmounts> </Rate> </Rates> </RateAmountMessage> </RateAmountMessages> </OTA_HotelRateAmountNotifRQ> </soap:Body> </soap:Envelope> |
Response Message handling is not yet available
OTA_HotelRateAmountNotifRS Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelRatePlanNotifRS | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional | |
@TimeStamp | 1 | Time of the transaction. | |
@Version | 1 | Version is a mandatory attribute in OTA; therefore, it must remain Mandatory in HTNG to be able to use the same message. | |
@MessageContentCode | 1 | The attribute refers to OTA code list MCC which includes RateAvail, RoomAvail, RoomRateAvail, SegmentAvail, SegmentRoomAvail, HouseAvail, and | |
OTA_HotelRatePlanNotifRS / Success | This is the annotation that the availability status message batch was received successfully. It could be combined with warning messages if some of the | ||
OTA_HotelRatePlanNotifRS / Warnings | 1..n | Optional. The attribute refers to the MCC OTA code list which includes Rate, Package, Group. | |
OTA_HotelRatePlanNotifRS / Warnings / Warning | 1..99 | Mandatory if parent level is present. | |
@ Type | 1 | Mandatory in OTA. Refers to OTA EWT list (error warning type). | |
@ Code | 0..1 | Optional. Refers to OTA list ERR. Should be used wherever possible. | |
@ RecordID | 0..1 | If the receiving system can identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be | |
OTA_HotelRatePlanNotifRS/ Errors | 1 | Optional. Errors are returned if the request was unable to be processed. The attribute refers to the MCC OTA code list which includes Rate, Package, Group. | |
OTA_HotelRatePlanNotifRS/ Errors / Error | 1..99 | Mandatory if parent level is present. | |
@ Type | 1 | Mandatory in OTA. Refers to OTA EWT list (error warning type). | |
@ Code | 0..1 | Optional. Refers to OTA list ERR. Should be used wherever possible | |
@ RecordID | 0..1 | If the receiving system can identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be reported here. |
OTA_HotelRateAmountNotifRS Sample Rate Message
Code Block | ||
---|---|---|
| ||
<OTA_HotelRatePlanNotifRS 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_HotelRatePlanNotifRS.xsd" TimeStamp="2004-05-01T06:39:09" Target="Production" Version="1.002"> <Success/> </OTA_HotelRatePlanNotifRS> |
Page Properties | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|