![]() |
ConstantContact iOS SDK
|
#import <ActivityService.h>
Performs all actions pertaining to scheduling Constant Contact Activities
+ (HttpResponse *) addClearListActivityWithToken: | (NSString *) | accessToken | |
andLists: | (NSArray *) | lists | |
Create a Clear Lists Activity
NSString | *accessToken - Constant Contact OAuth2 access token |
NSArray | *clearLists - Array of list id's to be cleared |
+ (HttpResponse *) addContactsMultipartWithToken: | (NSString *) | accessToken | |
withFile: | (NSString *) | file | |
toLists: | (NSString *) | lists | |
Create a add Contacts Activity using file information
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *fileName - the file path that will be looked up for the file |
NSString | *lists - the list in which the contacts will be added,list elements must be separated by commas |
+ (HttpResponse *) addExportContactsActivityWithToken: | (NSString *) | accessToken | |
andExportContacts: | (ExportContacts *) | exportContacts | |
Create an Export Contacts Activity
NSString | *accessToken - Constant Contact OAuth2 access token |
ExportContacts | *exportContacts - the contacts that need exported |
+ (HttpResponse *) addRemoveContactsFromListsActivityWithToken: | (NSString *) | accessToken | |
emailAddresses: | (NSArray *) | emailAddresses | |
andLists: | (NSArray *) | lists | |
Create a Remove Contacts From Lists Activity
NSString | *accessToken - Constant Contact OAuth2 access token |
NSArray | *emailAddressed - the array of email addresses to specify which contacts will be removed |
NSArray | *lists - the list from which to remove the contacts |
+ (HttpResponse *) createAddContactsActivityWithToken: | (NSString *) | accessToken | |
andContacts: | (AddContacts *) | addContacts | |
Create an Add Contacts Activity
NSString | *accessToken - Constant Contact OAuth2 access token |
AddContacts | *addContact - the contacts that will be added with the activity |
+ (HttpResponse *) getActivitesWithToken: | (NSString *) | accessToken |
Get an array of activities
NSString | *accessToken - Constant Contact OAuth2 access token |
+ (HttpResponse *) getActivityWithToken: | (NSString *) | accessToken | |
andActivityId: | (NSString *) | activityId | |
Get an specific activity
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *activityId - Activity id |
+ (HttpResponse *) getActivityWithToken: | (NSString *) | accessToken | |
status: | (NSString *) | status | |
andType: | (NSString *) | type | |
Retrieves a detailed activity based on the parameters sent
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *status - the status filter of the activity |
NSString | *type - the type filter of the activity |
+ (HttpResponse *) getStatusReportForLast50Activites: | (NSString *) | accessToken |
Retrieves the last 50 activites reports
NSString | *accessToken - Constant Contact OAuth2 access token |
+ (HttpResponse *) removeContactsMultipartWithToken: | (NSString *) | accessToken | |
withFile: | (NSString *) | file | |
fromLists: | (NSString *) | lists | |
Create a remove Contacts Activity using file information
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *fileName - the file path that will be looked up for the file |
NSString | *lists - the list in which the contacts will be removed, list elements must be separated by commas |