Booking


Click here for a complete list of operations.

GetPriceSearchByID

Description: GetSearchPriceById method is used to get the detail information of the row selected in the records
returning from GetMinPriceInfo and send it to reservation.A row is selected in the dataset returning from
GetPriceById method and sent to GetReservation Dataset method as parameter. And reservation process gets
started.

Parameters Sent
token:
Key number given upon login to system
catPackID: CatPackID returning from GetMinPriceInfo method
aRecNo: ArecNO returning from GetMinPriceInfo method
pRecNo: PrecNo returning from GetMinPriceInfo method
HapRecID: HapRecId returning from GetMinPriceInfo method
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both
returning and sent.

Returning Parameters
Might be used to get all the information of the minimum price returning from GetMinPriceInfo and send to
GetReservationDataSet method. (Has same structure with the dataset returning from GetPriceSearchB2C
method.)

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

<?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>
    <GetPriceSearchByID xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <catPackID>int</catPackID>
      <aRecNo>int</aRecNo>
      <pRecNo>int</pRecNo>
      <HapRecID>int</HapRecID>
      <onlyHotelAvailable>boolean</onlyHotelAvailable>
      <onlyFlightAvailable>boolean</onlyFlightAvailable>
      <showFlightDetail>boolean</showFlightDetail>
      <checkPriceList>boolean</checkPriceList>
      <errorMsg>string</errorMsg>
    </GetPriceSearchByID>
  </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>
    <GetPriceSearchByIDResponse xmlns="http://www.tourvisio.com/">
      <GetPriceSearchByIDResult>
        <xsd:schema>schema</xsd:schema>xml</GetPriceSearchByIDResult>
      <errorMsg>string</errorMsg>
    </GetPriceSearchByIDResponse>
  </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/Booking.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>
    <GetPriceSearchByID xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <catPackID>int</catPackID>
      <aRecNo>int</aRecNo>
      <pRecNo>int</pRecNo>
      <HapRecID>int</HapRecID>
      <onlyHotelAvailable>boolean</onlyHotelAvailable>
      <onlyFlightAvailable>boolean</onlyFlightAvailable>
      <showFlightDetail>boolean</showFlightDetail>
      <checkPriceList>boolean</checkPriceList>
      <errorMsg>string</errorMsg>
    </GetPriceSearchByID>
  </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>
    <GetPriceSearchByIDResponse xmlns="http://www.tourvisio.com/">
      <GetPriceSearchByIDResult>
        <xsd:schema>schema</xsd:schema>xml</GetPriceSearchByIDResult>
      <errorMsg>string</errorMsg>
    </GetPriceSearchByIDResponse>
  </soap12:Body>
</soap12:Envelope>