Manos Chorianopoulos

fix postEvent

...@@ -1031,7 +1031,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1031,7 +1031,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1031 //all parameters here : https://docs.google.com/spreadsheets/d/1kGtjZjO70EdygZxcRbwPBc5niNWEVl2bpl8RtCy5Bak/edit#gid=51763182 1031 //all parameters here : https://docs.google.com/spreadsheets/d/1kGtjZjO70EdygZxcRbwPBc5niNWEVl2bpl8RtCy5Bak/edit#gid=51763182
1032 - (void)postEventWithSuccessBlock:(NSString*)Session_ID :(NSString*)OfferAudienceLevel :(NSString*)msisdn :(NSString*)UACIOfferTrackingCode :(NSString*)OFFERCODE1 :(NSString*)SCORE :(NSString*)ZONE :(NSString*)WAVE :(NSString*)VALIDITY :(NSString*)TREATMENT_CODE :(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure 1032 - (void)postEventWithSuccessBlock:(NSString*)Session_ID :(NSString*)OfferAudienceLevel :(NSString*)msisdn :(NSString*)UACIOfferTrackingCode :(NSString*)OFFERCODE1 :(NSString*)SCORE :(NSString*)ZONE :(NSString*)WAVE :(NSString*)VALIDITY :(NSString*)TREATMENT_CODE :(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure
1033 { 1033 {
1034 - NSDictionary *postDictionary = @{@"consumer_data":@{@"method": @"postEvent", @"action": @"integration", @"data": @{@"InteractiveChannel": @"COSMOTE_OMNI", @"InteractionPoint": @"COSMOTE_APP_GIFTS4U", @"Session_ID": Session_ID, @"OfferAudienceLevel": OfferAudienceLevel, @"MSISDN": msisdn, @"GUID": @"", @"parameters": @[ 1034 + NSDictionary *postDictionary = @{@"consumer_data":@{@"method": @"postEvent", @"action": @"integration", @"data": @{@"InteractiveChannel": @"COSMOTE_OMNI", @"InteractionPoint": ZONE, @"Session_ID": Session_ID, @"OfferAudienceLevel": OfferAudienceLevel, @"MSISDN": msisdn, @"GUID": @"", @"parameters": @[
1035 @{@"Name": @"UACIOfferTrackingCode", @"Value": UACIOfferTrackingCode, @"Type": @"string"}, 1035 @{@"Name": @"UACIOfferTrackingCode", @"Value": UACIOfferTrackingCode, @"Type": @"string"},
1036 @{@"Name": @"UACICustomLoggerTableName", @"Value": @"VW_WHITELIST", @"Type": @"string"}, 1036 @{@"Name": @"UACICustomLoggerTableName", @"Value": @"VW_WHITELIST", @"Type": @"string"},
1037 @{@"Name": @"MSISDN", @"Value": msisdn, @"Type": @"string"}, 1037 @{@"Name": @"MSISDN", @"Value": msisdn, @"Type": @"string"},
...@@ -1039,7 +1039,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) ...@@ -1039,7 +1039,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
1039 @{@"Name": @"SCORE", @"Value": SCORE, @"Type": @"string"}, 1039 @{@"Name": @"SCORE", @"Value": SCORE, @"Type": @"string"},
1040 @{@"Name": @"PREDICATE", @"Value": @"0", @"Type": @"string"}, 1040 @{@"Name": @"PREDICATE", @"Value": @"0", @"Type": @"string"},
1041 @{@"Name": @"ZONE", @"Value": ZONE, @"Type": @"string"}, 1041 @{@"Name": @"ZONE", @"Value": ZONE, @"Type": @"string"},
1042 - @{@"Name": @"APPLICATIONNAME", @"Value": @"COSMOTE_APP_GIFTS4U", @"Type": @"string"}, 1042 + @{@"Name": @"APPLICATIONNAME", @"Value": ZONE, @"Type": @"string"},
1043 @{@"Name": @"Session_ID", @"Value": Session_ID, @"Type": @"string"}, 1043 @{@"Name": @"Session_ID", @"Value": Session_ID, @"Type": @"string"},
1044 @{@"Name": @"CAMPAIGN_CODE", @"Value": @"MCC_00006", @"Type": @"string"}, 1044 @{@"Name": @"CAMPAIGN_CODE", @"Value": @"MCC_00006", @"Type": @"string"},
1045 @{@"Name": @"CAMPAIGN_TYPE", @"Value": @"Inbound", @"Type": @"string"}, 1045 @{@"Name": @"CAMPAIGN_TYPE", @"Value": @"Inbound", @"Type": @"string"},
......