admin管理员组文章数量:1122846
I am trying to get all email activity since some date but it is giving me data from months before the since date as well, here is my code:
$queryParams = array(
'fields' => null,
'exclude_fields' => 'emails.list_is_active,emails.email_id,emails.email_address,emails._links,_links',
'count' => 500,
'offset' => 0,
'since' => '2024-11-15T15:41:36+00:00'
);
$result = $client->reports->getEmailActivityForCampaign(
$campaignID,
$queryParams['fields'],
$queryParams['exclude_fields'],
$queryParams['count'],
$queryParams['offset'],
$queryParams['since']
);
The resulting array has dates from September 2024 in it.
You can find the documentation here
Am I missing something?
I tried setting 'since' => '2025-11-15T15:41:36+00:00' just for the heck of it and it still gave me records from this year. All the other query parameters are working fine.
本文标签: phpMailChimp query parameter 39since39 is not workingStack Overflow
版权声明:本文标题:php - MailChimp query parameter 'since' is not working - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736307824a1933445.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论