Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-21 17:07:12 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f348089dcfdfde0bfe2f7615a1580e42dd656da0
f348089d
1 parent
3ba0c131
fix postEvent
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
f348089
...
...
@@ -1031,7 +1031,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
//all parameters here : https://docs.google.com/spreadsheets/d/1kGtjZjO70EdygZxcRbwPBc5niNWEVl2bpl8RtCy5Bak/edit#gid=51763182
-
(
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
{
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"
:
@[
NSDictionary
*
postDictionary
=
@{
@"consumer_data"
:
@{
@"method"
:
@"postEvent"
,
@"action"
:
@"integration"
,
@"data"
:
@{
@"InteractiveChannel"
:
@"COSMOTE_OMNI"
,
@"InteractionPoint"
:
ZONE
,
@"Session_ID"
:
Session_ID
,
@"OfferAudienceLevel"
:
OfferAudienceLevel
,
@"MSISDN"
:
msisdn
,
@"GUID"
:
@""
,
@"parameters"
:
@[
@{
@"Name"
:
@"UACIOfferTrackingCode"
,
@"Value"
:
UACIOfferTrackingCode
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"UACICustomLoggerTableName"
,
@"Value"
:
@"VW_WHITELIST"
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"MSISDN"
,
@"Value"
:
msisdn
,
@"Type"
:
@"string"
},
...
...
@@ -1039,7 +1039,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
@{
@"Name"
:
@"SCORE"
,
@"Value"
:
SCORE
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"PREDICATE"
,
@"Value"
:
@"0"
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"ZONE"
,
@"Value"
:
ZONE
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"APPLICATIONNAME"
,
@"Value"
:
@"COSMOTE_APP_GIFTS4U"
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"APPLICATIONNAME"
,
@"Value"
:
ZONE
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"Session_ID"
,
@"Value"
:
Session_ID
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"CAMPAIGN_CODE"
,
@"Value"
:
@"MCC_00006"
,
@"Type"
:
@"string"
},
@{
@"Name"
:
@"CAMPAIGN_TYPE"
,
@"Value"
:
@"Inbound"
,
@"Type"
:
@"string"
},
...
...
Please
register
or
login
to post a comment