SpreadWebServcie.GetCampaignUnsubscribes Method

 

The following examples demonstrate how to get campaign unsubscribe detail.

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

password

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

campaignId

String

The ID of the email campaign.

startDate

DateTime

The starting time of report.

endDate

DateTime

The ending time of report.

Return Value

Dataset containing a single table with columns subscriber_email and date

Example

Dim loginName As String = "Spread@reasonables.com"
Dim loginPassword As String = "Spread"

Dim campaignID As Integer = 123456
// suggest dateTime string format "dd MMM yyyy HH:mm:ss" ,such as "22 Feb 2013 12:11:21" .
Dim startTime As DateTime = "22 Feb 2013 12:11:21"
Dim endTime As DateTime = "22 Feb 2013 12:11:21"

'Create a SpreadWebService object and use its method.
Dim MySpread As New SpreadWebService
Dim result As DataSet = MySpread.GetCampaignUnsubscribes(loginName, loginPassword, campaignID, startTime, endTime)

See Also

SpreadWebService Class | Spread Web Service Namespace