module


Click here for a complete list of operations.

GetSubscriptionsByProductCodes

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 /restful_v5_2_4/ws_pricing_module.asmx HTTP/1.1
Host: rest-sgs1.ott.kaltura.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://pricing.tvinci.com/GetSubscriptionsByProductCodes"

<?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>
    <GetSubscriptionsByProductCodes xmlns="http://pricing.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <productCodes>
        <string>string</string>
        <string>string</string>
      </productCodes>
    </GetSubscriptionsByProductCodes>
  </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>
    <GetSubscriptionsByProductCodesResponse xmlns="http://pricing.tvinci.com/">
      <GetSubscriptionsByProductCodesResult>
        <Subscription>
          <m_bIsInfiniteRecurring>boolean</m_bIsInfiniteRecurring>
          <m_bIsRecurring>boolean</m_bIsRecurring>
          <m_dStartDate>dateTime</m_dStartDate>
          <m_dEndDate>dateTime</m_dEndDate>
          <m_fictivicMediaID>int</m_fictivicMediaID>
          <m_MultiSubscriptionUsageModule>
            <UsageModule xsi:nil="true" />
            <UsageModule xsi:nil="true" />
          </m_MultiSubscriptionUsageModule>
          <m_nDomainLimitationModule>int</m_nDomainLimitationModule>
          <m_nNumberOfRecPeriods>int</m_nNumberOfRecPeriods>
          <m_oPreviewModule>
            <m_nID>long</m_nID>
            <m_tsFullLifeCycle>int</m_tsFullLifeCycle>
            <m_sName>string</m_sName>
            <m_tsNonRenewPeriod>int</m_tsNonRenewPeriod>
            <alias>string</alias>
          </m_oPreviewModule>
          <m_oSubscriptionPriceCode>
            <m_sDescription xsi:nil="true" />
            <m_nObjectID>int</m_nObjectID>
            <m_sCode>string</m_sCode>
            <m_oPrise xsi:nil="true" />
          </m_oSubscriptionPriceCode>
          <m_oSubscriptionUsageModule>
            <m_coupon_id>int</m_coupon_id>
            <m_tsMaxUsageModuleLifeCycle>int</m_tsMaxUsageModuleLifeCycle>
            <m_nObjectID>int</m_nObjectID>
            <m_bIsOfflinePlayBack>boolean</m_bIsOfflinePlayBack>
            <m_bWaiver>boolean</m_bWaiver>
            <m_nMaxNumberOfViews>int</m_nMaxNumberOfViews>
            <m_sVirtualName>string</m_sVirtualName>
            <m_tsViewLifeCycle>int</m_tsViewLifeCycle>
            <m_nWaiverPeriod>int</m_nWaiverPeriod>
            <m_is_renew>int</m_is_renew>
            <m_pricing_id>int</m_pricing_id>
            <m_num_of_rec_periods>int</m_num_of_rec_periods>
            <m_ext_discount_id>int</m_ext_discount_id>
            <m_internal_discount_id>int</m_internal_discount_id>
            <m_type>int</m_type>
            <m_subscription_only>int</m_subscription_only>
            <m_device_limit_id>int</m_device_limit_id>
          </m_oSubscriptionUsageModule>
          <m_Priority>long</m_Priority>
          <m_ProductCode>string</m_ProductCode>
          <m_sCodes>
            <BundleCodeContainer xsi:nil="true" />
            <BundleCodeContainer xsi:nil="true" />
          </m_sCodes>
          <m_sFileTypes>
            <int>int</int>
            <int>int</int>
          </m_sFileTypes>
          <m_sName>
            <LanguageContainer xsi:nil="true" />
            <LanguageContainer xsi:nil="true" />
          </m_sName>
          <m_GracePeriodMinutes>int</m_GracePeriodMinutes>
          <m_SubscriptionCode>string</m_SubscriptionCode>
          <m_UserTypes>
            <UserType xsi:nil="true" />
            <UserType xsi:nil="true" />
          </m_UserTypes>
          <BlockCancellation>boolean</BlockCancellation>
          <PreSaleDate>dateTime</PreSaleDate>
          <m_oExtDisountModule>
            <m_dEndDate>dateTime</m_dEndDate>
            <m_dPercent>double</m_dPercent>
            <m_dStartDate>dateTime</m_dStartDate>
            <m_eTheRelationType>And or Or</m_eTheRelationType>
            <m_oWhenAlgo xsi:nil="true" />
            <alias>string</alias>
          </m_oExtDisountModule>
          <n_GeoCommerceID>int</n_GeoCommerceID>
          <m_lServices>
            <ServiceObject xsi:nil="true" />
            <ServiceObject xsi:nil="true" />
          </m_lServices>
          <SubscriptionSetIdsToPriority>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </SubscriptionSetIdsToPriority>
          <CouponsGroups>
            <SubscriptionCouponGroup xsi:nil="true" />
            <SubscriptionCouponGroup xsi:nil="true" />
          </CouponsGroups>
          <ExternalProductCodes>
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
          </ExternalProductCodes>
          <Type>NotApplicable or Base or AddOn</Type>
        </Subscription>
        <Subscription>
          <m_bIsInfiniteRecurring>boolean</m_bIsInfiniteRecurring>
          <m_bIsRecurring>boolean</m_bIsRecurring>
          <m_dStartDate>dateTime</m_dStartDate>
          <m_dEndDate>dateTime</m_dEndDate>
          <m_fictivicMediaID>int</m_fictivicMediaID>
          <m_MultiSubscriptionUsageModule>
            <UsageModule xsi:nil="true" />
            <UsageModule xsi:nil="true" />
          </m_MultiSubscriptionUsageModule>
          <m_nDomainLimitationModule>int</m_nDomainLimitationModule>
          <m_nNumberOfRecPeriods>int</m_nNumberOfRecPeriods>
          <m_oPreviewModule>
            <m_nID>long</m_nID>
            <m_tsFullLifeCycle>int</m_tsFullLifeCycle>
            <m_sName>string</m_sName>
            <m_tsNonRenewPeriod>int</m_tsNonRenewPeriod>
            <alias>string</alias>
          </m_oPreviewModule>
          <m_oSubscriptionPriceCode>
            <m_sDescription xsi:nil="true" />
            <m_nObjectID>int</m_nObjectID>
            <m_sCode>string</m_sCode>
            <m_oPrise xsi:nil="true" />
          </m_oSubscriptionPriceCode>
          <m_oSubscriptionUsageModule>
            <m_coupon_id>int</m_coupon_id>
            <m_tsMaxUsageModuleLifeCycle>int</m_tsMaxUsageModuleLifeCycle>
            <m_nObjectID>int</m_nObjectID>
            <m_bIsOfflinePlayBack>boolean</m_bIsOfflinePlayBack>
            <m_bWaiver>boolean</m_bWaiver>
            <m_nMaxNumberOfViews>int</m_nMaxNumberOfViews>
            <m_sVirtualName>string</m_sVirtualName>
            <m_tsViewLifeCycle>int</m_tsViewLifeCycle>
            <m_nWaiverPeriod>int</m_nWaiverPeriod>
            <m_is_renew>int</m_is_renew>
            <m_pricing_id>int</m_pricing_id>
            <m_num_of_rec_periods>int</m_num_of_rec_periods>
            <m_ext_discount_id>int</m_ext_discount_id>
            <m_internal_discount_id>int</m_internal_discount_id>
            <m_type>int</m_type>
            <m_subscription_only>int</m_subscription_only>
            <m_device_limit_id>int</m_device_limit_id>
          </m_oSubscriptionUsageModule>
          <m_Priority>long</m_Priority>
          <m_ProductCode>string</m_ProductCode>
          <m_sCodes>
            <BundleCodeContainer xsi:nil="true" />
            <BundleCodeContainer xsi:nil="true" />
          </m_sCodes>
          <m_sFileTypes>
            <int>int</int>
            <int>int</int>
          </m_sFileTypes>
          <m_sName>
            <LanguageContainer xsi:nil="true" />
            <LanguageContainer xsi:nil="true" />
          </m_sName>
          <m_GracePeriodMinutes>int</m_GracePeriodMinutes>
          <m_SubscriptionCode>string</m_SubscriptionCode>
          <m_UserTypes>
            <UserType xsi:nil="true" />
            <UserType xsi:nil="true" />
          </m_UserTypes>
          <BlockCancellation>boolean</BlockCancellation>
          <PreSaleDate>dateTime</PreSaleDate>
          <m_oExtDisountModule>
            <m_dEndDate>dateTime</m_dEndDate>
            <m_dPercent>double</m_dPercent>
            <m_dStartDate>dateTime</m_dStartDate>
            <m_eTheRelationType>And or Or</m_eTheRelationType>
            <m_oWhenAlgo xsi:nil="true" />
            <alias>string</alias>
          </m_oExtDisountModule>
          <n_GeoCommerceID>int</n_GeoCommerceID>
          <m_lServices>
            <ServiceObject xsi:nil="true" />
            <ServiceObject xsi:nil="true" />
          </m_lServices>
          <SubscriptionSetIdsToPriority>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </SubscriptionSetIdsToPriority>
          <CouponsGroups>
            <SubscriptionCouponGroup xsi:nil="true" />
            <SubscriptionCouponGroup xsi:nil="true" />
          </CouponsGroups>
          <ExternalProductCodes>
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
          </ExternalProductCodes>
          <Type>NotApplicable or Base or AddOn</Type>
        </Subscription>
      </GetSubscriptionsByProductCodesResult>
    </GetSubscriptionsByProductCodesResponse>
  </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_4/ws_pricing_module.asmx HTTP/1.1
