module
Click here for a complete list of operations.
GetItemsPricesWithCouponsByIP
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/GetItemsPricesWithCouponsByIP" <?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> <GetItemsPricesWithCouponsByIP xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <nMediaFiles> <int>int</int> <int>int</int> </nMediaFiles> <sUserGUID>string</sUserGUID> <sCouponCode>string</sCouponCode> <bOnlyLowest>boolean</bOnlyLowest> <sCountryCd2>string</sCountryCd2> <sLanguageCode3>string</sLanguageCode3> <sDeviceName>string</sDeviceName> <sClientIP>string</sClientIP> </GetItemsPricesWithCouponsByIP> </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> <GetItemsPricesWithCouponsByIPResponse xmlns="http://ca.tvinci.com/"> <GetItemsPricesWithCouponsByIPResult> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer xsi:nil="true" /> <ItemPriceContainer xsi:nil="true" /> </m_oItemPrices> </MediaFileItemPricesContainer> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer xsi:nil="true" /> <ItemPriceContainer xsi:nil="true" /> </m_oItemPrices> </MediaFileItemPricesContainer> </GetItemsPricesWithCouponsByIPResult> </GetItemsPricesWithCouponsByIPResponse> </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> <GetItemsPricesWithCouponsByIP xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <nMediaFiles> <int>int</int> <int>int</int> </nMediaFiles> <sUserGUID>string</sUserGUID> <sCouponCode>string</sCouponCode> <bOnlyLowest>boolean</bOnlyLowest> <sCountryCd2>string</sCountryCd2> <sLanguageCode3>string</sLanguageCode3> <sDeviceName>string</sDeviceName> <sClientIP>string</sClientIP> </GetItemsPricesWithCouponsByIP> </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> <GetItemsPricesWithCouponsByIPResponse xmlns="http://ca.tvinci.com/"> <GetItemsPricesWithCouponsByIPResult> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer xsi:nil="true" /> <ItemPriceContainer xsi:nil="true" /> </m_oItemPrices> </MediaFileItemPricesContainer> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer xsi:nil="true" /> <ItemPriceContainer xsi:nil="true" /> </m_oItemPrices> </MediaFileItemPricesContainer> </GetItemsPricesWithCouponsByIPResult> </GetItemsPricesWithCouponsByIPResponse> </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/GetItemsPricesWithCouponsByIP HTTP/1.1 Host: extws.sgs1.ott.kaltura.com Content-Type: application/x-www-form-urlencoded Content-Length: length sWSUserName=string&sWSPassword=string&nMediaFiles=string&nMediaFiles=string&sUserGUID=string&sCouponCode=string&bOnlyLowest=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"?> <ArrayOfMediaFileItemPricesContainer xmlns="http://ca.tvinci.com/"> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer> <m_relevantCol d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtEndDate>dateTime</m_dtEndDate> <m_dtDiscountEndDate>dateTime</m_dtDiscountEndDate> <m_sFirstDeviceNameFound>string</m_sFirstDeviceNameFound> <m_oFullPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_bCancelWindow>boolean</m_bCancelWindow> <m_bSubscriptionOnly>boolean</m_bSubscriptionOnly> <m_oPPVDescription d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sPPVModuleCode>string</m_sPPVModuleCode> <m_relevantPP d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_oPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_lPurchasedMediaFileID>int</m_lPurchasedMediaFileID> <m_sPurchasedBySiteGuid>string</m_sPurchasedBySiteGuid> <m_lRelatedMediaFileIDs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtStartDate>dateTime</m_dtStartDate> <m_relevantSub d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sProductCode>string</m_sProductCode> <PromotionInfo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <OriginalPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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> <m_couponStatus>Valid or NotExists or AllreadyUsed or IrrelevantCode or Expired or NotActive</m_couponStatus> </ItemPriceContainer> <ItemPriceContainer> <m_relevantCol d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtEndDate>dateTime</m_dtEndDate> <m_dtDiscountEndDate>dateTime</m_dtDiscountEndDate> <m_sFirstDeviceNameFound>string</m_sFirstDeviceNameFound> <m_oFullPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_bCancelWindow>boolean</m_bCancelWindow> <m_bSubscriptionOnly>boolean</m_bSubscriptionOnly> <m_oPPVDescription d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sPPVModuleCode>string</m_sPPVModuleCode> <m_relevantPP d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_oPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_lPurchasedMediaFileID>int</m_lPurchasedMediaFileID> <m_sPurchasedBySiteGuid>string</m_sPurchasedBySiteGuid> <m_lRelatedMediaFileIDs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtStartDate>dateTime</m_dtStartDate> <m_relevantSub d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sProductCode>string</m_sProductCode> <PromotionInfo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <OriginalPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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> <m_couponStatus>Valid or NotExists or AllreadyUsed or IrrelevantCode or Expired or NotActive</m_couponStatus> </ItemPriceContainer> </m_oItemPrices> </MediaFileItemPricesContainer> <MediaFileItemPricesContainer> <m_sProductCode>string</m_sProductCode> <m_nMediaFileID>int</m_nMediaFileID> <m_oItemPrices> <ItemPriceContainer> <m_relevantCol d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtEndDate>dateTime</m_dtEndDate> <m_dtDiscountEndDate>dateTime</m_dtDiscountEndDate> <m_sFirstDeviceNameFound>string</m_sFirstDeviceNameFound> <m_oFullPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_bCancelWindow>boolean</m_bCancelWindow> <m_bSubscriptionOnly>boolean</m_bSubscriptionOnly> <m_oPPVDescription d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sPPVModuleCode>string</m_sPPVModuleCode> <m_relevantPP d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_oPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_lPurchasedMediaFileID>int</m_lPurchasedMediaFileID> <m_sPurchasedBySiteGuid>string</m_sPurchasedBySiteGuid> <m_lRelatedMediaFileIDs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtStartDate>dateTime</m_dtStartDate> <m_relevantSub d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sProductCode>string</m_sProductCode> <PromotionInfo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <OriginalPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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> <m_couponStatus>Valid or NotExists or AllreadyUsed or IrrelevantCode or Expired or NotActive</m_couponStatus> </ItemPriceContainer> <ItemPriceContainer> <m_relevantCol d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtEndDate>dateTime</m_dtEndDate> <m_dtDiscountEndDate>dateTime</m_dtDiscountEndDate> <m_sFirstDeviceNameFound>string</m_sFirstDeviceNameFound> <m_oFullPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_bCancelWindow>boolean</m_bCancelWindow> <m_bSubscriptionOnly>boolean</m_bSubscriptionOnly> <m_oPPVDescription d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sPPVModuleCode>string</m_sPPVModuleCode> <m_relevantPP d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_oPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_lPurchasedMediaFileID>int</m_lPurchasedMediaFileID> <m_sPurchasedBySiteGuid>string</m_sPurchasedBySiteGuid> <m_lRelatedMediaFileIDs d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_dtStartDate>dateTime</m_dtStartDate> <m_relevantSub d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <m_sProductCode>string</m_sProductCode> <PromotionInfo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <OriginalPrice d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <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> <m_couponStatus>Valid or NotExists or AllreadyUsed or IrrelevantCode or Expired or NotActive</m_couponStatus> </ItemPriceContainer> </m_oItemPrices> </MediaFileItemPricesContainer> </ArrayOfMediaFileItemPricesContainer>