Phoenix.Services


Click here for a complete list of operations.

HotelAvailabilityRQ

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 /Service.asmx HTTP/1.1
Host: kopru.test.travelflow.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "HotelAvailabilityRQ"

<?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>
    <HotelAvailabilityRQ ConversationID="string" xmlns="http://www.billianit.com/phoenix">
      <Connection>
        <Company>string</Company>
        <BranchNo>string</BranchNo>
        <Authorization>string</Authorization>
        <Nonce>string</Nonce>
        <Server>string</Server>
        <Database>string</Database>
        <Product>string</Product>
        <Customer>string</Customer>
        <Agent>
          <Code>string</Code>
          <Consultant>string</Consultant>
        </Agent>
        <Log>
          <EndPoint>string</EndPoint>
          <UserName>string</UserName>
          <Password>string</Password>
          <Transaction>boolean</Transaction>
          <GDS>boolean</GDS>
          <ConversationID>string</ConversationID>
        </Log>
      </Connection>
      <Area>string</Area>
      <HotelCode>string</HotelCode>
      <Enquiry>
        <Stays>
          <Stay>
            <Location xsi:nil="true" />
            <CheckInDate>date</CheckInDate>
            <CheckOutDate>date</CheckOutDate>
            <Rooms xsi:nil="true" />
            <HotelName>string</HotelName>
            <Rating>string</Rating>
            <RateCode>string</RateCode>
            <SpecialOffer>boolean</SpecialOffer>
            <RefundableOnly>boolean</RefundableOnly>
            <Supplier>string</Supplier>
            <SecureImageURLs>boolean</SecureImageURLs>
            <IsPackage>boolean</IsPackage>
            <ProviderCodes xsi:nil="true" />
          </Stay>
          <Stay>
            <Location xsi:nil="true" />
            <CheckInDate>date</CheckInDate>
            <CheckOutDate>date</CheckOutDate>
            <Rooms xsi:nil="true" />
            <HotelName>string</HotelName>
            <Rating>string</Rating>
            <RateCode>string</RateCode>
            <SpecialOffer>boolean</SpecialOffer>
            <RefundableOnly>boolean</RefundableOnly>
            <Supplier>string</Supplier>
            <SecureImageURLs>boolean</SecureImageURLs>
            <IsPackage>boolean</IsPackage>
            <ProviderCodes xsi:nil="true" />
          </Stay>
        </Stays>
        <CachingOptions>
          <IgnoreMinimumStay>boolean</IgnoreMinimumStay>
        </CachingOptions>
      </Enquiry>
      <ClientIP>string</ClientIP>
      <SearchReferrer>string</SearchReferrer>
      <RateCode>string</RateCode>
    </HotelAvailabilityRQ>
  </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>
    <HotelAvailabilityRS ConversationID="string" xmlns="http://www.billianit.com/phoenix">
      <Hotels>
        <Hotel>
          <Code>string</Code>
          <HotelName>base64Binary</HotelName>
          <BasicRate>decimal</BasicRate>
          <Available>boolean</Available>
          <SpecialOffer>string</SpecialOffer>
          <AvailableDates>
            <AvailableDate xsi:nil="true" />
            <AvailableDate xsi:nil="true" />
          </AvailableDates>
          <Rates>
            <Rate xsi:nil="true" />
            <Rate xsi:nil="true" />
          </Rates>
          <MandatorySupplements>
            <MandatorySupplement xsi:nil="true" />
            <MandatorySupplement xsi:nil="true" />
          </MandatorySupplements>
        </Hotel>
        <Hotel>
          <Code>string</Code>
          <HotelName>base64Binary</HotelName>
          <BasicRate>decimal</BasicRate>
          <Available>boolean</Available>
          <SpecialOffer>string</SpecialOffer>
          <AvailableDates>
            <AvailableDate xsi:nil="true" />
            <AvailableDate xsi:nil="true" />
          </AvailableDates>
          <Rates>
            <Rate xsi:nil="true" />
            <Rate xsi:nil="true" />
          </Rates>
          <MandatorySupplements>
            <MandatorySupplement xsi:nil="true" />
            <MandatorySupplement xsi:nil="true" />
          </MandatorySupplements>
        </Hotel>
      </Hotels>
      <RedirectURL>string</RedirectURL>
      <Errors>
        <Error>
          <Code>string</Code>
          <Description>string</Description>
        </Error>
        <Error>
          <Code>string</Code>
          <Description>string</Description>
        </Error>
      </Errors>
      <Warnings>
        <Warning>
          <Code>string</Code>
          <Description>string</Description>
        </Warning>
        <Warning>
          <Code>string</Code>
          <Description>string</Description>
        </Warning>
      </Warnings>
    </HotelAvailabilityRS>
  </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 /Service.asmx HTTP/1.1
