module


Click here for a complete list of operations.

GetSubscriptionsPricesSTByIP

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sWSUserName:
sWSPassword:
sSubscriptionsList:
sUserGUID:
sCountryCd2:
sLanguageCode3:
sDeviceName:
sClientIP:

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_cas_module.asmx HTTP/1.1
Host: extws.sgs1.ott.kaltura.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ca.tvinci.com/GetSubscriptionsPricesSTByIP"

<?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>
    <GetSubscriptionsPricesSTByIP xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sSubscriptionsList>string</sSubscriptionsList>
      <sUserGUID>string</sUserGUID>
      <sCountryCd2>string</sCountryCd2>
      <sLanguageCode3>string</sLanguageCode3>
      <sDeviceName>string</sDeviceName>
      <sClientIP>string</sClientIP>
    </GetSubscriptionsPricesSTByIP>
  </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>
    <GetSubscriptionsPricesSTByIPResponse xmlns="http://ca.tvinci.com/">
      <GetSubscriptionsPricesSTByIPResult>
        <SubscriptionsPricesContainer>
          <m_sSubscriptionCode>string</m_sSubscriptionCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <OriginalPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </OriginalPrice>
          <endDate>long</endDate>
          <PromotionInfo>
            <CampaignId>long</CampaignId>
          </PromotionInfo>
          <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
        </SubscriptionsPricesContainer>
        <SubscriptionsPricesContainer>
          <m_sSubscriptionCode>string</m_sSubscriptionCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <OriginalPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </OriginalPrice>
          <endDate>long</endDate>
          <PromotionInfo>
            <CampaignId>long</CampaignId>
          </PromotionInfo>
          <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
        </SubscriptionsPricesContainer>
      </GetSubscriptionsPricesSTByIPResult>
    </GetSubscriptionsPricesSTByIPResponse>
  </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_cas_module.asmx HTTP/1.1
Host: extws.sgs1.ott.kaltura.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>
    <GetSubscriptionsPricesSTByIP xmlns="http://ca.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sSubscriptionsList>string</sSubscriptionsList>
      <sUserGUID>string</sUserGUID>
      <sCountryCd2>string</sCountryCd2>
      <sLanguageCode3>string</sLanguageCode3>
      <sDeviceName>string</sDeviceName>
      <sClientIP>string</sClientIP>
    </GetSubscriptionsPricesSTByIP>
  </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>
    <GetSubscriptionsPricesSTByIPResponse xmlns="http://ca.tvinci.com/">
      <GetSubscriptionsPricesSTByIPResult>
        <SubscriptionsPricesContainer>
          <m_sSubscriptionCode>string</m_sSubscriptionCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <OriginalPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </OriginalPrice>
          <endDate>long</endDate>
          <PromotionInfo>
            <CampaignId>long</CampaignId>
          </PromotionInfo>
          <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
        </SubscriptionsPricesContainer>
        <SubscriptionsPricesContainer>
          <m_sSubscriptionCode>string</m_sSubscriptionCode>
          <m_oPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </m_oPrice>
          <OriginalPrice>
            <m_dPrice>double</m_dPrice>
            <m_oCurrency xsi:nil="true" />
            <countryId>int</countryId>
          </OriginalPrice>
          <endDate>long</endDate>
          <PromotionInfo>
            <CampaignId>long</CampaignId>
          </PromotionInfo>
          <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
        </SubscriptionsPricesContainer>
      </GetSubscriptionsPricesSTByIPResult>
    </GetSubscriptionsPricesSTByIPResponse>
  </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 /ws_cas_module.asmx/GetSubscriptionsPricesSTByIP HTTP/1.1
Host: extws.sgs1.ott.kaltura.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSubscriptionsPricesContainer xmlns="http://ca.tvinci.com/">
  <SubscriptionsPricesContainer>
    <m_sSubscriptionCode>string</m_sSubscriptionCode>
    <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>
    <OriginalPrice>
      <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>
    </OriginalPrice>
    <endDate>long</endDate>
    <PromotionInfo>
      <CampaignId>long</CampaignId>
    </PromotionInfo>
    <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
  </SubscriptionsPricesContainer>
  <SubscriptionsPricesContainer>
    <m_sSubscriptionCode>string</m_sSubscriptionCode>
    <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>
    <OriginalPrice>
      <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>
    </OriginalPrice>
    <endDate>long</endDate>
    <PromotionInfo>
      <CampaignId>long</CampaignId>
    </PromotionInfo>
    <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 or PendingEntitlement or PagoPurchased</m_PriceReason>
  </SubscriptionsPricesContainer>
</ArrayOfSubscriptionsPricesContainer>