src/XQueue/Maileon/API/Reports/ReportsService.php
function getBouncesCount(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $statusCodeFilter = null,
        $typeFilter = null,
        $sourceFilter = null,
        $excludeAnonymousBounces = false)
    {

        $params = $this->createCountQueryParameters($fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null);

        if (isset($excludeAnonymousBounces)) $params['exclude_anonymous_bounces'] = ($excludeAnonymousBounces == true) ? "true" : "false";

        if (isset($typeFilter)) $params['type'] = $typeFilter;
        if (isset($sourceFilter)) $params['source_filter'] = $sourceFilter;

        return $this->get('reports/bounces/count', $params);
    }
function getBouncesCount(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $statusCodeFilter = null,
        $typeFilter = null,
        $sourceFilter = null,
        $excludeAnonymousBounces = false)
    {

        $params = $this->createCountQueryParameters($fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null);

        if (isset($excludeAnonymousBounces)) $params['exclude_anonymous_bounces'] = ($excludeAnonymousBounces == true) ? "true" : "false";

        if (isset($typeFilter)) $params['type'] = $typeFilter;
        if (isset($sourceFilter)) $params['source_filter'] = $sourceFilter;

        return $this->get('reports/bounces/count', $params);
    }
function getBouncesCount ( $ fromDate = null , $ toDate = null , $ mailingIds = null , $ contactIds = null , $ contactEmails = null , $ contactExternalIds = null , $ statusCodeFilter = null , $ typeFilter = null , $ sourceFilter = null , $ excludeAnonymousBounces = false ) { $ params = $ this -> createCountQueryParameters ( $ fromDate , $ toDate , $ contactIds , $ contactEmails , $ contactExternalIds , $ mailingIds , null ) ; if ( isset ( $ excludeAnonymousBounces ) ) $ params [ 'exclude_anonymous_bounces' ] = ( $ excludeAnonymousBounces == true ) ? "true" : "false" ; if ( isset ( $ typeFilter ) ) $ params [ 'type' ] = $ typeFilter ; if ( isset ( $ sourceFilter ) ) $ params [ 'source_filter' ] = $ sourceFilter ; return $ this -> get ( 'reports/bounces/count' , $ params ) ; }
Count bouncers.

@param long $fromDate
If provided, only the bouncers after the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds afterJanuary 1, 1970 00:00:00
@param long $toDate
If provided, only the bouncers before the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds afterJanuary 1, 1970 00:00:00
@param array $mailingIds
Multivalued parameter to filter the bouncers by mailings. Each value must correspond to a mailing id.
@param array $contactIds
Multivalued parameter to filter the bouncers by contacts. Each value must correspond to a contact id.
@param array $contactEmails
Multivalued parameter to filter the bouncers by email addresses.
@param array $contactExternalIds
Multivalued parameter to filter the bouncers by external ids. Each value must correspond to a contacts external id.
@param array $statusCodeFilter
Filters the bounces by status codes. Status codes follow the pattern digit.digit.digit (example: 5.0.0).
@param string $typeFilter
Filters the bounces by type: permanent / transient.
@param string $sourceFilter
Filters the bounces by their source: mta-listener / reply.
@param bool $excludeAnonymousBounces
If this is set to true (default), only bounces that have not yet been anonymized (due to deletion/unsubscription) are returned.
@return com_maileon_api_Page
Count bouncers .