module
Click here for a complete list of operations.
GetSubscriptionsPricesWithCoupon
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 /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/GetSubscriptionsPricesWithCoupon" <?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> <GetSubscriptionsPricesWithCoupon xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <sSubscriptions> <string>string</string> <string>string</string> </sSubscriptions> <sUserGUID>string</sUserGUID> <sCouponCode>string</sCouponCode> <sCountryCd2>string</sCountryCd2> <sLanguageCode3>string</sLanguageCode3> <sDeviceName>string</sDeviceName> <sClientIP>string</sClientIP> </GetSubscriptionsPricesWithCoupon> </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> <GetSubscriptionsPricesWithCouponResponse xmlns="http://ca.tvinci.com/"> <GetSubscriptionsPricesWithCouponResult> <SubscriptionsPrices> <SubscriptionsPricesContainer> <m_sSubscriptionCode>string</m_sSubscriptionCode> <m_oPrice xsi:nil="true" /> <OriginalPrice xsi:nil="true" /> <endDate>long</endDate> <PromotionInfo xsi:nil="true" /> <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 xsi:nil="true" /> <OriginalPrice xsi:nil="true" /> <endDate>long</endDate> <PromotionInfo xsi:nil="true" /> <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> </SubscriptionsPrices> <Status> <Code>int</Code> <Message>string</Message> <Args> <KeyValuePair xsi:nil="true" /> <KeyValuePair xsi:nil="true" /> </Args> </Status> </GetSubscriptionsPricesWithCouponResult> </GetSubscriptionsPricesWithCouponResponse> </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> <GetSubscriptionsPricesWithCoupon xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <sSubscriptions> <string>string</string> <string>string</string> </sSubscriptions> <sUserGUID>string</sUserGUID> <sCouponCode>string</sCouponCode> <sCountryCd2>string</sCountryCd2> <sLanguageCode3>string</sLanguageCode3> <sDeviceName>string</sDeviceName> <sClientIP>string</sClientIP> </GetSubscriptionsPricesWithCoupon> </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> <GetSubscriptionsPricesWithCouponResponse xmlns="http://ca.tvinci.com/"> <GetSubscriptionsPricesWithCouponResult> <SubscriptionsPrices> <SubscriptionsPricesContainer> <m_sSubscriptionCode>string</m_sSubscriptionCode> <m_oPrice xsi:nil="true" /> <OriginalPrice xsi:nil="true" /> <endDate>long</endDate> <PromotionInfo xsi:nil="true" /> <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 xsi:nil="true" /> <OriginalPrice xsi:nil="true" /> <endDate>long</endDate> <PromotionInfo xsi:nil="true" /> <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> </SubscriptionsPrices> <Status> <Code>int</Code> <Message>string</Message> <Args> <KeyValuePair xsi:nil="true" /> <KeyValuePair xsi:nil="true" /> </Args> </Status> </GetSubscriptionsPricesWithCouponResult> </GetSubscriptionsPricesWithCouponResponse> </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/GetSubscriptionsPricesWithCoupon HTTP/1.1 Host: extws.sgs1.ott.kaltura.com Content-Type: application/x-www-form-urlencoded Content-Length: length sWSUserName=string&sWSPassword=string&sSubscriptions=string&sSubscriptions=string&sUserGUID=string&sCouponCode=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"?> <SubscriptionsPricesResponse xmlns="http://ca.tvinci.com/"> <SubscriptionsPrices> <SubscriptionsPricesContainer> <m_sSubscriptionCode>string</m_sSubscriptionCode> <m_oPrice> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oPrice> <OriginalPrice> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oPrice> <OriginalPrice> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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> </SubscriptionsPrices> <Status> <Code>int</Code> <Message>string</Message> <Args> <KeyValuePair> <key>string</key> <value>string</value> </KeyValuePair> <KeyValuePair> <key>string</key> <value>string</value> </KeyValuePair> </Args> </Status> </SubscriptionsPricesResponse>