ImportConditionTemplates
Click here for a complete list of operations.
OTA_HotelAvailNotifRQ
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /OTA/ImportConditionTemplates.asmx HTTP/1.1 Host: interface.deskline.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "OTA_HotelAvailNotifRQ" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <OTA_HotelAvailNotifRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" PrimaryLangID="language" RetransmissionIndicator="boolean" CorrelationID="string" MessageContentCode="string" xmlns="http://www.opentravel.org/OTA/2003/05"> <POS> <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string"> <RequestorID MessagePassword="string" /> <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string"> <RequestorID MessagePassword="string" /> <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <AvailStatusMessages ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string"> <AvailStatusMessage Override="boolean" BookingLimitMessageType="" BookingLimit="nonNegativeInteger" LocatorID="positiveInteger"> <StatusApplicationControl InvCodeApplication="" InvCode="string" InvType="string" InvTypeCode="string" IsRoom="boolean" Start="string" Duration="string" End="string" RatePlanType="string" RatePlanCode="string" RatePlanID="string" RatePlanQualifier="boolean" PromotionCode="string" PromotionVendorCode="" RatePlanCategory="string" Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string"> <DestinationSystemCodes xsi:nil="true" /> </StatusApplicationControl> <LengthsOfStay ArrivalDateBased="boolean" FixedPatternLength="integer"> <LengthOfStay xsi:nil="true" /> <LengthOfStay xsi:nil="true" /> </LengthsOfStay> <BestAvailableRates> <BestAvailableRate xsi:nil="true" /> <BestAvailableRate xsi:nil="true" /> </BestAvailableRates> <HurdleRate Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" /> <Delta Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" Ceiling="positiveInteger" MaxSold="positiveInteger" /> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RestrictionStatus Restriction="" Status="Open or Close or ClosedOnArrival or ClosedOnArrivalOnRequest or OnRequest or RemoveCloseOnly" SellThroughOpenIndicator="boolean" MaxAdvancedBookingOffset="duration" MinAdvancedBookingOffset="duration" /> </AvailStatusMessage> <AvailStatusMessage Override="boolean" BookingLimitMessageType="" BookingLimit="nonNegativeInteger" LocatorID="positiveInteger"> <StatusApplicationControl InvCodeApplication="" InvCode="string" InvType="string" InvTypeCode="string" IsRoom="boolean" Start="string" Duration="string" End="string" RatePlanType="string" RatePlanCode="string" RatePlanID="string" RatePlanQualifier="boolean" PromotionCode="string" PromotionVendorCode="" RatePlanCategory="string" Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string"> <DestinationSystemCodes xsi:nil="true" /> </StatusApplicationControl> <LengthsOfStay ArrivalDateBased="boolean" FixedPatternLength="integer"> <LengthOfStay xsi:nil="true" /> <LengthOfStay xsi:nil="true" /> </LengthsOfStay> <BestAvailableRates> <BestAvailableRate xsi:nil="true" /> <BestAvailableRate xsi:nil="true" /> </BestAvailableRates> <HurdleRate Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" /> <Delta Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" Ceiling="positiveInteger" MaxSold="positiveInteger" /> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RestrictionStatus Restriction="" Status="Open or Close or ClosedOnArrival or ClosedOnArrivalOnRequest or OnRequest or RemoveCloseOnly" SellThroughOpenIndicator="boolean" MaxAdvancedBookingOffset="duration" MinAdvancedBookingOffset="duration" /> </AvailStatusMessage> </AvailStatusMessages> </OTA_HotelAvailNotifRQ> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <OTA_HotelAvailNotifRS EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" PrimaryLangID="language" RetransmissionIndicator="boolean" CorrelationID="string" xmlns="http://www.opentravel.org/OTA/2003/05"> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <TPA_Extensions>xml</TPA_Extensions> </OTA_HotelAvailNotifRS> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /OTA/ImportConditionTemplates.asmx HTTP/1.1 Host: interface.deskline.net Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <OTA_HotelAvailNotifRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" PrimaryLangID="language" RetransmissionIndicator="boolean" CorrelationID="string" MessageContentCode="string" xmlns="http://www.opentravel.org/OTA/2003/05"> <POS> <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string"> <RequestorID MessagePassword="string" /> <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string"> <RequestorID MessagePassword="string" /> <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <AvailStatusMessages ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string"> <AvailStatusMessage Override="boolean" BookingLimitMessageType="" BookingLimit="nonNegativeInteger" LocatorID="positiveInteger"> <StatusApplicationControl InvCodeApplication="" InvCode="string" InvType="string" InvTypeCode="string" IsRoom="boolean" Start="string" Duration="string" End="string" RatePlanType="string" RatePlanCode="string" RatePlanID="string" RatePlanQualifier="boolean" PromotionCode="string" PromotionVendorCode="" RatePlanCategory="string" Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string"> <DestinationSystemCodes xsi:nil="true" /> </StatusApplicationControl> <LengthsOfStay ArrivalDateBased="boolean" FixedPatternLength="integer"> <LengthOfStay xsi:nil="true" /> <LengthOfStay xsi:nil="true" /> </LengthsOfStay> <BestAvailableRates> <BestAvailableRate xsi:nil="true" /> <BestAvailableRate xsi:nil="true" /> </BestAvailableRates> <HurdleRate Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" /> <Delta Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" Ceiling="positiveInteger" MaxSold="positiveInteger" /> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RestrictionStatus Restriction="" Status="Open or Close or ClosedOnArrival or ClosedOnArrivalOnRequest or OnRequest or RemoveCloseOnly" SellThroughOpenIndicator="boolean" MaxAdvancedBookingOffset="duration" MinAdvancedBookingOffset="duration" /> </AvailStatusMessage> <AvailStatusMessage Override="boolean" BookingLimitMessageType="" BookingLimit="nonNegativeInteger" LocatorID="positiveInteger"> <StatusApplicationControl InvCodeApplication="" InvCode="string" InvType="string" InvTypeCode="string" IsRoom="boolean" Start="string" Duration="string" End="string" RatePlanType="string" RatePlanCode="string" RatePlanID="string" RatePlanQualifier="boolean" PromotionCode="string" PromotionVendorCode="" RatePlanCategory="string" Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string"> <DestinationSystemCodes xsi:nil="true" /> </StatusApplicationControl> <LengthsOfStay ArrivalDateBased="boolean" FixedPatternLength="integer"> <LengthOfStay xsi:nil="true" /> <LengthOfStay xsi:nil="true" /> </LengthsOfStay> <BestAvailableRates> <BestAvailableRate xsi:nil="true" /> <BestAvailableRate xsi:nil="true" /> </BestAvailableRates> <HurdleRate Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" /> <Delta Amount="decimal" CurrencyCode="string" DecimalPlaces="nonNegativeInteger" Ceiling="positiveInteger" MaxSold="positiveInteger" /> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RestrictionStatus Restriction="" Status="Open or Close or ClosedOnArrival or ClosedOnArrivalOnRequest or OnRequest or RemoveCloseOnly" SellThroughOpenIndicator="boolean" MaxAdvancedBookingOffset="duration" MinAdvancedBookingOffset="duration" /> </AvailStatusMessage> </AvailStatusMessages> </OTA_HotelAvailNotifRQ> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <OTA_HotelAvailNotifRS EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" PrimaryLangID="language" RetransmissionIndicator="boolean" CorrelationID="string" xmlns="http://www.opentravel.org/OTA/2003/05"> <UniqueID URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <TPA_Extensions>xml</TPA_Extensions> </OTA_HotelAvailNotifRS> </soap12:Body> </soap12:Envelope>