WSNewHotelSrv


Click here for a complete list of operations.

GetExternalChannelAvailability

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 /WSNewHotelSrv/WSNewHotel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.NewHotel.com/GetExternalChannelAvailability"

<?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>
    <GetExternalChannelAvailability xmlns="http://www.NewHotel.com/">
      <OTA_HotelAvailGetRQ EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" SummaryOnly="boolean" SortOrder="" RequestedCurrency="string" MaxResponses="positiveInteger" SearchCacheLevel="" MaximumWaitTime="decimal" MoreDataEchoToken="string" InfoSource="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 xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
        </POS>
        <HotelAvailRequests>
          <HotelAvailRequest HotelAvailRequestIdentifier="string" SendBookingLimit="boolean" BookingLimitMessageType="">
            <DateRange xsi:nil="true" />
            <DestinationSystemsCode xsi:nil="true" />
            <RatePlanCandidates xsi:nil="true" />
            <RoomTypeCandidates xsi:nil="true" />
            <Offers xsi:nil="true" />
            <RestrictionStatusCandidates xsi:nil="true" />
            <LengthsOfStayCandidates xsi:nil="true" />
            <BestAvailableRateCandidate xsi:nil="true" />
            <HurdleRateCandidate xsi:nil="true" />
            <DeltaCandidate xsi:nil="true" />
            <HotelRef xsi:nil="true" />
            <RebatePrograms xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </HotelAvailRequest>
          <HotelAvailRequest HotelAvailRequestIdentifier="string" SendBookingLimit="boolean" BookingLimitMessageType="">
            <DateRange xsi:nil="true" />
            <DestinationSystemsCode xsi:nil="true" />
            <RatePlanCandidates xsi:nil="true" />
            <RoomTypeCandidates xsi:nil="true" />
            <Offers xsi:nil="true" />
            <RestrictionStatusCandidates xsi:nil="true" />
            <LengthsOfStayCandidates xsi:nil="true" />
            <BestAvailableRateCandidate xsi:nil="true" />
            <HurdleRateCandidate xsi:nil="true" />
            <DeltaCandidate xsi:nil="true" />
            <HotelRef xsi:nil="true" />
            <RebatePrograms xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </HotelAvailRequest>
        </HotelAvailRequests>
      </OTA_HotelAvailGetRQ>
    </GetExternalChannelAvailability>
  </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>
    <GetExternalChannelAvailabilityResponse xmlns="http://www.NewHotel.com/">
      <OTA_HotelAvailGetRS EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" PrimaryLangID="language" AltLangID="language" MessageContentCode="string" />
    </GetExternalChannelAvailabilityResponse>
  </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 /WSNewHotelSrv/WSNewHotel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.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:Body>
    <GetExternalChannelAvailability xmlns="http://www.NewHotel.com/">
      <OTA_HotelAvailGetRQ EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" SummaryOnly="boolean" SortOrder="" RequestedCurrency="string" MaxResponses="positiveInteger" SearchCacheLevel="" MaximumWaitTime="decimal" MoreDataEchoToken="string" InfoSource="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 xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
        </POS>
        <HotelAvailRequests>
          <HotelAvailRequest HotelAvailRequestIdentifier="string" SendBookingLimit="boolean" BookingLimitMessageType="">
            <DateRange xsi:nil="true" />
            <DestinationSystemsCode xsi:nil="true" />
            <RatePlanCandidates xsi:nil="true" />
            <RoomTypeCandidates xsi:nil="true" />
            <Offers xsi:nil="true" />
            <RestrictionStatusCandidates xsi:nil="true" />
            <LengthsOfStayCandidates xsi:nil="true" />
            <BestAvailableRateCandidate xsi:nil="true" />
            <HurdleRateCandidate xsi:nil="true" />
            <DeltaCandidate xsi:nil="true" />
            <HotelRef xsi:nil="true" />
            <RebatePrograms xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </HotelAvailRequest>
          <HotelAvailRequest HotelAvailRequestIdentifier="string" SendBookingLimit="boolean" BookingLimitMessageType="">
            <DateRange xsi:nil="true" />
            <DestinationSystemsCode xsi:nil="true" />
            <RatePlanCandidates xsi:nil="true" />
            <RoomTypeCandidates xsi:nil="true" />
            <Offers xsi:nil="true" />
            <RestrictionStatusCandidates xsi:nil="true" />
            <LengthsOfStayCandidates xsi:nil="true" />
            <BestAvailableRateCandidate xsi:nil="true" />
            <HurdleRateCandidate xsi:nil="true" />
            <DeltaCandidate xsi:nil="true" />
            <HotelRef xsi:nil="true" />
            <RebatePrograms xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </HotelAvailRequest>
        </HotelAvailRequests>
      </OTA_HotelAvailGetRQ>
    </GetExternalChannelAvailability>
  </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>
    <GetExternalChannelAvailabilityResponse xmlns="http://www.NewHotel.com/">
      <OTA_HotelAvailGetRS EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" PrimaryLangID="language" AltLangID="language" MessageContentCode="string" />
    </GetExternalChannelAvailabilityResponse>
  </soap12:Body>
</soap12:Envelope>