Table of Contents | ||
---|---|---|
|
...
Code Block | ||
---|---|---|
| ||
<?xml version="'1.0"' encoding="'UTF-8" '?> <soap<n1:Envelope xmlns:wsan1="http://schemaswww.xmlsoapw3.org/ws2003/2004/08/addressing";05/soap-envelope" xmlns:wssen3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsun2="http://docswww.oasis-openw3.org/wss2005/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:soap08/addressing" xmlns:n4="http://schemashtng.xmlsoap.org/PWSWG/soap2007/envelope02/AsyncHeaders">; <soap<n1: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 <n2:MessageID>{{MessageID}}</n2:MessageID> <n4:CorrelationID>2b36432943304e8d81ba5618d5df9e5a</n4:CorrelationID> <n2:Action>http://htng.org/PWSWG/2010/12/OTA_HotelResNotifRQ _SubmitRequest</n2:Action> <n2:To>https://uat.windsurfercrs.com/pms/genhtngservice.aspx</n2:To> <n2:ReplyTo> <n2:Address>http://www.w3.org/2005/08/addressing/role/anonymous</n2:Address> </n2:ReplyTo> <n3:Security mustUnderstand="1"> <n3:UsernameToken> <n3:Username>{{UserName}}</n3:Username> <n3: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>{{Password}}</n3:Password> </n3:UsernameToken> </n3:Security> <n4:ReplyTo> <n2:Address>https://api-dev.protel.net/services/ProtelApiService.ProtelApiServiceHttpsSoap12Endpoint</n2:Address> </n4:ReplyTo> </n1: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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|