public function LoadNotifications($statuses, $from = null, $to = null, $limit = 0, $offset = 0, array $messageCategory = array(), $useStatusChangeDate = false, $notificationType = \ElasticEmailEnums\NotificationType::All) {
        return $this->sendRequest('log/loadnotifications', array(
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'from' => $from,
                    'to' => $to,
                    'limit' => $limit,
                    'offset' => $offset,
                    'messageCategory' => (count($messageCategory) === 0) ? null : join(';', $messageCategory),
                    'useStatusChangeDate' => $useStatusChangeDate,
                    'notificationType' => $notificationType
        ));
    }
public function LoadNotifications($statuses, $from = null, $to = null, $limit = 0, $offset = 0, array $messageCategory = array(), $useStatusChangeDate = false, $notificationType = \ElasticEmailEnums\NotificationType::All) {
        return $this->sendRequest('log/loadnotifications', array(
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'from' => $from,
                    'to' => $to,
                    'limit' => $limit,
                    'offset' => $offset,
                    'messageCategory' => (count($messageCategory) === 0) ? null : join(';', $messageCategory),
                    'useStatusChangeDate' => $useStatusChangeDate,
                    'notificationType' => $notificationType
        ));
    }
public function LoadNotifications ( $ statuses , $ from = null , $ to = null , $ limit = 0 , $ offset = 0 , array $ messageCategory = array ( ) , $ useStatusChangeDate = false , $ notificationType = \ ElasticEmailEnums \ NotificationType :: All ) { return $ this -> sendRequest ( 'log/loadnotifications' , array ( 'statuses' => ( count ( $ statuses ) === 0 ) ? null : join ( ';' , $ statuses ) , 'from' => $ from , 'to' => $ to , 'limit' => $ limit , 'offset' => $ offset , 'messageCategory' => ( count ( $ messageCategory ) === 0 ) ? null : join ( ';' , $ messageCategory ) , 'useStatusChangeDate' => $ useStatusChangeDate , 'notificationType' => $ notificationType ) ) ; }
Returns notification logs filtered by specified parameters.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param array<\ElasticEmailEnums\LogJobStatus> $statuses List of comma separated message statuses: 0 for all, 1 for ReadyToSend, 2 for InProgress, 4 for Bounced, 5 for Sent, 6 for Opened, 7 for Clicked, 8 for Unsubscribed, 9 for Abuse Report
@param ?DateTime $from Starting date for search in YYYY-MM-DDThh:mm:ss format.
@param ?DateTime $to Ending date for search in YYYY-MM-DDThh:mm:ss format.
@param int $limit Maximum of loaded items.
@param int $offset How many items should be loaded ahead.
@param array<\ElasticEmailEnums\MessageCategory> $messageCategory ID of message category
@param bool $useStatusChangeDate True, if 'from' and 'to' parameters should resolve to the Status Change date. To resolve to the creation date - false
@param \ElasticEmailEnums\NotificationType $notificationType
@return \ElasticEmailEnums\Log
Returns notification logs filtered by specified parameters .