Booking


Click here for a complete list of operations.

GetPriceSearchV2

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 /WS/Booking.asmx HTTP/1.1
Host: enkanl.tourvisio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tourvisio.com/GetPriceSearchV2"

<?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>
    <GetPriceSearchV2 xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <pRequest>
        <DepCity>int</DepCity>
        <Country>int</Country>
        <ArrCity>int</ArrCity>
        <CheckInFrom>dateTime</CheckInFrom>
        <CheckInTo>dateTime</CheckInTo>
        <NightFrom>int</NightFrom>
        <NightTo>int</NightTo>
        <FlightControl>boolean</FlightControl>
        <HotelControl>boolean</HotelControl>
        <PromoCode>string</PromoCode>
        <HolPack>string</HolPack>
        <HotelCode>string</HotelCode>
        <CatName>string</CatName>
        <Room>string</Room>
        <Board>string</Board>
        <Town>int</Town>
        <HotelLocation>int</HotelLocation>
        <MinPPPrice>decimal</MinPPPrice>
        <MaxPPPrice>decimal</MaxPPPrice>
        <MinRoomPrice>decimal</MinRoomPrice>
        <MaxRoomPrice>decimal</MaxRoomPrice>
        <Currency>string</Currency>
        <GetFlightAllot>boolean</GetFlightAllot>
        <GetHotelAllot>boolean</GetHotelAllot>
        <RoomAndBoardIsGroup>boolean</RoomAndBoardIsGroup>
        <PackType>string</PackType>
        <NoStopSaleControl>boolean</NoStopSaleControl>
        <GetFlightCompany>boolean</GetFlightCompany>
        <GetEBDiscountVal>boolean</GetEBDiscountVal>
        <HotLocationGrp>string</HotLocationGrp>
        <GetFlightAvailablity>boolean</GetFlightAvailablity>
        <GetHotelAvailablity>boolean</GetHotelAvailablity>
        <IsB2CAgency>boolean</IsB2CAgency>
        <Direction>int</Direction>
        <PackageCategory>int</PackageCategory>
        <TvVersion>string</TvVersion>
        <ShowFlightDetail>boolean</ShowFlightDetail>
        <GetHotelPrice>boolean</GetHotelPrice>
        <Airport>string</Airport>
        <ThemeId>int</ThemeId>
        <SaleType>int</SaleType>
        <IsPriceSearchNew>boolean</IsPriceSearchNew>
        <ProductType>Undefined or HolidayPackage or Hotel or Flight or Excursion or Transfer or Tour or Cruise or Transport or Ferry or Visa or AdditionalService or Insurance or Dynamic or Renting or ExtraServices or ExcursionPackage or HandFee</ProductType>
        <FlightClass>string</FlightClass>
        <Excursion>string</Excursion>
        <Adult>int</Adult>
        <Child>int</Child>
        <ChdAge1>int</ChdAge1>
        <ChdAge2>int</ChdAge2>
        <ChdAge3>int</ChdAge3>
        <ChdAge4>int</ChdAge4>
        <RoomInfo>
          <mdlRoomInfo>
            <BookID>int</BookID>
            <Adult>int</Adult>
            <Child>int</Child>
            <ChdAge1>int</ChdAge1>
            <ChdAge2>int</ChdAge2>
            <ChdAge3>int</ChdAge3>
            <ChdAge4>int</ChdAge4>
          </mdlRoomInfo>
          <mdlRoomInfo>
            <BookID>int</BookID>
            <Adult>int</Adult>
            <Child>int</Child>
            <ChdAge1>int</ChdAge1>
            <ChdAge2>int</ChdAge2>
            <ChdAge3>int</ChdAge3>
            <ChdAge4>int</ChdAge4>
          </mdlRoomInfo>
        </RoomInfo>
      </pRequest>
      <errorMsg>string</errorMsg>
    </GetPriceSearchV2>
  </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>
    <GetPriceSearchV2Response xmlns="http://www.tourvisio.com/">
      <GetPriceSearchV2Result>
        <xsd:schema>schema</xsd:schema>xml</GetPriceSearchV2Result>
      <errorMsg>string</errorMsg>
    </GetPriceSearchV2Response>
  </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 /WS/Booking.asmx HTTP/1.1
