Get a set of campaigns.
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public ResultSet<EmailCampaign> GetCampaigns( string accessToken, string apiKey, Nullable<CampaignStatus> status, Nullable<int> limit, Nullable<DateTime> modifiedSince, Pagination pag )
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
- pag
- Type: CTCT.Components Pagination
Pagination object returned by a previous call to GetCampaigns
Return Value
Returns a ResultSet of campaigns.Implements
IEmailCampaignService GetCampaigns(String, String, Nullable CampaignStatus , Nullable Int32 , Nullable DateTime , Pagination)See Also