![]() |
ConstantContact iOS SDK
|
#import <CampaignScheduleService.h>
Performs all actions pertaining to scheduling Constant Contact Campaigns
+ (HttpResponse *) addScheduleWithAccesToken: | (NSString *) | accessToken | |
campaignId: | (NSString *) | campaignId | |
andSchedule: | (Schedule *) | schedule | |
Create a new schedule for a campaign
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *campaignId - Campaign id to be scheduled |
Schedule | *schedule - Schedule to be created |
+ (BOOL) deleteScheduleWithAccesToken: | (NSString *) | accessToken | |
campaignId: | (NSString *) | campaignId | |
andScheduleId: | (NSString *) | scheduleId | |
errors: | (NSArray **) | errors | |
+ (HttpResponse *) getSchedulesWithAccesToken: | (NSString *) | accessToken | |
andCampaignId: | (NSString *) | campaignId | |
Get a list of schedules for a campaign
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *campaignId - id of the Campaign to which we want to see the schedules |
+ (HttpResponse *) getScheduleWithAccesToken: | (NSString *) | accessToken | |
campaignId: | (NSString *) | campaignId | |
andScheduleId: | (NSString *) | scheduleId | |
Get a specific schedule for a campaign
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *campaignId - id of the Campaign to which we want to see the schedules |
NSString | *scheudleId - id of the Schedule we want to see |
+ (HttpResponse *) sendTestWithAccesToken: | (NSString *) | accessToken | |
campaignId: | (NSString *) | campaignId | |
andTestSend: | (TestSend *) | testSend | |
Send a test send of a campaign
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *campaignId - id of the Campaign to which we want to see the schedules |
TestSend | *testSend - Test send details |
+ (HttpResponse *) updateScheduleWithAccesToken: | (NSString *) | accessToken | |
campaignId: | (NSString *) | campaignId | |
andSchedule: | (Schedule *) | schedule | |
Update a specific schedule for a campaign
NSString | *accessToken - Constant Contact OAuth2 access token |
NSString | *campaignId - id of the Campaign to which we want to see the schedules |
Schedule | *schedule - Schedule to update |