TikAero TikSqlDbWeb service


Click here for a complete list of operations.

GetAvailability

Function GetAvailability(ByVal strOrigin As String, ByVal strDestination As String, ByVal dteFrom As String, ByVal dteTo As String, ByVal dteBooking As String, ByVal iAdult As Short, ByVal iChild As Short, ByVal iInfant As Short, ByVal iOther As Short, ByVal strOtherPassengerType As String, ByVal strBoardingClass As String, ByVal strBookingClass As String, ByVal strDayTimeIndicator As String, ByVal strAgencyCode As String, ByVal strCurrencyCode As String, ByVal strFlightID As String, ByVal strFareId As String, ByVal dMaxAmount As Double, ByVal bNonStopOnly As Boolean, ByVal bIncludeDeparted As Boolean, ByVal bIncludeCancelled As Boolean, ByVal bIncludeWaitlisted As Boolean, ByVal bIncludeSoldOut As Boolean, ByVal bRefundable As Boolean, ByVal bGroupFares As Boolean, ByVal bITFaresOnly As Boolean, ByVal bStaffFares As Boolean, ByVal bApplyFareLogic As Boolean, ByVal bUnknownTransit As Boolean, ByVal strTransitPoint As String, ByVal dteReturnFrom As String, ByVal dteReturnTo As String, ByRef rsReturnByte As Byte(), ByVal bMapWithFares As Boolean, ByVal bReturnRefundable As Boolean, ByVal strReturnDayTimeIndicator As String) As Byte()

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 /TikSqlDbWeb.asmx HTTP/1.1
Host: asr.yetiairlines.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tiksystems.com/TikSqlDBWebServices/GetAvailability"

<?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>
    <GetAvailability xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strOrigin>string</strOrigin>
      <strDestination>string</strDestination>
      <dteFrom>string</dteFrom>
      <dteTo>string</dteTo>
      <dteBooking>string</dteBooking>
      <iAdult>short</iAdult>
      <iChild>short</iChild>
      <iInfant>short</iInfant>
      <iOther>short</iOther>
      <strOtherPassengerType>string</strOtherPassengerType>
      <strBoardingClass>string</strBoardingClass>
      <strBookingClass>string</strBookingClass>
      <strDayTimeIndicator>string</strDayTimeIndicator>
      <strAgencyCode>string</strAgencyCode>
      <strCurrencyCode>string</strCurrencyCode>
      <strFlightID>string</strFlightID>
      <strFareId>string</strFareId>
      <dMaxAmount>double</dMaxAmount>
      <bNonStopOnly>boolean</bNonStopOnly>
      <bIncludeDeparted>boolean</bIncludeDeparted>
      <bIncludeCancelled>boolean</bIncludeCancelled>
      <bIncludeWaitlisted>boolean</bIncludeWaitlisted>
      <bIncludeSoldOut>boolean</bIncludeSoldOut>
      <bRefundable>boolean</bRefundable>
      <bGroupFares>boolean</bGroupFares>
      <bITFaresOnly>boolean</bITFaresOnly>
      <bStaffFares>boolean</bStaffFares>
      <bApplyFareLogic>boolean</bApplyFareLogic>
      <bUnknownTransit>boolean</bUnknownTransit>
      <strTransitPoint>string</strTransitPoint>
      <dteReturnFrom>string</dteReturnFrom>
      <dteReturnTo>string</dteReturnTo>
      <rsReturnByte>base64Binary</rsReturnByte>
      <bMapWithFares>boolean</bMapWithFares>
      <bReturnRefundable>boolean</bReturnRefundable>
      <strReturnDayTimeIndicator>string</strReturnDayTimeIndicator>
      <strPromotionCode>string</strPromotionCode>
      <strFareType>string</strFareType>
      <strLanguage>string</strLanguage>
      <strIpAddress>string</strIpAddress>
      <bNoVat>boolean</bNoVat>
    </GetAvailability>
  </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>
    <GetAvailabilityResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <GetAvailabilityResult>base64Binary</GetAvailabilityResult>
      <rsReturnByte>base64Binary</rsReturnByte>
    </GetAvailabilityResponse>
  </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 /TikSqlDbWeb.asmx HTTP/1.1
Host: asr.yetiairlines.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>
    <GetAvailability xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strOrigin>string</strOrigin>
      <strDestination>string</strDestination>
      <dteFrom>string</dteFrom>
      <dteTo>string</dteTo>
      <dteBooking>string</dteBooking>
      <iAdult>short</iAdult>
      <iChild>short</iChild>
      <iInfant>short</iInfant>
      <iOther>short</iOther>
      <strOtherPassengerType>string</strOtherPassengerType>
      <strBoardingClass>string</strBoardingClass>
      <strBookingClass>string</strBookingClass>
      <strDayTimeIndicator>string</strDayTimeIndicator>
      <strAgencyCode>string</strAgencyCode>
      <strCurrencyCode>string</strCurrencyCode>
      <strFlightID>string</strFlightID>
      <strFareId>string</strFareId>
      <dMaxAmount>double</dMaxAmount>
      <bNonStopOnly>boolean</bNonStopOnly>
      <bIncludeDeparted>boolean</bIncludeDeparted>
      <bIncludeCancelled>boolean</bIncludeCancelled>
      <bIncludeWaitlisted>boolean</bIncludeWaitlisted>
      <bIncludeSoldOut>boolean</bIncludeSoldOut>
      <bRefundable>boolean</bRefundable>
      <bGroupFares>boolean</bGroupFares>
      <bITFaresOnly>boolean</bITFaresOnly>
      <bStaffFares>boolean</bStaffFares>
      <bApplyFareLogic>boolean</bApplyFareLogic>
      <bUnknownTransit>boolean</bUnknownTransit>
      <strTransitPoint>string</strTransitPoint>
      <dteReturnFrom>string</dteReturnFrom>
      <dteReturnTo>string</dteReturnTo>
      <rsReturnByte>base64Binary</rsReturnByte>
      <bMapWithFares>boolean</bMapWithFares>
      <bReturnRefundable>boolean</bReturnRefundable>
      <strReturnDayTimeIndicator>string</strReturnDayTimeIndicator>
      <strPromotionCode>string</strPromotionCode>
      <strFareType>string</strFareType>
      <strLanguage>string</strLanguage>
      <strIpAddress>string</strIpAddress>
      <bNoVat>boolean</bNoVat>
    </GetAvailability>
  </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>
    <GetAvailabilityResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <GetAvailabilityResult>base64Binary</GetAvailabilityResult>
      <rsReturnByte>base64Binary</rsReturnByte>
    </GetAvailabilityResponse>
  </soap12:Body>
</soap12:Envelope>