IEmailCampaignService GetCampaigns Method (String, String, Nullable CampaignStatus , Nullable Int32 , Nullable DateTime ) CTCT Wrapper Documented Class Library
Get a set of campaigns.

Namespace: CTCT.Services
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

ResultSet<EmailCampaign> GetCampaigns(
	string accessToken,
	string apiKey,
	Nullable<CampaignStatus> status,
	Nullable<int> limit,
	Nullable<DateTime> modifiedSince
)

Parameters

accessToken
Type: System String
Access token.
apiKey
Type: System String
The API key for the application
status
Type: System Nullable CampaignStatus 
Returns list of email campaigns with specified status.
limit
Type: System Nullable Int32 
Specifies the number of results per page in the output, from 1 - 500, default = 500.
modifiedSince
Type: System Nullable DateTime 
limit campaigns to campaigns modified since the supplied date

Return Value

Returns a list of campaigns.
See Also