Host: rest-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>
    <GetSubscriptionsByProductCodes xmlns="http://pricing.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <productCodes>
        <string>string</string>
        <string>string</string>
      </productCodes>
    </GetSubscriptionsByProductCodes>
  </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>
    <GetSubscriptionsByProductCodesResponse xmlns="http://pricing.tvinci.com/">
      <GetSubscriptionsByProductCodesResult>
        <Subscription>
          <m_bIsInfiniteRecurring>boolean</m_bIsInfiniteRecurring>
          <m_bIsRecurring>boolean</m_bIsRecurring>
          <m_dStartDate>dateTime</m_dStartDate>
          <m_dEndDate>dateTime</m_dEndDate>
          <m_fictivicMediaID>int</m_fictivicMediaID>
          <m_MultiSubscriptionUsageModule>
            <UsageModule xsi:nil="true" />
            <UsageModule xsi:nil="true" />
          </m_MultiSubscriptionUsageModule>
          <m_nDomainLimitationModule>int</m_nDomainLimitationModule>
          <m_nNumberOfRecPeriods>int</m_nNumberOfRecPeriods>
          <m_oPreviewModule>
            <m_nID>long</m_nID>
            <m_tsFullLifeCycle>int</m_tsFullLifeCycle>
            <m_sName>string</m_sName>
            <m_tsNonRenewPeriod>int</m_tsNonRenewPeriod>
            <alias>string</alias>
          </m_oPreviewModule>
          <m_oSubscriptionPriceCode>
            <m_sDescription xsi:nil="true" />
            <m_nObjectID>int</m_nObjectID>
            <m_sCode>string</m_sCode>
            <m_oPrise xsi:nil="true" />
          </m_oSubscriptionPriceCode>
          <m_oSubscriptionUsageModule>
            <m_coupon_id>int</m_coupon_id>
            <m_tsMaxUsageModuleLifeCycle>int</m_tsMaxUsageModuleLifeCycle>
            <m_nObjectID>int</m_nObjectID>
            <m_bIsOfflinePlayBack>boolean</m_bIsOfflinePlayBack>
            <m_bWaiver>boolean</m_bWaiver>
            <m_nMaxNumberOfViews>int</m_nMaxNumberOfViews>
            <m_sVirtualName>string</m_sVirtualName>
            <m_tsViewLifeCycle>int</m_tsViewLifeCycle>
            <m_nWaiverPeriod>int</m_nWaiverPeriod>
            <m_is_renew>int</m_is_renew>
            <m_pricing_id>int</m_pricing_id>
            <m_num_of_rec_periods>int</m_num_of_rec_periods>
            <m_ext_discount_id>int</m_ext_discount_id>
            <m_internal_discount_id>int</m_internal_discount_id>
            <m_type>int</m_type>
            <m_subscription_only>int</m_subscription_only>
            <m_device_limit_id>int</m_device_limit_id>
          </m_oSubscriptionUsageModule>
          <m_Priority>long</m_Priority>
          <m_ProductCode>string</m_ProductCode>
          <m_sCodes>
            <BundleCodeContainer xsi:nil="true" />
            <BundleCodeContainer xsi:nil="true" />
          </m_sCodes>
          <m_sFileTypes>
            <int>int</int>
            <int>int</int>
          </m_sFileTypes>
          <m_sName>
            <LanguageContainer xsi:nil="true" />
            <LanguageContainer xsi:nil="true" />
          </m_sName>
          <m_GracePeriodMinutes>int</m_GracePeriodMinutes>
          <m_SubscriptionCode>string</m_SubscriptionCode>
          <m_UserTypes>
            <UserType xsi:nil="true" />
            <UserType xsi:nil="true" />
          </m_UserTypes>
          <BlockCancellation>boolean</BlockCancellation>
          <PreSaleDate>dateTime</PreSaleDate>
          <m_oExtDisountModule>
            <m_dEndDate>dateTime</m_dEndDate>
            <m_dPercent>double</m_dPercent>
            <m_dStartDate>dateTime</m_dStartDate>
            <m_eTheRelationType>And or Or</m_eTheRelationType>
            <m_oWhenAlgo xsi:nil="true" />
            <alias>string</alias>
          </m_oExtDisountModule>
          <n_GeoCommerceID>int</n_GeoCommerceID>
          <m_lServices>
            <ServiceObject xsi:nil="true" />
            <ServiceObject xsi:nil="true" />
          </m_lServices>
          <SubscriptionSetIdsToPriority>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </SubscriptionSetIdsToPriority>
          <CouponsGroups>
            <SubscriptionCouponGroup xsi:nil="true" />
            <SubscriptionCouponGroup xsi:nil="true" />
          </CouponsGroups>
          <ExternalProductCodes>
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
          </ExternalProductCodes>
          <Type>NotApplicable or Base or AddOn</Type>
        </Subscription>
        <Subscription>
          <m_bIsInfiniteRecurring>boolean</m_bIsInfiniteRecurring>
          <m_bIsRecurring>boolean</m_bIsRecurring>
          <m_dStartDate>dateTime</m_dStartDate>
          <m_dEndDate>dateTime</m_dEndDate>
          <m_fictivicMediaID>int</m_fictivicMediaID>
          <m_MultiSubscriptionUsageModule>
            <UsageModule xsi:nil="true" />
            <UsageModule xsi:nil="true" />
          </m_MultiSubscriptionUsageModule>
          <m_nDomainLimitationModule>int</m_nDomainLimitationModule>
          <m_nNumberOfRecPeriods>int</m_nNumberOfRecPeriods>
          <m_oPreviewModule>
            <m_nID>long</m_nID>
            <m_tsFullLifeCycle>int</m_tsFullLifeCycle>
            <m_sName>string</m_sName>
            <m_tsNonRenewPeriod>int</m_tsNonRenewPeriod>
            <alias>string</alias>
          </m_oPreviewModule>
          <m_oSubscriptionPriceCode>
            <m_sDescription xsi:nil="true" />
            <m_nObjectID>int</m_nObjectID>
            <m_sCode>string</m_sCode>
            <m_oPrise xsi:nil="true" />
          </m_oSubscriptionPriceCode>
          <m_oSubscriptionUsageModule>
            <m_coupon_id>int</m_coupon_id>
            <m_tsMaxUsageModuleLifeCycle>int</m_tsMaxUsageModuleLifeCycle>
            <m_nObjectID>int</m_nObjectID>
            <m_bIsOfflinePlayBack>boolean</m_bIsOfflinePlayBack>
            <m_bWaiver>boolean</m_bWaiver>
            <m_nMaxNumberOfViews>int</m_nMaxNumberOfViews>
            <m_sVirtualName>string</m_sVirtualName>
            <m_tsViewLifeCycle>int</m_tsViewLifeCycle>
            <m_nWaiverPeriod>int</m_nWaiverPeriod>
            <m_is_renew>int</m_is_renew>
            <m_pricing_id>int</m_pricing_id>
            <m_num_of_rec_periods>int</m_num_of_rec_periods>
            <m_ext_discount_id>int</m_ext_discount_id>
            <m_internal_discount_id>int</m_internal_discount_id>
            <m_type>int</m_type>
            <m_subscription_only>int</m_subscription_only>
            <m_device_limit_id>int</m_device_limit_id>
          </m_oSubscriptionUsageModule>
          <m_Priority>long</m_Priority>
          <m_ProductCode>string</m_ProductCode>
          <m_sCodes>
            <BundleCodeContainer xsi:nil="true" />
            <BundleCodeContainer xsi:nil="true" />
          </m_sCodes>
          <m_sFileTypes>
            <int>int</int>
            <int>int</int>
          </m_sFileTypes>
          <m_sName>
            <LanguageContainer xsi:nil="true" />
            <LanguageContainer xsi:nil="true" />
          </m_sName>
          <m_GracePeriodMinutes>int</m_GracePeriodMinutes>
          <m_SubscriptionCode>string</m_SubscriptionCode>
          <m_UserTypes>
            <UserType xsi:nil="true" />
            <UserType xsi:nil="true" />
          </m_UserTypes>
          <BlockCancellation>boolean</BlockCancellation>
          <PreSaleDate>dateTime</PreSaleDate>
          <m_oExtDisountModule>
            <m_dEndDate>dateTime</m_dEndDate>
            <m_dPercent>double</m_dPercent>
            <m_dStartDate>dateTime</m_dStartDate>
            <m_eTheRelationType>And or Or</m_eTheRelationType>
            <m_oWhenAlgo xsi:nil="true" />
            <alias>string</alias>
          </m_oExtDisountModule>
          <n_GeoCommerceID>int</n_GeoCommerceID>
          <m_lServices>
            <ServiceObject xsi:nil="true" />
            <ServiceObject xsi:nil="true" />
          </m_lServices>
          <SubscriptionSetIdsToPriority>
            <KeyValuePair xsi:nil="true" />
            <KeyValuePair xsi:nil="true" />
          </SubscriptionSetIdsToPriority>
          <CouponsGroups>
            <SubscriptionCouponGroup xsi:nil="true" />
            <SubscriptionCouponGroup xsi:nil="true" />
          </CouponsGroups>
          <ExternalProductCodes>
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
            <KeyValuePairOfVerificationPaymentGatewayString xsi:nil="true" />
          </ExternalProductCodes>
          <Type>NotApplicable or Base or AddOn</Type>
        </Subscription>
      </GetSubscriptionsByProductCodesResult>
    </GetSubscriptionsByProductCodesResponse>
  </soap12:Body>
</soap12:Envelope>