Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetEmailCampaign with empty recipients and statistics #118

Open
maxbraeutigam opened this issue Apr 21, 2022 · 3 comments
Open

GetEmailCampaign with empty recipients and statistics #118

maxbraeutigam opened this issue Apr 21, 2022 · 3 comments

Comments

@maxbraeutigam
Copy link

Hi all, if I am calling get_email_campaign() I am expecting an instance of GetEmailCampaign with recipients and statistics. According to the mentioned docs these should be of type GetSmsCampaignRecipients, which has no properties at all. Before, it had a property lists, which was an array of list ids associated with the campaign.

Where do I get an array of list ids for a CampaignId from?

@maxbraeutigam
Copy link
Author

maxbraeutigam commented Apr 21, 2022

This is the same bug as already reported and not fixed for the Ruby API.
sendinblue/APIv3-ruby-library#54

@maxbraeutigam
Copy link
Author

Minimal example:

console.log(`Get campaignId: 649`);
let emailCampaignsApi = new SibApiV3Sdk.EmailCampaignsApi();
let ret = await emailCampaignsApi.getEmailCampaign(649);
console.log(ret.recipients);

Returns:

Get campaignId: 649
exports {}

@shubhamUpadhyayInBlue
Copy link
Collaborator

Hi @maxbraeutigam
We are close to releasing a new version of our SDKs and we would try to fix this issue as well. We will keep you updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants