TVWebService


Click here for a complete list of operations.

SendHotelSpo

For sending Hotel SPO

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

<?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>
    <SendHotelSpo xmlns="http://www.tourvisio.com">
      <HeaderParams>
        <Header>
          <SupplierName>string</SupplierName>
          <Hotel>string</Hotel>
          <HotelName>string</HotelName>
          <Operator>string</Operator>
          <OperatorName>string</OperatorName>
          <Season>string</Season>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <Currency>string</Currency>
          <PriceOpt>int</PriceOpt>
          <ResBeginDate>dateTime</ResBeginDate>
          <ResEndDate>dateTime</ResEndDate>
          <SpoNr>int</SpoNr>
          <PriceType>string</PriceType>
          <Day1>int</Day1>
          <Day2>int</Day2>
          <Remark>string</Remark>
        </Header>
        <Header>
          <SupplierName>string</SupplierName>
          <Hotel>string</Hotel>
          <HotelName>string</HotelName>
          <Operator>string</Operator>
          <OperatorName>string</OperatorName>
          <Season>string</Season>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <Currency>string</Currency>
          <PriceOpt>int</PriceOpt>
          <ResBeginDate>dateTime</ResBeginDate>
          <ResEndDate>dateTime</ResEndDate>
          <SpoNr>int</SpoNr>
          <PriceType>string</PriceType>
          <Day1>int</Day1>
          <Day2>int</Day2>
          <Remark>string</Remark>
        </Header>
      </HeaderParams>
      <RoomPriceParams>
        <RoomPrice>
          <Accom>string</Accom>
          <AccomName>string</AccomName>
          <Room>string</Room>
          <RoomName>string</RoomName>
          <Board>string</Board>
          <BoardName>string</BoardName>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <AdultPrice>double</AdultPrice>
          <ExtBedPrice>double</ExtBedPrice>
          <BoardPrice>double</BoardPrice>
          <WeekendPrice>double</WeekendPrice>
          <SalePercent>double</SalePercent>
          <PriceType>string</PriceType>
          <ChdRefAccom>string</ChdRefAccom>
          <ChdRefRoom>string</ChdRefRoom>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Pax>int</Pax>
          <MinAdl>int</MinAdl>
          <MaxAdl>int</MaxAdl>
          <MaxChd>int</MaxChd>
          <MaxPax>int</MaxPax>
        </RoomPrice>
        <RoomPrice>
          <Accom>string</Accom>
          <AccomName>string</AccomName>
          <Room>string</Room>
          <RoomName>string</RoomName>
          <Board>string</Board>
          <BoardName>string</BoardName>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <AdultPrice>double</AdultPrice>
          <ExtBedPrice>double</ExtBedPrice>
          <BoardPrice>double</BoardPrice>
          <WeekendPrice>double</WeekendPrice>
          <SalePercent>double</SalePercent>
          <PriceType>string</PriceType>
          <ChdRefAccom>string</ChdRefAccom>
          <ChdRefRoom>string</ChdRefRoom>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Pax>int</Pax>
          <MinAdl>int</MinAdl>
          <MaxAdl>int</MaxAdl>
          <MaxChd>int</MaxChd>
          <MaxPax>int</MaxPax>
        </RoomPrice>
      </RoomPriceParams>
      <ChildPriceParams>
        <ChildPrice>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <Adult>int</Adult>
          <Accom>string</Accom>
          <Room>string</Room>
          <Board>string</Board>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Chd1Age1>int</Chd1Age1>
          <Chd1Age2>int</Chd1Age2>
          <Chd1Percent>int</Chd1Percent>
          <Chd1Price>double</Chd1Price>
          <Chd2Age1>int</Chd2Age1>
          <Chd2Age2>int</Chd2Age2>
          <Chd2Percent>int</Chd2Percent>
          <Chd2Price>double</Chd2Price>
          <Chd3Age1>int</Chd3Age1>
          <Chd3Age2>int</Chd3Age2>
          <Chd3Percent>int</Chd3Percent>
          <Chd3Price>double</Chd3Price>
          <Chd4Age1>int</Chd4Age1>
          <Chd4Age2>int</Chd4Age2>
          <Chd4Percent>int</Chd4Percent>
          <Chd4Price>double</Chd4Price>
        </ChildPrice>
        <ChildPrice>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <Adult>int</Adult>
          <Accom>string</Accom>
          <Room>string</Room>
          <Board>string</Board>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Chd1Age1>int</Chd1Age1>
          <Chd1Age2>int</Chd1Age2>
          <Chd1Percent>int</Chd1Percent>
          <Chd1Price>double</Chd1Price>
          <Chd2Age1>int</Chd2Age1>
          <Chd2Age2>int</Chd2Age2>
          <Chd2Percent>int</Chd2Percent>
          <Chd2Price>double</Chd2Price>
          <Chd3Age1>int</Chd3Age1>
          <Chd3Age2>int</Chd3Age2>
          <Chd3Percent>int</Chd3Percent>
          <Chd3Price>double</Chd3Price>
          <Chd4Age1>int</Chd4Age1>
          <Chd4Age2>int</Chd4Age2>
          <Chd4Percent>int</Chd4Percent>
          <Chd4Price>double</Chd4Price>
        </ChildPrice>
      </ChildPriceParams>
      <UserCode>string</UserCode>
      <UserPass>string</UserPass>
    </SendHotelSpo>
  </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>
    <SendHotelSpoResponse xmlns="http://www.tourvisio.com">
      <SendHotelSpoResult>string</SendHotelSpoResult>
    </SendHotelSpoResponse>
  </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 /Tv2Sej/TVWebService.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>
    <SendHotelSpo xmlns="http://www.tourvisio.com">
      <HeaderParams>
        <Header>
          <SupplierName>string</SupplierName>
          <Hotel>string</Hotel>
          <HotelName>string</HotelName>
          <Operator>string</Operator>
          <OperatorName>string</OperatorName>
          <Season>string</Season>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <Currency>string</Currency>
          <PriceOpt>int</PriceOpt>
          <ResBeginDate>dateTime</ResBeginDate>
          <ResEndDate>dateTime</ResEndDate>
          <SpoNr>int</SpoNr>
          <PriceType>string</PriceType>
          <Day1>int</Day1>
          <Day2>int</Day2>
          <Remark>string</Remark>
        </Header>
        <Header>
          <SupplierName>string</SupplierName>
          <Hotel>string</Hotel>
          <HotelName>string</HotelName>
          <Operator>string</Operator>
          <OperatorName>string</OperatorName>
          <Season>string</Season>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <Currency>string</Currency>
          <PriceOpt>int</PriceOpt>
          <ResBeginDate>dateTime</ResBeginDate>
          <ResEndDate>dateTime</ResEndDate>
          <SpoNr>int</SpoNr>
          <PriceType>string</PriceType>
          <Day1>int</Day1>
          <Day2>int</Day2>
          <Remark>string</Remark>
        </Header>
      </HeaderParams>
      <RoomPriceParams>
        <RoomPrice>
          <Accom>string</Accom>
          <AccomName>string</AccomName>
          <Room>string</Room>
          <RoomName>string</RoomName>
          <Board>string</Board>
          <BoardName>string</BoardName>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <AdultPrice>double</AdultPrice>
          <ExtBedPrice>double</ExtBedPrice>
          <BoardPrice>double</BoardPrice>
          <WeekendPrice>double</WeekendPrice>
          <SalePercent>double</SalePercent>
          <PriceType>string</PriceType>
          <ChdRefAccom>string</ChdRefAccom>
          <ChdRefRoom>string</ChdRefRoom>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Pax>int</Pax>
          <MinAdl>int</MinAdl>
          <MaxAdl>int</MaxAdl>
          <MaxChd>int</MaxChd>
          <MaxPax>int</MaxPax>
        </RoomPrice>
        <RoomPrice>
          <Accom>string</Accom>
          <AccomName>string</AccomName>
          <Room>string</Room>
          <RoomName>string</RoomName>
          <Board>string</Board>
          <BoardName>string</BoardName>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <AdultPrice>double</AdultPrice>
          <ExtBedPrice>double</ExtBedPrice>
          <BoardPrice>double</BoardPrice>
          <WeekendPrice>double</WeekendPrice>
          <SalePercent>double</SalePercent>
          <PriceType>string</PriceType>
          <ChdRefAccom>string</ChdRefAccom>
          <ChdRefRoom>string</ChdRefRoom>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Pax>int</Pax>
          <MinAdl>int</MinAdl>
          <MaxAdl>int</MaxAdl>
          <MaxChd>int</MaxChd>
          <MaxPax>int</MaxPax>
        </RoomPrice>
      </RoomPriceParams>
      <ChildPriceParams>
        <ChildPrice>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <Adult>int</Adult>
          <Accom>string</Accom>
          <Room>string</Room>
          <Board>string</Board>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Chd1Age1>int</Chd1Age1>
          <Chd1Age2>int</Chd1Age2>
          <Chd1Percent>int</Chd1Percent>
          <Chd1Price>double</Chd1Price>
          <Chd2Age1>int</Chd2Age1>
          <Chd2Age2>int</Chd2Age2>
          <Chd2Percent>int</Chd2Percent>
          <Chd2Price>double</Chd2Price>
          <Chd3Age1>int</Chd3Age1>
          <Chd3Age2>int</Chd3Age2>
          <Chd3Percent>int</Chd3Percent>
          <Chd3Price>double</Chd3Price>
          <Chd4Age1>int</Chd4Age1>
          <Chd4Age2>int</Chd4Age2>
          <Chd4Percent>int</Chd4Percent>
          <Chd4Price>double</Chd4Price>
        </ChildPrice>
        <ChildPrice>
          <Period>string</Period>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <PeriodType>string</PeriodType>
          <Adult>int</Adult>
          <Accom>string</Accom>
          <Room>string</Room>
          <Board>string</Board>
          <ReviseNo>int</ReviseNo>
          <ReviseDate>dateTime</ReviseDate>
          <Chd1Age1>int</Chd1Age1>
          <Chd1Age2>int</Chd1Age2>
          <Chd1Percent>int</Chd1Percent>
          <Chd1Price>double</Chd1Price>
          <Chd2Age1>int</Chd2Age1>
          <Chd2Age2>int</Chd2Age2>
          <Chd2Percent>int</Chd2Percent>
          <Chd2Price>double</Chd2Price>
          <Chd3Age1>int</Chd3Age1>
          <Chd3Age2>int</Chd3Age2>
          <Chd3Percent>int</Chd3Percent>
          <Chd3Price>double</Chd3Price>
          <Chd4Age1>int</Chd4Age1>
          <Chd4Age2>int</Chd4Age2>
          <Chd4Percent>int</Chd4Percent>
          <Chd4Price>double</Chd4Price>
        </ChildPrice>
      </ChildPriceParams>
      <UserCode>string</UserCode>
      <UserPass>string</UserPass>
    </SendHotelSpo>
  </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>
    <SendHotelSpoResponse xmlns="http://www.tourvisio.com">
      <SendHotelSpoResult>string</SendHotelSpoResult>
    </SendHotelSpoResponse>
  </soap12:Body>
</soap12:Envelope>