SupplierWebService
Click here for a complete list of operations.
OTA_HotelRes
Confirm reservations
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 /services/HTNG.asmx HTTP/1.1 Host: propertyv2.quickbeds.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "" <?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:Header> <HTNGHeader xmlns="http://htng.org/1.1/Header"> <From> <systemId>string</systemId> <Credential> <userName>string</userName> <password>string</password> </Credential> </From> <To> <systemId>string</systemId> </To> <timeStamp>string</timeStamp> <echoToken>string</echoToken> <transactionId>string</transactionId> <action>string</action> </HTNGHeader> </soap:Header> <soap:Body> <OTA_HotelResRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" ResStatus="Book or Quote or Hold or Initiate or Ignore or Modify or Commit or Cancel or CommitOverrideEdits or VerifyPrice or Ticket" HoldDuration="duration" 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" PositionAccuracy="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" PositionAccuracy="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <HotelReservations> <HotelReservation RoomStayReservation="boolean" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" ResStatus="string" ForcedSellIndicator="boolean" ServiceOverrideIndicator="boolean" RateOverrideIndicator="boolean" WalkInIndicator="boolean" RoomNumberLockedIndicator="boolean" OriginalDeliveryMethodCode="string" PassiveIndicator="boolean"> <POS> <Source xsi:nil="true" /> <Source xsi:nil="true" /> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RoomStays> <RoomStay xsi:nil="true" /> <RoomStay xsi:nil="true" /> </RoomStays> <Services> <Service xsi:nil="true" /> <Service xsi:nil="true" /> </Services> <ResGuests> <ResGuest xsi:nil="true" /> <ResGuest xsi:nil="true" /> </ResGuests> <ResGlobalInfo> <HotelReservationIDs xsi:nil="true" /> <RoutingHops xsi:nil="true" /> <Profiles xsi:nil="true" /> <BookingRules xsi:nil="true" /> </ResGlobalInfo> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData xsi:nil="true" /> <Email xsi:nil="true" /> </WrittenConfInst> <Queue PseudoCityCode="string" QueueNumber="string" QueueCategory="string" SystemCode="string" QueueID="string" /> <TPA_Extensions>xml</TPA_Extensions> <HotelSearchCriteria /> </HotelReservation> <HotelReservation RoomStayReservation="boolean" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" ResStatus="string" ForcedSellIndicator="boolean" ServiceOverrideIndicator="boolean" RateOverrideIndicator="boolean" WalkInIndicator="boolean" RoomNumberLockedIndicator="boolean" OriginalDeliveryMethodCode="string" PassiveIndicator="boolean"> <POS> <Source xsi:nil="true" /> <Source xsi:nil="true" /> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RoomStays> <RoomStay xsi:nil="true" /> <RoomStay xsi:nil="true" /> </RoomStays> <Services> <Service xsi:nil="true" /> <Service xsi:nil="true" /> </Services> <ResGuests> <ResGuest xsi:nil="true" /> <ResGuest xsi:nil="true" /> </ResGuests> <ResGlobalInfo> <HotelReservationIDs xsi:nil="true" /> <RoutingHops xsi:nil="true" /> <Profiles xsi:nil="true" /> <BookingRules xsi:nil="true" /> </ResGlobalInfo> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData xsi:nil="true" /> <Email xsi:nil="true" /> </WrittenConfInst> <Queue PseudoCityCode="string" QueueNumber="string" QueueCategory="string" SystemCode="string" QueueID="string" /> <TPA_Extensions>xml</TPA_Extensions> <HotelSearchCriteria /> </HotelReservation> <RoutingHops> <RoutingHop SystemCode="string" LocalRefID="string" TimeStamp="dateTime" Comment="string" SequenceNmbr="integer" Data="string" /> <RoutingHop SystemCode="string" LocalRefID="string" TimeStamp="dateTime" Comment="string" SequenceNmbr="integer" Data="string" /> </RoutingHops> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData Name="string" ParagraphNumber="nonNegativeInteger" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" Language="language" /> <Email ShareSynchInd="" ShareMarketInd="" DefaultInd="boolean" EmailType="string" RPH="string" Remark="string" /> </WrittenConfInst> <TPA_Extensions>xml</TPA_Extensions> </HotelReservations> </OTA_HotelResRQ> </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:Header> <HTNGHeader xmlns="http://htng.org/1.1/Header"> <From> <systemId>string</systemId> <Credential> <userName>string</userName> <password>string</password> </Credential> </From> <To> <systemId>string</systemId> </To> <timeStamp>string</timeStamp> <echoToken>string</echoToken> <transactionId>string</transactionId> <action>string</action> </HTNGHeader> </soap:Header> <soap:Body> <OTA_HotelResRS EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" ResResponseType="Pending or Cancelled or Modified or Committed or Ignored or On Hold or Unsuccessful or PendingCancellation or PendingPurchase or Requested or Reserved or Unchanged or RequestDenied or Ticketed" xmlns="http://htng.org/1.1/Header"> <POS xmlns="http://www.opentravel.org/OTA/2003/05"> <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" PositionAccuracy="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" PositionAccuracy="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> </OTA_HotelResRS> </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 /services/HTNG.asmx HTTP/1.1 Host: propertyv2.quickbeds.com 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:Header> <HTNGHeader xmlns="http://htng.org/1.1/Header"> <From> <systemId>string</systemId> <Credential> <userName>string</userName> <password>string</password> </Credential> </From> <To> <systemId>string</systemId> </To> <timeStamp>string</timeStamp> <echoToken>string</echoToken> <transactionId>string</transactionId> <action>string</action> </HTNGHeader> </soap12:Header> <soap12:Body> <OTA_HotelResRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" ResStatus="Book or Quote or Hold or Initiate or Ignore or Modify or Commit or Cancel or CommitOverrideEdits or VerifyPrice or Ticket" HoldDuration="duration" 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" PositionAccuracy="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" PositionAccuracy="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" /> </UniqueID> <HotelReservations> <HotelReservation RoomStayReservation="boolean" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" ResStatus="string" ForcedSellIndicator="boolean" ServiceOverrideIndicator="boolean" RateOverrideIndicator="boolean" WalkInIndicator="boolean" RoomNumberLockedIndicator="boolean" OriginalDeliveryMethodCode="string" PassiveIndicator="boolean"> <POS> <Source xsi:nil="true" /> <Source xsi:nil="true" /> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RoomStays> <RoomStay xsi:nil="true" /> <RoomStay xsi:nil="true" /> </RoomStays> <Services> <Service xsi:nil="true" /> <Service xsi:nil="true" /> </Services> <ResGuests> <ResGuest xsi:nil="true" /> <ResGuest xsi:nil="true" /> </ResGuests> <ResGlobalInfo> <HotelReservationIDs xsi:nil="true" /> <RoutingHops xsi:nil="true" /> <Profiles xsi:nil="true" /> <BookingRules xsi:nil="true" /> </ResGlobalInfo> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData xsi:nil="true" /> <Email xsi:nil="true" /> </WrittenConfInst> <Queue PseudoCityCode="string" QueueNumber="string" QueueCategory="string" SystemCode="string" QueueID="string" /> <TPA_Extensions>xml</TPA_Extensions> <HotelSearchCriteria /> </HotelReservation> <HotelReservation RoomStayReservation="boolean" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" ResStatus="string" ForcedSellIndicator="boolean" ServiceOverrideIndicator="boolean" RateOverrideIndicator="boolean" WalkInIndicator="boolean" RoomNumberLockedIndicator="boolean" OriginalDeliveryMethodCode="string" PassiveIndicator="boolean"> <POS> <Source xsi:nil="true" /> <Source xsi:nil="true" /> </POS> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string"> <CompanyName xsi:nil="true" /> </UniqueID> <RoomStays> <RoomStay xsi:nil="true" /> <RoomStay xsi:nil="true" /> </RoomStays> <Services> <Service xsi:nil="true" /> <Service xsi:nil="true" /> </Services> <ResGuests> <ResGuest xsi:nil="true" /> <ResGuest xsi:nil="true" /> </ResGuests> <ResGlobalInfo> <HotelReservationIDs xsi:nil="true" /> <RoutingHops xsi:nil="true" /> <Profiles xsi:nil="true" /> <BookingRules xsi:nil="true" /> </ResGlobalInfo> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData xsi:nil="true" /> <Email xsi:nil="true" /> </WrittenConfInst> <Queue PseudoCityCode="string" QueueNumber="string" QueueCategory="string" SystemCode="string" QueueID="string" /> <TPA_Extensions>xml</TPA_Extensions> <HotelSearchCriteria /> </HotelReservation> <RoutingHops> <RoutingHop SystemCode="string" LocalRefID="string" TimeStamp="dateTime" Comment="string" SequenceNmbr="integer" Data="string" /> <RoutingHop SystemCode="string" LocalRefID="string" TimeStamp="dateTime" Comment="string" SequenceNmbr="integer" Data="string" /> </RoutingHops> <WrittenConfInst LanguageID="string" AddresseeName="string" Address="string" Telephone="string" ConfirmInd="boolean"> <SupplementalData Name="string" ParagraphNumber="nonNegativeInteger" CreateDateTime="dateTime" CreatorID="string" LastModifyDateTime="dateTime" LastModifierID="string" PurgeDate="date" Language="language" /> <Email ShareSynchInd="" ShareMarketInd="" DefaultInd="boolean" EmailType="string" RPH="string" Remark="string" /> </WrittenConfInst> <TPA_Extensions>xml</TPA_Extensions> </HotelReservations> </OTA_HotelResRQ> </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:Header> <HTNGHeader xmlns="http://htng.org/1.1/Header"> <From> <systemId>string</systemId> <Credential> <userName>string</userName> <password>string</password> </Credential> </From> <To> <systemId>string</systemId> </To> <timeStamp>string</timeStamp> <echoToken>string</echoToken> <transactionId>string</transactionId> <action>string</action> </HTNGHeader> </soap12:Header> <soap12:Body> <OTA_HotelResRS EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" ResResponseType="Pending or Cancelled or Modified or Committed or Ignored or On Hold or Unsuccessful or PendingCancellation or PendingPurchase or Requested or Reserved or Unchanged or RequestDenied or Ticketed" xmlns="http://htng.org/1.1/Header"> <POS xmlns="http://www.opentravel.org/OTA/2003/05"> <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" PositionAccuracy="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" PositionAccuracy="string" /> <BookingChannel Type="string" Primary="boolean"> <CompanyName xsi:nil="true" /> </BookingChannel> </Source> </POS> </OTA_HotelResRS> </soap12:Body> </soap12:Envelope>