src/XQueue/Maileon/API/Reports/ReportsService.php
function getClicks(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $formatFilter = null,
        $linkIdFilter = null,
        $linkUrlFilter = null,
        $linkTagFilter = null,
        $socialNetworkFilter = null,
        $deviceTypeFilter = null,
        $embedEmailClientInfos = false,
        $excludeAnonymousClicks = false,
        $standardFields = null,
        $customFields = null,
        $embedFieldBackups = false,
        $pageIndex = 1,
        $pageSize = 100,
        $embedLinkTags = false)
    {

        $params = $this->createQueryParameters($pageIndex, $pageSize, $fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null, $embedFieldBackups);

        $params = $this->appendArrayFields($params, "standard_field", $standardFields);
        $params = $this->appendArrayFields($params, "custom_field", $customFields);
        if (isset($embedEmailClientInfos)) $params['embed_email_client_infos'] = ($embedEmailClientInfos == true) ? "true" : "false";
        if (isset($embedLinkTags)) $params['embed_link_tags'] = ($embedLinkTags == true) ? "true" : "false";
        if (isset($excludeAnonymousClicks)) $params['exclude_anonymous_clicks'] = ($excludeAnonymousClicks == true) ? "true" : "false";

        if (isset($formatFilter)) $params['format'] = $formatFilter;
        $params = $this->appendArrayFields($params, "link_id", $linkIdFilter);
        if (isset($linkUrlFilter)) $params['link_url'] = $linkUrlFilter;
        $params = $this->appendArrayFields($params, "link_tag", $linkTagFilter);
        $params = $this->appendArrayFields($params, "social_network", $socialNetworkFilter);
        $params = $this->appendArrayFields($params, "device_type", $deviceTypeFilter);

        return $this->get('reports/clicks', $params);
    }
function getClicks(
        $fromDate = null,
        $toDate = null,
        $mailingIds = null,
        $contactIds = null,
        $contactEmails = null,
        $contactExternalIds = null,
        $formatFilter = null,
        $linkIdFilter = null,
        $linkUrlFilter = null,
        $linkTagFilter = null,
        $socialNetworkFilter = null,
        $deviceTypeFilter = null,
        $embedEmailClientInfos = false,
        $excludeAnonymousClicks = false,
        $standardFields = null,
        $customFields = null,
        $embedFieldBackups = false,
        $pageIndex = 1,
        $pageSize = 100,
        $embedLinkTags = false)
    {

        $params = $this->createQueryParameters($pageIndex, $pageSize, $fromDate, $toDate, $contactIds, $contactEmails, $contactExternalIds, $mailingIds, null, $embedFieldBackups);

        $params = $this->appendArrayFields($params, "standard_field", $standardFields);
        $params = $this->appendArrayFields($params, "custom_field", $customFields);
        if (isset($embedEmailClientInfos)) $params['embed_email_client_infos'] = ($embedEmailClientInfos == true) ? "true" : "false";
        if (isset($embedLinkTags)) $params['embed_link_tags'] = ($embedLinkTags == true) ? "true" : "false";
        if (isset($excludeAnonymousClicks)) $params['exclude_anonymous_clicks'] = ($excludeAnonymousClicks == true) ? "true" : "false";

        if (isset($formatFilter)) $params['format'] = $formatFilter;
        $params = $this->appendArrayFields($params, "link_id", $linkIdFilter);
        if (isset($linkUrlFilter)) $params['link_url'] = $linkUrlFilter;
        $params = $this->appendArrayFields($params, "link_tag", $linkTagFilter);
        $params = $this->appendArrayFields($params, "social_network", $socialNetworkFilter);
        $params = $this->appendArrayFields($params, "device_type", $deviceTypeFilter);

        return $this->get('reports/clicks', $params);
    }
Returns a page of clickers.

@param long $fromDate
If provided, only the clickers 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 clickers 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 clickers by mailings. Each value must correspond to a mailing id.
@param array $contactIds
Multivalued parameter to filter the clickers by contacts. Each value must correspond to a contact id.
@param array $contactEmails
Multivalued parameter to filter the clickers by email addresses.
@param array $contactExternalIds
Multivalued parameter to filter the clickers by external ids. Each value must correspond to a contacts external id.
@param string $formatFilter
Filters the opens by format. Possible values are: html / text.
@param array $linkIdFilter
Multivalued parameter to filter the clicks by links. Each value must correspond to a link id.
@param string $linkUrlFilter
Filters the clicks by link url.
@param array $linkTagFilter
Multivalued parameter to filter the clicks by tags associated to the links.
@param array $socialNetworkFilter
Multivalued parameter to filter the opens by the social networks where they occurred.
@param array $deviceTypeFilter
Multivalued parameter to filter the opens by device type. Possible values for device_type are: UNKNOWN / COMPUTER / TABLET / MOBILE
@param bool $embedEmailClientInfos
If the set to true, available email client details will be appended to each open.
@param bool $excludeAnonymousClicks
If this is set to true (default), only clicks that have not yet been anonymized (due to deletion/unsubscription) are returned.
@param bool $standardFields
The list of standard contact fields to return.
@param bool $customFields
The list of custom contact fields to return.
@param bool $embedFieldBackups
Supported values: true / false. Field Backups are the values of contact fields that have been backed up for mailings because of a backup instruction. For each unsubscription, the corresponding field backups will be returned if available. Note that this only applies for non anonymizable field backups.
@param integer $pageIndex
The index of the result page. The index must be greater or equal to 1.
@param integer $pageSize
The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000.
@param bool $embedLinkTags
If the set to true, available link tags will be appended to each click.
@return com_maileon_api_Page