paintRequest:
contextId string : C-KFDsCMMHXpDUi0ltN0p3FvF
className string : bus_facade_eventNotification
processName string : methodName i.e. getBatch
entityData array : i.e. array('variableName' => value)
processData array : i.e. array('variableName' => value)
Name | Parameters | Description |
---|---|---|
getBatch | >Entity Data: notificationTypes = array("OPEN", "CLICK"), maxNotifications = 1000 markAsReadInd = Y |
Call this method to retrieve a batch of event notifications. Event notifications are read in reverse data order for the notification types selected. Note that notification data is returned in a base 64 encoded CSV format string. Each row in the string will contain the data relevant to the notification type as the the Pure Interfaces specification. notificationTypes is an array of the types of events to retrieve i.e. ("OPEN", "CLICK", "DELIVERYSTART"), maxNotifications dictates the size of the batch, markAsReadInd if set to Y then the events will be marked as collected and removed from the platform. |
paintRequest:
contextId string : C-KFDsCMMHXpDUi0ltN0p3FvF
className string : bus_facade_eventNotification
processName string : getBatch
entityData array : 'notificationTypes' => array:
"OPEN", "CLICK")
'maxNotifications' => 1000
'markAsReadInd' => "Y"
processData array : null
paintResponse:
Result array :
'result' => "success"
'resultData' => array:
'bus_entity_eventNotificationBatch' => array:
'eventCount'=>4
'eventMeta'=>array:
'CLICK' =>
"type,email,Message Name,Delivery Date,Click Url,Click Date"
'OPEN' =>
"type, email, messageName, deliveryDate"
'eventData'=>base64 encoded string
...other variables....