mailjet / mailjet-apiv3-java

[API v3] Mailjet Java API Wrapper
https://dev.mailjet.com
MIT License
66 stars 36 forks source link

Campaigns / Newsletters #19

Closed ODGithub closed 8 years ago

ODGithub commented 9 years ago

Greetings again There are some issues regarding campaigns and newsletters. If there ain't any, maybe its my misunderstanding of their practical use. I had sent some time ago 2 newsletters for testing purposes and none appeared as they should have, when i called Campaign.LIST through your API library. Today i sent 2 from your platform and as a result, Campaign.LIST shows 2 and Newsletter.LIST returns 1. The one Newsletter is the same as the one Campaign returned.

Resuming, now i have 2 Drafts and 4 Sent at the Campaigns section, the Campaigns.LIST shows 2 and no draft from those, and Newsletter only 1 (instead of how many as there seems to a dinstiction between newsletters and campaigns?) which is the same as 1 of the 2 Campaigns

Thank you OD

ODGithub commented 9 years ago

Today, executing https://api.mailjet.com/v3/REST/campaign with the right authentication, i get { "Count" : 0, "Data" : [], "Total" : 0 } .... and by the https://api.mailjet.com/v3/REST/newsletter { "Count" : 1, "Data" : [{ "AXFraction" : 0, "AXFractionName" : "", "Callback" : "", "ContactsListID" : 1, "CreatedAt" : "2015-09-22T13:43:11Z", "DeliveredAt" : "2015-09-22T13:44:28Z", "EditMode" : "tool", "EditType" : "full", "Footer" : "default", "FooterAddress" : "O****_as\n", "FooterWYSIWYGType" : 1, "HeaderFilename" : "", "HeaderLink" : "http:\/\/", "HeaderText" : " Click here to edit ", "HeaderUrl" : "", "ID" : 3522521, "Ip" : "", "IsHandled" : true, "IsStarred" : false, "IsTextPartIncluded" : false, "Locale" : "enUS", "ModifiedAt" : "", "Permalink" : "default", "PermalinkHost" : "", "PermalinkWYSIWYGType" : 0, "PolitenessMode" : 1, "Sender" : "1", "SenderEmail" : "n****_.com", "SenderName" : "N_e", "Status" : 2, "Subject" : "A second test", "TestAddress" : "", "Title" : "A second test", "Url" : "http:****.html" }], "Total" : 1 }

Completely not normal in my opinion.