module


Click here for a complete list of operations.

GetUserBillingHistory

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sWSUserName:
sWSPassword:
sSiteGUID:
nStartIndex:
nNumberOfItems:
orderBy:

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 /restful_v5_2_8/ws_cas_module.asmx HTTP/1.1
Host: kbcsony.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ca.tvinci.com/GetUserBillingHistory"

<?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>
    <GetUserBillingHistory xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sSiteGUID>string</sSiteGUID>
      <nStartIndex>int</nStartIndex>
      <nNumberOfItems>int</nNumberOfItems>
      <orderBy>CreateDateAsc or CreateDateDesc</orderBy>
    </GetUserBillingHistory>
  </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>
    <GetUserBillingHistoryResponse xmlns="http://ca.tvinci.com/">
      <GetUserBillingHistoryResult>
        <resp>
          <Code>int</Code>
          <Message>string</Message>
          <Args>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </Args>
        </resp>
        <transactions>
          <m_nTransactionsCount>int</m_nTransactionsCount>
          <m_Transactions>
            <BillingTransactionContainer xsi:nil="true" />
            <BillingTransactionContainer xsi:nil="true" />
          </m_Transactions>
        </transactions>
      </GetUserBillingHistoryResult>
    </GetUserBillingHistoryResponse>
  </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 /restful_v5_2_8/ws_cas_module.asmx HTTP/1.1
Host: kbcsony.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>
    <GetUserBillingHistory xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sSiteGUID>string</sSiteGUID>
      <nStartIndex>int</nStartIndex>
      <nNumberOfItems>int</nNumberOfItems>
      <orderBy>CreateDateAsc or CreateDateDesc</orderBy>
    </GetUserBillingHistory>
  </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>
    <GetUserBillingHistoryResponse xmlns="http://ca.tvinci.com/">
      <GetUserBillingHistoryResult>
        <resp>
          <Code>int</Code>
          <Message>string</Message>
          <Args>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </Args>
        </resp>
        <transactions>
          <m_nTransactionsCount>int</m_nTransactionsCount>
          <m_Transactions>
            <BillingTransactionContainer xsi:nil="true" />
            <BillingTransactionContainer xsi:nil="true" />
          </m_Transactions>
        </transactions>
      </GetUserBillingHistoryResult>
    </GetUserBillingHistoryResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /restful_v5_2_8/ws_cas_module.asmx/GetUserBillingHistory HTTP/1.1
Host: kbcsony.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sWSUserName=string&sWSPassword=string&sSiteGUID=string&nStartIndex=string&nNumberOfItems=string&orderBy=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<BillingTransactions xmlns="http://ca.tvinci.com/">
  <resp>
    <Code>int</Code>
    <Message>string</Message>
    <Args>
      <KeyValuePair>
        <key>string</key>
        <value>string</value>
      </KeyValuePair>
      <KeyValuePair>
        <key>string</key>
        <value>string</value>
      </KeyValuePair>
    </Args>
  </resp>
  <transactions>
    <m_nTransactionsCount>int</m_nTransactionsCount>
    <m_Transactions>
      <BillingTransactionContainer>
        <m_dtActionDate>dateTime</m_dtActionDate>
        <m_dtStartDate>dateTime</m_dtStartDate>
        <m_dtEndDate>dateTime</m_dtEndDate>
        <m_eBillingAction>Unknown or Purchase or RenewPayment or RenewCancledSubscription or CancelSubscriptionOrder or SubscriptionDateChanged</m_eBillingAction>
        <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection</m_eItemType>
        <m_bIsRecurring>boolean</m_bIsRecurring>
        <m_nBillingProviderRef>int</m_nBillingProviderRef>
        <m_nPurchaseID>int</m_nPurchaseID>
        <m_sPurchasedItemName>string</m_sPurchasedItemName>
        <m_sPurchasedItemCode>string</m_sPurchasedItemCode>
        <m_sRecieptCode>string</m_sRecieptCode>
        <m_sRemarks>string</m_sRemarks>
        <m_sPaymentMethodExtraDetails>string</m_sPaymentMethodExtraDetails>
        <m_Price d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalTransactionId>string</ExternalTransactionId>
        <billingPriceType>FullPeriod or PartialPeriod</billingPriceType>
        <m_ePaymentMethod>Unknown or CreditCard or SMS or PayPal or DebitCard or Ideal or Incaso or Gift or ChangeSubscription or Visa or MasterCard or Offline or M1 or SmartSun or InApp</m_ePaymentMethod>
      </BillingTransactionContainer>
      <BillingTransactionContainer>
        <m_dtActionDate>dateTime</m_dtActionDate>
        <m_dtStartDate>dateTime</m_dtStartDate>
        <m_dtEndDate>dateTime</m_dtEndDate>
        <m_eBillingAction>Unknown or Purchase or RenewPayment or RenewCancledSubscription or CancelSubscriptionOrder or SubscriptionDateChanged</m_eBillingAction>
        <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection</m_eItemType>
        <m_bIsRecurring>boolean</m_bIsRecurring>
        <m_nBillingProviderRef>int</m_nBillingProviderRef>
        <m_nPurchaseID>int</m_nPurchaseID>
        <m_sPurchasedItemName>string</m_sPurchasedItemName>
        <m_sPurchasedItemCode>string</m_sPurchasedItemCode>
        <m_sRecieptCode>string</m_sRecieptCode>
        <m_sRemarks>string</m_sRemarks>
        <m_sPaymentMethodExtraDetails>string</m_sPaymentMethodExtraDetails>
        <m_Price d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalTransactionId>string</ExternalTransactionId>
        <billingPriceType>FullPeriod or PartialPeriod</billingPriceType>
        <m_ePaymentMethod>Unknown or CreditCard or SMS or PayPal or DebitCard or Ideal or Incaso or Gift or ChangeSubscription or Visa or MasterCard or Offline or M1 or SmartSun or InApp</m_ePaymentMethod>
      </BillingTransactionContainer>
    </m_Transactions>
  </transactions>
</BillingTransactions>