TikAero TikSqlDbWeb service


Click here for a complete list of operations.

PaymentCredit

Function PaymentCredit(ByVal strBookingPaymentId As String, ByVal strBookingId As String, ByVal strUserID As String, ByVal strFormOfPayment As String, ByVal strAgencyCode As String, ByVal strSalesCurrency As String, ByVal strPaymentCurrency As String, ByVal dSalesAmount As Double, ByVal dPaymentAmount As Double, ByVal rsAllocationByte As Byte(), ByVal strSubType As String, ByVal strDocumentNumber As String, ByVal strClientId As String, ByVal strDebitAgencyCode As String, ByVal strOriginBookingPaymentId As String, ByVal dtPayment As String, ByRef strCreditMessage As String, ByRef strRemark As String) As Boolean

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/PaymentCredit"

<?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>
    <PaymentCredit xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strBookingPaymentId>string</strBookingPaymentId>
      <strBookingId>string</strBookingId>
      <strUserID>string</strUserID>
      <strFormOfPayment>string</strFormOfPayment>
      <strAgencyCode>string</strAgencyCode>
      <strSalesCurrency>string</strSalesCurrency>
      <strPaymentCurrency>string</strPaymentCurrency>
      <dSalesAmount>double</dSalesAmount>
      <dPaymentAmount>double</dPaymentAmount>
      <rsAllocationByte>base64Binary</rsAllocationByte>
      <strSubType>string</strSubType>
      <strDocumentNumber>string</strDocumentNumber>
      <strClientId>string</strClientId>
      <strDebitAgencyCode>string</strDebitAgencyCode>
      <strOriginBookingPaymentId>string</strOriginBookingPaymentId>
      <dtPayment>string</dtPayment>
      <strCreditMessage>string</strCreditMessage>
      <strRemark>string</strRemark>
    </PaymentCredit>
  </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>
    <PaymentCreditResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <PaymentCreditResult>boolean</PaymentCreditResult>
      <strCreditMessage>string</strCreditMessage>
      <strRemark>string</strRemark>
    </PaymentCreditResponse>
  </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>
    <PaymentCredit xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strBookingPaymentId>string</strBookingPaymentId>
      <strBookingId>string</strBookingId>
      <strUserID>string</strUserID>
      <strFormOfPayment>string</strFormOfPayment>
      <strAgencyCode>string</strAgencyCode>
      <strSalesCurrency>string</strSalesCurrency>
      <strPaymentCurrency>string</strPaymentCurrency>
      <dSalesAmount>double</dSalesAmount>
      <dPaymentAmount>double</dPaymentAmount>
      <rsAllocationByte>base64Binary</rsAllocationByte>
      <strSubType>string</strSubType>
      <strDocumentNumber>string</strDocumentNumber>
      <strClientId>string</strClientId>
      <strDebitAgencyCode>string</strDebitAgencyCode>
      <strOriginBookingPaymentId>string</strOriginBookingPaymentId>
      <dtPayment>string</dtPayment>
      <strCreditMessage>string</strCreditMessage>
      <strRemark>string</strRemark>
    </PaymentCredit>
  </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>
    <PaymentCreditResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <PaymentCreditResult>boolean</PaymentCreditResult>
      <strCreditMessage>string</strCreditMessage>
      <strRemark>string</strRemark>
    </PaymentCreditResponse>
  </soap12:Body>
</soap12:Envelope>