Manos Chorianopoulos

add zone at constructCcmsUrl

...@@ -1627,7 +1627,8 @@ public class swiftApi { ...@@ -1627,7 +1627,8 @@ public class swiftApi {
1627 + "&VALIDITY=" + (campaign._validity) 1627 + "&VALIDITY=" + (campaign._validity)
1628 + "&TREATMENT_CODE=" + (campaign._treatmentCode) 1628 + "&TREATMENT_CODE=" + (campaign._treatmentCode)
1629 + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") 1629 + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
1630 - + "&ASSETS=" + (assetsString); 1630 + + "&ASSETS=" + (assetsString)
1631 + + "&ZONE=" + (campaign._zone);
1631 1632
1632 print("constructCcmsUrl url: " + finalUrl) 1633 print("constructCcmsUrl url: " + finalUrl)
1633 return finalUrl 1634 return finalUrl
...@@ -1687,7 +1688,8 @@ public class swiftApi { ...@@ -1687,7 +1688,8 @@ public class swiftApi {
1687 + "&VALIDITY=" + (ccmsCampaign._validity) 1688 + "&VALIDITY=" + (ccmsCampaign._validity)
1688 + "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode) 1689 + "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode)
1689 + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID") 1690 + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
1690 - + "&ASSETS=" + (assetsString); 1691 + + "&ASSETS=" + (assetsString)
1692 + + "&ZONE=" + (ccmsCampaign._zone);
1691 1693
1692 print("constructCcmsUrl url: " + finalUrl) 1694 print("constructCcmsUrl url: " + finalUrl)
1693 return finalUrl 1695 return finalUrl
......