Hi , I am using following code...
AuthenticationDetails auth = new ApiKeyAuthenticationDetails(
var general = new General(auth);
var clients = general.Clients();
Client oClient = new Client(auth, "XXXXXXXXXXXXXXXXXXXXXXXXXX");
List<CampaignDetail> lstCampaigns = oClient.Campaigns().ToList<CampaignDetail>();
But lstCampaigns has count zero..While on site I have 1 or 2 Campaign present
Hi again Vishal, if these two campaigns are drafts (ie. have not been sent yet), you'll want to use our Drafts method instead. Campaigns is used to return sent campaigns only. Hope that helps!
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free