Host: kopru.test.travelflow.co.uk
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>
    <HotelAvailabilityRQ ConversationID="string" xmlns="http://www.billianit.com/phoenix">
      <Connection>
        <Company>string</Company>
        <BranchNo>string</BranchNo>
        <Authorization>string</Authorization>
        <Nonce>string</Nonce>
        <Server>string</Server>
        <Database>string</Database>
        <Product>string</Product>
        <Customer>string</Customer>
        <Agent>
          <Code>string</Code>
          <Consultant>string</Consultant>
        </Agent>
        <Log>
          <EndPoint>string</EndPoint>
          <UserName>string</UserName>
          <Password>string</Password>
          <Transaction>boolean</Transaction>
          <GDS>boolean</GDS>
          <ConversationID>string</ConversationID>
        </Log>
      </Connection>
      <Area>string</Area>
      <HotelCode>string</HotelCode>
      <Enquiry>
        <Stays>
          <Stay>
            <Location xsi:nil="true" />
            <CheckInDate>date</CheckInDate>
            <CheckOutDate>date</CheckOutDate>
            <Rooms xsi:nil="true" />
            <HotelName>string</HotelName>
            <Rating>string</Rating>
            <RateCode>string</RateCode>
            <SpecialOffer>boolean</SpecialOffer>
            <RefundableOnly>boolean</RefundableOnly>
            <Supplier>string</Supplier>
            <SecureImageURLs>boolean</SecureImageURLs>
            <IsPackage>boolean</IsPackage>
            <ProviderCodes xsi:nil="true" />
          </Stay>
          <Stay>
            <Location xsi:nil="true" />
            <CheckInDate>date</CheckInDate>
            <CheckOutDate>date</CheckOutDate>
            <Rooms xsi:nil="true" />
            <HotelName>string</HotelName>
            <Rating>string</Rating>
            <RateCode>string</RateCode>
            <SpecialOffer>boolean</SpecialOffer>
            <RefundableOnly>boolean</RefundableOnly>
            <Supplier>string</Supplier>
            <SecureImageURLs>boolean</SecureImageURLs>
            <IsPackage>boolean</IsPackage>
            <ProviderCodes xsi:nil="true" />
          </Stay>
        </Stays>
        <CachingOptions>
          <IgnoreMinimumStay>boolean</IgnoreMinimumStay>
        </CachingOptions>
      </Enquiry>
      <ClientIP>string</ClientIP>
      <SearchReferrer>string</SearchReferrer>
      <RateCode>string</RateCode>
    </HotelAvailabilityRQ>
  </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>
    <HotelAvailabilityRS ConversationID="string" xmlns="http://www.billianit.com/phoenix">
      <Hotels>
        <Hotel>
          <Code>string</Code>
          <HotelName>base64Binary</HotelName>
          <BasicRate>decimal</BasicRate>
          <Available>boolean</Available>
          <SpecialOffer>string</SpecialOffer>
          <AvailableDates>
            <AvailableDate xsi:nil="true" />
            <AvailableDate xsi:nil="true" />
          </AvailableDates>
          <Rates>
            <Rate xsi:nil="true" />
            <Rate xsi:nil="true" />
          </Rates>
          <MandatorySupplements>
            <MandatorySupplement xsi:nil="true" />
            <MandatorySupplement xsi:nil="true" />
          </MandatorySupplements>
        </Hotel>
        <Hotel>
          <Code>string</Code>
          <HotelName>base64Binary</HotelName>
          <BasicRate>decimal</BasicRate>
          <Available>boolean</Available>
          <SpecialOffer>string</SpecialOffer>
          <AvailableDates>
            <AvailableDate xsi:nil="true" />
            <AvailableDate xsi:nil="true" />
          </AvailableDates>
          <Rates>
            <Rate xsi:nil="true" />
            <Rate xsi:nil="true" />
          </Rates>
          <MandatorySupplements>
            <MandatorySupplement xsi:nil="true" />
            <MandatorySupplement xsi:nil="true" />
          </MandatorySupplements>
        </Hotel>
      </Hotels>
      <RedirectURL>string</RedirectURL>
      <Errors>
        <Error>
          <Code>string</Code>
          <Description>string</Description>
        </Error>
        <Error>
          <Code>string</Code>
          <Description>string</Description>
        </Error>
      </Errors>
      <Warnings>
        <Warning>
          <Code>string</Code>
          <Description>string</Description>
        </Warning>
        <Warning>
          <Code>string</Code>
          <Description>string</Description>
        </Warning>
      </Warnings>
    </HotelAvailabilityRS>
  </soap12:Body>
</soap12:Envelope>