module


Click here for a complete list of operations.

GetPrePaidPrices

Test

The test form is only available for methods with primitive types as parameters.

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

<?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>
    <GetPrePaidPrices xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sPrePaids>
        <string>string</string>
        <string>string</string>
      </sPrePaids>
      <sUserGUID>string</sUserGUID>
      <sCouponCode>string</sCouponCode>
      <sCountryCd2>string</sCountryCd2>
      <sLanguageCode3>string</sLanguageCode3>
      <sDeviceName>string</sDeviceName>
    </GetPrePaidPrices>
  </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>
    <GetPrePaidPricesResponse xmlns="http://ca.tvinci.com/">
      <GetPrePaidPricesResult>
        <PrePaidPricesContainer>
          <m_sPrePaidCode>string</m_sPrePaidCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
        </PrePaidPricesContainer>
        <PrePaidPricesContainer>
          <m_sPrePaidCode>string</m_sPrePaidCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
        </PrePaidPricesContainer>
      </GetPrePaidPricesResult>
    </GetPrePaidPricesResponse>
  </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>
    <GetPrePaidPrices xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sPrePaids>
        <string>string</string>
        <string>string</string>
      </sPrePaids>
      <sUserGUID>string</sUserGUID>
      <sCouponCode>string</sCouponCode>
      <sCountryCd2>string</sCountryCd2>
      <sLanguageCode3>string</sLanguageCode3>
      <sDeviceName>string</sDeviceName>
    </GetPrePaidPrices>
  </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>
    <GetPrePaidPricesResponse xmlns="http://ca.tvinci.com/">
      <GetPrePaidPricesResult>
        <PrePaidPricesContainer>
          <m_sPrePaidCode>string</m_sPrePaidCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
        </PrePaidPricesContainer>
        <PrePaidPricesContainer>
          <m_sPrePaidCode>string</m_sPrePaidCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
        </PrePaidPricesContainer>
      </GetPrePaidPricesResult>
    </GetPrePaidPricesResponse>
  </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/GetPrePaidPrices HTTP/1.1
Host: kbcsony.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sWSUserName=string&sWSPassword=string&sPrePaids=string&sPrePaids=string&sUserGUID=string&sCouponCode=string&sCountryCd2=string&sLanguageCode3=string&sDeviceName=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPrePaidPricesContainer xmlns="http://ca.tvinci.com/">
  <PrePaidPricesContainer>
    <m_sPrePaidCode>string</m_sPrePaidCode>
    <m_oPrice>
      <m_dPrice>double</m_dPrice>
      <m_oCurrency>
        <m_sCurrencyCD2>string</m_sCurrencyCD2>
        <m_bIsDefault>boolean</m_bIsDefault>
        <m_sCurrencyName>string</m_sCurrencyName>
        <m_sCurrencySign>string</m_sCurrencySign>
        <m_nCurrencyID>int</m_nCurrencyID>
        <m_sCurrencyCD3>string</m_sCurrencyCD3>
      </m_oCurrency>
      <countryId>int</countryId>
    </m_oPrice>
    <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
  </PrePaidPricesContainer>
  <PrePaidPricesContainer>
    <m_sPrePaidCode>string</m_sPrePaidCode>
    <m_oPrice>
      <m_dPrice>double</m_dPrice>
      <m_oCurrency>
        <m_sCurrencyCD2>string</m_sCurrencyCD2>
        <m_bIsDefault>boolean</m_bIsDefault>
        <m_sCurrencyName>string</m_sCurrencyName>
        <m_sCurrencySign>string</m_sCurrencySign>
        <m_nCurrencyID>int</m_nCurrencyID>
        <m_sCurrencyCD3>string</m_sCurrencyCD3>
      </m_oCurrency>
      <countryId>int</countryId>
    </m_oPrice>
    <m_PriceReason>PPVPurchased or Free or ForPurchaseSubscriptionOnly or SubscriptionPurchased or ForPurchase or UnKnown or SubscriptionPurchasedWrongCurrency or PrePaidPurchased or GeoCommerceBlocked or EntitledToPreviewModule or FirstDeviceLimitation or CollectionPurchased or UserSuspended or NotForPurchase or InvalidCurrency or CurrencyNotDefinedOnPriceCode</m_PriceReason>
  </PrePaidPricesContainer>
</ArrayOfPrePaidPricesContainer>