Booking


Click here for a complete list of operations.

GetPriceSearchByIDXML

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
GetReservationDataXML 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 /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/GetPriceSearchByIDXML"

<?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>
    <GetPriceSearchByIDXML 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>
    </GetPriceSearchByIDXML>
  </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>
    <GetPriceSearchByIDXMLResponse xmlns="http://www.tourvisio.com/">
      <GetPriceSearchByIDXMLResult>
        <Result>boolean</Result>
        <ErrorMessage>string</ErrorMessage>
        <ReturnValue>string</ReturnValue>
      </GetPriceSearchByIDXMLResult>
    </GetPriceSearchByIDXMLResponse>
  </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>
    <GetPriceSearchByIDXML 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>
    </GetPriceSearchByIDXML>
  </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>
    <GetPriceSearchByIDXMLResponse xmlns="http://www.tourvisio.com/">
      <GetPriceSearchByIDXMLResult>
        <Result>boolean</Result>
        <ErrorMessage>string</ErrorMessage>
        <ReturnValue>string</ReturnValue>
      </GetPriceSearchByIDXMLResult>
    </GetPriceSearchByIDXMLResponse>
  </soap12:Body>
</soap12:Envelope>