Here an example in LINQPad of the usage of ActiveCampaign Nuget package

using (var connection = new ActiveCampaignConnection("https://XXX.api-us1.com", "API_KEY"))
	{		
		var automationQueryClient = new EyeSoft.ActiveCampaign.Query.Automation.AutomationQueryClient(connection);
		
		automationQueryClient.GetAll().Dump();
		
		automationQueryClient.Contacts(5).Dump();
		
		var contactQueryClient = new ContactQueryClient(connection);
		
		contactQueryClient.Automations("account@mail.com").Dump();
	}


You can find a query and commanding class for each HTTP REST resource resource as in the official documentation of ActiveCampaign.

If you have more questions visit our .NET company website.

Last edited Aug 27, 2016 at 10:08 PM by teoarch, version 1

Comments

No comments yet.