Hotel


Click here for a complete list of operations.

GetHotelPricesXML

Description: It sends period prices of given hotel

Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
beginDate: Price Begin Date (if send 01.01.0001,begindate is today)
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
BegDate:Period Begin Date,EndDate:Perid End Date,
Board:Board Code,Room:Room Code,
HotelName:Hotel Name,RoomName:Room Name,BoardName:Board Name
PP_Price:Per person price,ExtBed1:1.Extra Bed Price,ExtBed2:2.Extra Bed Price,
Sng_Price:Single Price,Dbl_Price:Double Price,Trp_Price:Triple Price,Quad_Price:Quad Price
ChdG1Age1,ChdG1Age2:1.Age Group Range,ChdG2Age1,ChdG2Age2:2.Age Group Range,
ChdG3Age1,ChdG3Age2:3.Age Group Range,ChdG4Age1,ChdG4Age2:4.Age Group Range,
Night:shows number of nights of the price,
MinNight:Minumum Night,MaxNight:Maximum Night,NetCur:Currency,
ChdG1_1,ChdG1_2,ChdG1_3:1., 2. and 3. children's prices connected to 1. Age group,
ChdG2_1,ChdG2_2,ChdG2_3:1., 2. and 3. children's prices connected to 2. Age group,
ChdG3_1,ChdG3_2,ChdG3_3:1., 2. and 3. children's prices connected to 3. Age group,
ChdG4_1,ChdG4_2,ChdG4_3:1., 2. and 3. children's prices connected to 4. Age group,
FootNote:Dip Note

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

<?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>
    <GetHotelPricesXML xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <hotelCode>string</hotelCode>
      <beginDate>dateTime</beginDate>
      <errorMsg>string</errorMsg>
    </GetHotelPricesXML>
  </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>
    <GetHotelPricesXMLResponse xmlns="http://www.tourvisio.com/">
      <GetHotelPricesXMLResult>
        <Result>boolean</Result>
        <ErrorMessage>string</ErrorMessage>
        <ReturnValue>string</ReturnValue>
      </GetHotelPricesXMLResult>
      <errorMsg>string</errorMsg>
    </GetHotelPricesXMLResponse>
  </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 /TvWebServices/Hotel.asmx HTTP/1.1
Host: tivrona.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>
    <GetHotelPricesXML xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <hotelCode>string</hotelCode>
      <beginDate>dateTime</beginDate>
      <errorMsg>string</errorMsg>
    </GetHotelPricesXML>
  </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>
    <GetHotelPricesXMLResponse xmlns="http://www.tourvisio.com/">
      <GetHotelPricesXMLResult>
        <Result>boolean</Result>
        <ErrorMessage>string</ErrorMessage>
        <ReturnValue>string</ReturnValue>
      </GetHotelPricesXMLResult>
      <errorMsg>string</errorMsg>
    </GetHotelPricesXMLResponse>
  </soap12:Body>
</soap12:Envelope>