diff --git a/lib/Api/EmailCampaignsApi.php b/lib/Api/EmailCampaignsApi.php index 88d2cff5..dfc644d7 100644 --- a/lib/Api/EmailCampaignsApi.php +++ b/lib/Api/EmailCampaignsApi.php @@ -1537,7 +1537,7 @@ protected function getEmailCampaignRequest($campaignId) * @param string $status Filter on the status of the campaign (optional) * @param string $startDate Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param string $endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) - * @param int $limit Number of documents per page (optional, default to 500) + * @param int $limit Number of documents per page (optional, default to 100, max value is 100) * @param int $offset Index of the first document in the page (optional, default to 0) * @param string $sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @@ -1545,7 +1545,7 @@ protected function getEmailCampaignRequest($campaignId) * @throws \InvalidArgumentException * @return \SendinBlue\Client\Model\GetEmailCampaigns */ - public function getEmailCampaigns($type = null, $status = null, $startDate = null, $endDate = null, $limit = '500', $offset = '0', $sort = 'desc') + public function getEmailCampaigns($type = null, $status = null, $startDate = null, $endDate = null, $limit = '100', $offset = '0', $sort = 'desc') { list($response) = $this->getEmailCampaignsWithHttpInfo($type, $status, $startDate, $endDate, $limit, $offset, $sort); return $response;