Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -1665,10 +1665,12 @@ public class swiftApi { | ... | @@ -1665,10 +1665,12 @@ public class swiftApi { |
1665 | + "&WAVE=" + (campaign._wave) | 1665 | + "&WAVE=" + (campaign._wave) |
1666 | + "&VALIDITY=" + (campaign._validity) | 1666 | + "&VALIDITY=" + (campaign._validity) |
1667 | + "&TREATMENT_CODE=" + (campaign._treatmentCode) | 1667 | + "&TREATMENT_CODE=" + (campaign._treatmentCode) |
1668 | - + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") | 1668 | + + "&OfferAudienceLevel=" + (campaign._offerAudienceLevel) |
1669 | + "&ASSETS=" + (assetsString) | 1669 | + "&ASSETS=" + (assetsString) |
1670 | + "&ZONE=" + (campaign._zone); | 1670 | + "&ZONE=" + (campaign._zone); |
1671 | 1671 | ||
1672 | + // + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") | ||
1673 | + | ||
1672 | print("constructCcmsUrl url: " + finalUrl) | 1674 | print("constructCcmsUrl url: " + finalUrl) |
1673 | return finalUrl | 1675 | return finalUrl |
1674 | break; | 1676 | break; |
... | @@ -1726,10 +1728,11 @@ public class swiftApi { | ... | @@ -1726,10 +1728,11 @@ public class swiftApi { |
1726 | + "&WAVE=" + (ccmsCampaign._wave) | 1728 | + "&WAVE=" + (ccmsCampaign._wave) |
1727 | + "&VALIDITY=" + (ccmsCampaign._validity) | 1729 | + "&VALIDITY=" + (ccmsCampaign._validity) |
1728 | + "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode) | 1730 | + "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode) |
1729 | - + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") | 1731 | + + "&OfferAudienceLevel=" + (ccmsCampaign._offerAudienceLevel) |
1730 | + "&ASSETS=" + (assetsString) | 1732 | + "&ASSETS=" + (assetsString) |
1731 | + "&ZONE=" + (ccmsCampaign._zone); | 1733 | + "&ZONE=" + (ccmsCampaign._zone); |
1732 | 1734 | ||
1735 | + // + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") | ||
1733 | print("constructCcmsUrl url: " + finalUrl) | 1736 | print("constructCcmsUrl url: " + finalUrl) |
1734 | return finalUrl | 1737 | return finalUrl |
1735 | } | 1738 | } | ... | ... |
-
Please register or login to post a comment