Host: enkanl.tourvisio.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>
    <GetPriceSearchV2 xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <pRequest>
        <DepCity>int</DepCity>
        <Country>int</Country>
        <ArrCity>int</ArrCity>
        <CheckInFrom>dateTime</CheckInFrom>
        <CheckInTo>dateTime</CheckInTo>
        <NightFrom>int</NightFrom>
        <NightTo>int</NightTo>
        <FlightControl>boolean</FlightControl>
        <HotelControl>boolean</HotelControl>
        <PromoCode>string</PromoCode>
        <HolPack>string</HolPack>
        <HotelCode>string</HotelCode>
        <CatName>string</CatName>
        <Room>string</Room>
        <Board>string</Board>
        <Town>int</Town>
        <HotelLocation>int</HotelLocation>
        <MinPPPrice>decimal</MinPPPrice>
        <MaxPPPrice>decimal</MaxPPPrice>
        <MinRoomPrice>decimal</MinRoomPrice>
        <MaxRoomPrice>decimal</MaxRoomPrice>
        <Currency>string</Currency>
        <GetFlightAllot>boolean</GetFlightAllot>
        <GetHotelAllot>boolean</GetHotelAllot>
        <RoomAndBoardIsGroup>boolean</RoomAndBoardIsGroup>
        <PackType>string</PackType>
        <NoStopSaleControl>boolean</NoStopSaleControl>
        <GetFlightCompany>boolean</GetFlightCompany>
        <GetEBDiscountVal>boolean</GetEBDiscountVal>
        <HotLocationGrp>string</HotLocationGrp>
        <GetFlightAvailablity>boolean</GetFlightAvailablity>
        <GetHotelAvailablity>boolean</GetHotelAvailablity>
        <IsB2CAgency>boolean</IsB2CAgency>
        <Direction>int</Direction>
        <PackageCategory>int</PackageCategory>
        <TvVersion>string</TvVersion>
        <ShowFlightDetail>boolean</ShowFlightDetail>
        <GetHotelPrice>boolean</GetHotelPrice>
        <Airport>string</Airport>
        <ThemeId>int</ThemeId>
        <SaleType>int</SaleType>
        <IsPriceSearchNew>boolean</IsPriceSearchNew>
        <ProductType>Undefined or HolidayPackage or Hotel or Flight or Excursion or Transfer or Tour or Cruise or Transport or Ferry or Visa or AdditionalService or Insurance or Dynamic or Renting or ExtraServices or ExcursionPackage or HandFee</ProductType>
        <FlightClass>string</FlightClass>
        <Excursion>string</Excursion>
        <Adult>int</Adult>
        <Child>int</Child>
        <ChdAge1>int</ChdAge1>
        <ChdAge2>int</ChdAge2>
        <ChdAge3>int</ChdAge3>
        <ChdAge4>int</ChdAge4>
        <RoomInfo>
          <mdlRoomInfo>
            <BookID>int</BookID>
            <Adult>int</Adult>
            <Child>int</Child>
            <ChdAge1>int</ChdAge1>
            <ChdAge2>int</ChdAge2>
            <ChdAge3>int</ChdAge3>
            <ChdAge4>int</ChdAge4>
          </mdlRoomInfo>
          <mdlRoomInfo>
            <BookID>int</BookID>
            <Adult>int</Adult>
            <Child>int</Child>
            <ChdAge1>int</ChdAge1>
            <ChdAge2>int</ChdAge2>
            <ChdAge3>int</ChdAge3>
            <ChdAge4>int</ChdAge4>
          </mdlRoomInfo>
        </RoomInfo>
      </pRequest>
      <errorMsg>string</errorMsg>
    </GetPriceSearchV2>
  </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>
    <GetPriceSearchV2Response xmlns="http://www.tourvisio.com/">
      <GetPriceSearchV2Result>
        <xsd:schema>schema</xsd:schema>xml</GetPriceSearchV2Result>
      <errorMsg>string</errorMsg>
    </GetPriceSearchV2Response>
  </soap12:Body>
</soap12:Envelope>