Send split test campaign to address book with progress

The SendSplitTestCampaignToAddressBookWithProgress method sends a split test campaign to a specified address book or address books and allows you to track the progress of the send.

Guidance Notes

The returned token (a GUID) can be used to query send progress by calling GetCampaignSendProgress.

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser-908709770324@apiconnector.com required
password string This is the password from your API key. required
campaignId id The ID number of the campaign you wish to send. required
addressBookIds array-int An array of the addressbooks you want to send the campaign to.
sendDate dateTime The date and time you wish the campaign to be sent (server time). required
testPercentage int This is the percentage of recipients you wish to test the campaign against and must be an integer between 1 and 60 (inclusive). required
testPeriodHours int This is the time period (number of hours) that you would like to split test the campaign over and must be an integer between 1 and 24 (inclusive). required
testMetric Opens or Clicks This determines whether you want to gauge the test based on opens or number of clicks in the campaign. required

Return values

result guid The returned token (a GUID) can be used to query send progress by calling GetCampaignSendProgres.

Error responses

  • ERROR_ADDRESSBOOK_NOT_FOUND
  • ERROR_CAMPAIGN_INVALID
  • ERROR_CAMPAIGN_NOT_FOUND
  • ERROR_CAMPAIGN_SENDNOTPERMITTED
  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_LOGIN
  • ERROR_PARAMETER_INVALID
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Example of use in C# .NET

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd