Manos Chorianopoulos

fix constructCcmsUrl

......@@ -1665,10 +1665,12 @@ public class swiftApi {
+ "&WAVE=" + (campaign._wave)
+ "&VALIDITY=" + (campaign._validity)
+ "&TREATMENT_CODE=" + (campaign._treatmentCode)
+ "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
+ "&OfferAudienceLevel=" + (campaign._offerAudienceLevel)
+ "&ASSETS=" + (assetsString)
+ "&ZONE=" + (campaign._zone);
// + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
print("constructCcmsUrl url: " + finalUrl)
return finalUrl
break;
......@@ -1726,10 +1728,11 @@ public class swiftApi {
+ "&WAVE=" + (ccmsCampaign._wave)
+ "&VALIDITY=" + (ccmsCampaign._validity)
+ "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode)
+ "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
+ "&OfferAudienceLevel=" + (ccmsCampaign._offerAudienceLevel)
+ "&ASSETS=" + (assetsString)
+ "&ZONE=" + (ccmsCampaign._zone);
// + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
print("constructCcmsUrl url: " + finalUrl)
return finalUrl
}
......