SpreadWebServcie.GetCampaignUnsubscribes Method

 

下面例子演示了如何获取邮件活动取消订阅的详细.

参数

参数

类型

描述

loginEmail

String

Spread账号的登录邮箱.

password

String

Spread账号的密码或者API Key.

campaignId

String

邮件活动ID.

startDate

DateTime

报告的起始时间.

endDate

DateTime

报告的截止时间.

返回结果

Dataset 包含一个单表,行 subscriber_email and date

例子

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)

参见

SpreadWebService Class | Spread Web Service Namespace